LCOV - code coverage report
Current view: top level - MapServer/build/mapscript/perl/CMakeFiles/perlmapscript.dir - mapscriptPERL5_wrap.c (source / functions) Hit Total Coverage
Test: mapserver.info Lines: 2051 21751 9.4 %
Date: 2020-10-05 13:05:40 Functions: 89 1253 7.1 %

          Line data    Source code
       1             : /* ----------------------------------------------------------------------------
       2             :  * This file was automatically generated by SWIG (http://www.swig.org).
       3             :  * Version 3.0.12
       4             :  *
       5             :  * This file is not intended to be easily readable and contains a number of
       6             :  * coding conventions designed to improve portability and efficiency. Do not make
       7             :  * changes to this file unless you know what you are doing--modify the SWIG
       8             :  * interface file instead.
       9             :  * ----------------------------------------------------------------------------- */
      10             : 
      11             : #ifdef _MSC_VER
      12             : #define SWIG_PYTHON_INTERPRETER_NO_DEBUG
      13             : #else
      14             : #define _GNU_SOURCE 1
      15             : #endif
      16             : 
      17             : 
      18             : 
      19             : #ifndef SWIGPERL
      20             : #define SWIGPERL
      21             : #endif
      22             : 
      23             : #define SWIG_CASTRANK_MODE
      24             : 
      25             : /* -----------------------------------------------------------------------------
      26             :  *  This section contains generic SWIG labels for method/variable
      27             :  *  declarations/attributes, and other compiler dependent labels.
      28             :  * ----------------------------------------------------------------------------- */
      29             : 
      30             : /* template workaround for compilers that cannot correctly implement the C++ standard */
      31             : #ifndef SWIGTEMPLATEDISAMBIGUATOR
      32             : # if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560)
      33             : #  define SWIGTEMPLATEDISAMBIGUATOR template
      34             : # elif defined(__HP_aCC)
      35             : /* Needed even with `aCC -AA' when `aCC -V' reports HP ANSI C++ B3910B A.03.55 */
      36             : /* If we find a maximum version that requires this, the test would be __HP_aCC <= 35500 for A.03.55 */
      37             : #  define SWIGTEMPLATEDISAMBIGUATOR template
      38             : # else
      39             : #  define SWIGTEMPLATEDISAMBIGUATOR
      40             : # endif
      41             : #endif
      42             : 
      43             : /* inline attribute */
      44             : #ifndef SWIGINLINE
      45             : # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
      46             : #   define SWIGINLINE inline
      47             : # else
      48             : #   define SWIGINLINE
      49             : # endif
      50             : #endif
      51             : 
      52             : /* attribute recognised by some compilers to avoid 'unused' warnings */
      53             : #ifndef SWIGUNUSED
      54             : # if defined(__GNUC__)
      55             : #   if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
      56             : #     define SWIGUNUSED __attribute__ ((__unused__))
      57             : #   else
      58             : #     define SWIGUNUSED
      59             : #   endif
      60             : # elif defined(__ICC)
      61             : #   define SWIGUNUSED __attribute__ ((__unused__))
      62             : # else
      63             : #   define SWIGUNUSED
      64             : # endif
      65             : #endif
      66             : 
      67             : #ifndef SWIG_MSC_UNSUPPRESS_4505
      68             : # if defined(_MSC_VER)
      69             : #   pragma warning(disable : 4505) /* unreferenced local function has been removed */
      70             : # endif
      71             : #endif
      72             : 
      73             : #ifndef SWIGUNUSEDPARM
      74             : # ifdef __cplusplus
      75             : #   define SWIGUNUSEDPARM(p)
      76             : # else
      77             : #   define SWIGUNUSEDPARM(p) p SWIGUNUSED
      78             : # endif
      79             : #endif
      80             : 
      81             : /* internal SWIG method */
      82             : #ifndef SWIGINTERN
      83             : # define SWIGINTERN static SWIGUNUSED
      84             : #endif
      85             : 
      86             : /* internal inline SWIG method */
      87             : #ifndef SWIGINTERNINLINE
      88             : # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
      89             : #endif
      90             : 
      91             : /* exporting methods */
      92             : #if defined(__GNUC__)
      93             : #  if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
      94             : #    ifndef GCC_HASCLASSVISIBILITY
      95             : #      define GCC_HASCLASSVISIBILITY
      96             : #    endif
      97             : #  endif
      98             : #endif
      99             : 
     100             : #ifndef SWIGEXPORT
     101             : # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
     102             : #   if defined(STATIC_LINKED)
     103             : #     define SWIGEXPORT
     104             : #   else
     105             : #     define SWIGEXPORT __declspec(dllexport)
     106             : #   endif
     107             : # else
     108             : #   if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
     109             : #     define SWIGEXPORT __attribute__ ((visibility("default")))
     110             : #   else
     111             : #     define SWIGEXPORT
     112             : #   endif
     113             : # endif
     114             : #endif
     115             : 
     116             : /* calling conventions for Windows */
     117             : #ifndef SWIGSTDCALL
     118             : # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
     119             : #   define SWIGSTDCALL __stdcall
     120             : # else
     121             : #   define SWIGSTDCALL
     122             : # endif
     123             : #endif
     124             : 
     125             : /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
     126             : #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE)
     127             : # define _CRT_SECURE_NO_DEPRECATE
     128             : #endif
     129             : 
     130             : /* Deal with Microsoft's attempt at deprecating methods in the standard C++ library */
     131             : #if !defined(SWIG_NO_SCL_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_SCL_SECURE_NO_DEPRECATE)
     132             : # define _SCL_SECURE_NO_DEPRECATE
     133             : #endif
     134             : 
     135             : /* Deal with Apple's deprecated 'AssertMacros.h' from Carbon-framework */
     136             : #if defined(__APPLE__) && !defined(__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES)
     137             : # define __ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES 0
     138             : #endif
     139             : 
     140             : /* Intel's compiler complains if a variable which was never initialised is
     141             :  * cast to void, which is a common idiom which we use to indicate that we
     142             :  * are aware a variable isn't used.  So we just silence that warning.
     143             :  * See: https://github.com/swig/swig/issues/192 for more discussion.
     144             :  */
     145             : #ifdef __INTEL_COMPILER
     146             : # pragma warning disable 592
     147             : #endif
     148             : 
     149             : /* -----------------------------------------------------------------------------
     150             :  * swigrun.swg
     151             :  *
     152             :  * This file contains generic C API SWIG runtime support for pointer
     153             :  * type checking.
     154             :  * ----------------------------------------------------------------------------- */
     155             : 
     156             : /* This should only be incremented when either the layout of swig_type_info changes,
     157             :    or for whatever reason, the runtime changes incompatibly */
     158             : #define SWIG_RUNTIME_VERSION "4"
     159             : 
     160             : /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
     161             : #ifdef SWIG_TYPE_TABLE
     162             : # define SWIG_QUOTE_STRING(x) #x
     163             : # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
     164             : # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
     165             : #else
     166             : # define SWIG_TYPE_TABLE_NAME
     167             : #endif
     168             : 
     169             : /*
     170             :   You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
     171             :   creating a static or dynamic library from the SWIG runtime code.
     172             :   In 99.9% of the cases, SWIG just needs to declare them as 'static'.
     173             : 
     174             :   But only do this if strictly necessary, ie, if you have problems
     175             :   with your compiler or suchlike.
     176             : */
     177             : 
     178             : #ifndef SWIGRUNTIME
     179             : # define SWIGRUNTIME SWIGINTERN
     180             : #endif
     181             : 
     182             : #ifndef SWIGRUNTIMEINLINE
     183             : # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
     184             : #endif
     185             : 
     186             : /*  Generic buffer size */
     187             : #ifndef SWIG_BUFFER_SIZE
     188             : # define SWIG_BUFFER_SIZE 1024
     189             : #endif
     190             : 
     191             : /* Flags for pointer conversions */
     192             : #define SWIG_POINTER_DISOWN        0x1
     193             : #define SWIG_CAST_NEW_MEMORY       0x2
     194             : 
     195             : /* Flags for new pointer objects */
     196             : #define SWIG_POINTER_OWN           0x1
     197             : 
     198             : 
     199             : /*
     200             :    Flags/methods for returning states.
     201             : 
     202             :    The SWIG conversion methods, as ConvertPtr, return an integer
     203             :    that tells if the conversion was successful or not. And if not,
     204             :    an error code can be returned (see swigerrors.swg for the codes).
     205             : 
     206             :    Use the following macros/flags to set or process the returning
     207             :    states.
     208             : 
     209             :    In old versions of SWIG, code such as the following was usually written:
     210             : 
     211             :      if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
     212             :        // success code
     213             :      } else {
     214             :        //fail code
     215             :      }
     216             : 
     217             :    Now you can be more explicit:
     218             : 
     219             :     int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
     220             :     if (SWIG_IsOK(res)) {
     221             :       // success code
     222             :     } else {
     223             :       // fail code
     224             :     }
     225             : 
     226             :    which is the same really, but now you can also do
     227             : 
     228             :     Type *ptr;
     229             :     int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
     230             :     if (SWIG_IsOK(res)) {
     231             :       // success code
     232             :       if (SWIG_IsNewObj(res) {
     233             :         ...
     234             :   delete *ptr;
     235             :       } else {
     236             :         ...
     237             :       }
     238             :     } else {
     239             :       // fail code
     240             :     }
     241             : 
     242             :    I.e., now SWIG_ConvertPtr can return new objects and you can
     243             :    identify the case and take care of the deallocation. Of course that
     244             :    also requires SWIG_ConvertPtr to return new result values, such as
     245             : 
     246             :       int SWIG_ConvertPtr(obj, ptr,...) {
     247             :         if (<obj is ok>) {
     248             :           if (<need new object>) {
     249             :             *ptr = <ptr to new allocated object>;
     250             :             return SWIG_NEWOBJ;
     251             :           } else {
     252             :             *ptr = <ptr to old object>;
     253             :             return SWIG_OLDOBJ;
     254             :           }
     255             :         } else {
     256             :           return SWIG_BADOBJ;
     257             :         }
     258             :       }
     259             : 
     260             :    Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
     261             :    more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
     262             :    SWIG errors code.
     263             : 
     264             :    Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
     265             :    allows to return the 'cast rank', for example, if you have this
     266             : 
     267             :        int food(double)
     268             :        int fooi(int);
     269             : 
     270             :    and you call
     271             : 
     272             :       food(1)   // cast rank '1'  (1 -> 1.0)
     273             :       fooi(1)   // cast rank '0'
     274             : 
     275             :    just use the SWIG_AddCast()/SWIG_CheckState()
     276             : */
     277             : 
     278             : #define SWIG_OK                    (0)
     279             : #define SWIG_ERROR                 (-1)
     280             : #define SWIG_IsOK(r)               (r >= 0)
     281             : #define SWIG_ArgError(r)           ((r != SWIG_ERROR) ? r : SWIG_TypeError)
     282             : 
     283             : /* The CastRankLimit says how many bits are used for the cast rank */
     284             : #define SWIG_CASTRANKLIMIT         (1 << 8)
     285             : /* The NewMask denotes the object was created (using new/malloc) */
     286             : #define SWIG_NEWOBJMASK            (SWIG_CASTRANKLIMIT  << 1)
     287             : /* The TmpMask is for in/out typemaps that use temporal objects */
     288             : #define SWIG_TMPOBJMASK            (SWIG_NEWOBJMASK << 1)
     289             : /* Simple returning values */
     290             : #define SWIG_BADOBJ                (SWIG_ERROR)
     291             : #define SWIG_OLDOBJ                (SWIG_OK)
     292             : #define SWIG_NEWOBJ                (SWIG_OK | SWIG_NEWOBJMASK)
     293             : #define SWIG_TMPOBJ                (SWIG_OK | SWIG_TMPOBJMASK)
     294             : /* Check, add and del mask methods */
     295             : #define SWIG_AddNewMask(r)         (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
     296             : #define SWIG_DelNewMask(r)         (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
     297             : #define SWIG_IsNewObj(r)           (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
     298             : #define SWIG_AddTmpMask(r)         (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
     299             : #define SWIG_DelTmpMask(r)         (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
     300             : #define SWIG_IsTmpObj(r)           (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
     301             : 
     302             : /* Cast-Rank Mode */
     303             : #if defined(SWIG_CASTRANK_MODE)
     304             : #  ifndef SWIG_TypeRank
     305             : #    define SWIG_TypeRank             unsigned long
     306             : #  endif
     307             : #  ifndef SWIG_MAXCASTRANK            /* Default cast allowed */
     308             : #    define SWIG_MAXCASTRANK          (2)
     309             : #  endif
     310             : #  define SWIG_CASTRANKMASK          ((SWIG_CASTRANKLIMIT) -1)
     311             : #  define SWIG_CastRank(r)           (r & SWIG_CASTRANKMASK)
     312             : SWIGINTERNINLINE int SWIG_AddCast(int r) {
     313           0 :   return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
     314             : }
     315             : SWIGINTERNINLINE int SWIG_CheckState(int r) {
     316           0 :   return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
     317             : }
     318             : #else /* no cast-rank mode */
     319             : #  define SWIG_AddCast(r) (r)
     320             : #  define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
     321             : #endif
     322             : 
     323             : 
     324             : #include <string.h>
     325             : 
     326             : #ifdef __cplusplus
     327             : extern "C" {
     328             : #endif
     329             : 
     330             : typedef void *(*swig_converter_func)(void *, int *);
     331             : typedef struct swig_type_info *(*swig_dycast_func)(void **);
     332             : 
     333             : /* Structure to store information on one type */
     334             : typedef struct swig_type_info {
     335             :   const char             *name;     /* mangled name of this type */
     336             :   const char             *str;      /* human readable name of this type */
     337             :   swig_dycast_func        dcast;    /* dynamic cast function down a hierarchy */
     338             :   struct swig_cast_info  *cast;     /* linked list of types that can cast into this type */
     339             :   void                   *clientdata;   /* language specific type data */
     340             :   int                    owndata;   /* flag if the structure owns the clientdata */
     341             : } swig_type_info;
     342             : 
     343             : /* Structure to store a type and conversion function used for casting */
     344             : typedef struct swig_cast_info {
     345             :   swig_type_info         *type;     /* pointer to type that is equivalent to this type */
     346             :   swig_converter_func     converter;    /* function to cast the void pointers */
     347             :   struct swig_cast_info  *next;     /* pointer to next cast in linked list */
     348             :   struct swig_cast_info  *prev;     /* pointer to the previous cast */
     349             : } swig_cast_info;
     350             : 
     351             : /* Structure used to store module information
     352             :  * Each module generates one structure like this, and the runtime collects
     353             :  * all of these structures and stores them in a circularly linked list.*/
     354             : typedef struct swig_module_info {
     355             :   swig_type_info         **types;   /* Array of pointers to swig_type_info structures that are in this module */
     356             :   size_t                 size;            /* Number of types in this module */
     357             :   struct swig_module_info *next;    /* Pointer to next element in circularly linked list */
     358             :   swig_type_info         **type_initial;  /* Array of initially generated type structures */
     359             :   swig_cast_info         **cast_initial;  /* Array of initially generated casting structures */
     360             :   void                    *clientdata;    /* Language specific module data */
     361             : } swig_module_info;
     362             : 
     363             : /*
     364             :   Compare two type names skipping the space characters, therefore
     365             :   "char*" == "char *" and "Class<int>" == "Class<int >", etc.
     366             : 
     367             :   Return 0 when the two name types are equivalent, as in
     368             :   strncmp, but skipping ' '.
     369             : */
     370             : SWIGRUNTIME int
     371           0 : SWIG_TypeNameComp(const char *f1, const char *l1,
     372             :       const char *f2, const char *l2) {
     373           0 :   for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
     374           0 :     while ((*f1 == ' ') && (f1 != l1)) ++f1;
     375           0 :     while ((*f2 == ' ') && (f2 != l2)) ++f2;
     376           0 :     if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
     377             :   }
     378           0 :   return (int)((l1 - f1) - (l2 - f2));
     379             : }
     380             : 
     381             : /*
     382             :   Check type equivalence in a name list like <name1>|<name2>|...
     383             :   Return 0 if equal, -1 if nb < tb, 1 if nb > tb
     384             : */
     385             : SWIGRUNTIME int
     386           0 : SWIG_TypeCmp(const char *nb, const char *tb) {
     387             :   int equiv = 1;
     388           0 :   const char* te = tb + strlen(tb);
     389             :   const char* ne = nb;
     390           0 :   while (equiv != 0 && *ne) {
     391           0 :     for (nb = ne; *ne; ++ne) {
     392           0 :       if (*ne == '|') break;
     393             :     }
     394           0 :     equiv = SWIG_TypeNameComp(nb, ne, tb, te);
     395           0 :     if (*ne) ++ne;
     396             :   }
     397           0 :   return equiv;
     398             : }
     399             : 
     400             : /*
     401             :   Check type equivalence in a name list like <name1>|<name2>|...
     402             :   Return 0 if not equal, 1 if equal
     403             : */
     404             : SWIGRUNTIME int
     405             : SWIG_TypeEquiv(const char *nb, const char *tb) {
     406           0 :   return SWIG_TypeCmp(nb, tb) == 0 ? 1 : 0;
     407             : }
     408             : 
     409             : /*
     410             :   Check the typename
     411             : */
     412             : SWIGRUNTIME swig_cast_info *
     413           0 : SWIG_TypeCheck(const char *c, swig_type_info *ty) {
     414           0 :   if (ty) {
     415           0 :     swig_cast_info *iter = ty->cast;
     416           0 :     while (iter) {
     417           0 :       if (strcmp(iter->type->name, c) == 0) {
     418           0 :         if (iter == ty->cast)
     419             :           return iter;
     420             :         /* Move iter to the top of the linked list */
     421           0 :         iter->prev->next = iter->next;
     422           0 :         if (iter->next)
     423           0 :           iter->next->prev = iter->prev;
     424           0 :         iter->next = ty->cast;
     425           0 :         iter->prev = 0;
     426           0 :         if (ty->cast) ty->cast->prev = iter;
     427           0 :         ty->cast = iter;
     428           0 :         return iter;
     429             :       }
     430           0 :       iter = iter->next;
     431             :     }
     432             :   }
     433             :   return 0;
     434             : }
     435             : 
     436             : /*
     437             :   Identical to SWIG_TypeCheck, except strcmp is replaced with a pointer comparison
     438             : */
     439             : SWIGRUNTIME swig_cast_info *
     440             : SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *ty) {
     441             :   if (ty) {
     442             :     swig_cast_info *iter = ty->cast;
     443             :     while (iter) {
     444             :       if (iter->type == from) {
     445             :         if (iter == ty->cast)
     446             :           return iter;
     447             :         /* Move iter to the top of the linked list */
     448             :         iter->prev->next = iter->next;
     449             :         if (iter->next)
     450             :           iter->next->prev = iter->prev;
     451             :         iter->next = ty->cast;
     452             :         iter->prev = 0;
     453             :         if (ty->cast) ty->cast->prev = iter;
     454             :         ty->cast = iter;
     455             :         return iter;
     456             :       }
     457             :       iter = iter->next;
     458             :     }
     459             :   }
     460             :   return 0;
     461             : }
     462             : 
     463             : /*
     464             :   Cast a pointer up an inheritance hierarchy
     465             : */
     466             : SWIGRUNTIMEINLINE void *
     467             : SWIG_TypeCast(swig_cast_info *ty, void *ptr, int *newmemory) {
     468           1 :   return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr, newmemory);
     469             : }
     470             : 
     471             : /*
     472             :    Dynamic pointer casting. Down an inheritance hierarchy
     473             : */
     474             : SWIGRUNTIME swig_type_info *
     475             : SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
     476             :   swig_type_info *lastty = ty;
     477             :   if (!ty || !ty->dcast) return ty;
     478             :   while (ty && (ty->dcast)) {
     479             :     ty = (*ty->dcast)(ptr);
     480             :     if (ty) lastty = ty;
     481             :   }
     482             :   return lastty;
     483             : }
     484             : 
     485             : /*
     486             :   Return the name associated with this type
     487             : */
     488             : SWIGRUNTIMEINLINE const char *
     489             : SWIG_TypeName(const swig_type_info *ty) {
     490             :   return ty->name;
     491             : }
     492             : 
     493             : /*
     494             :   Return the pretty name associated with this type,
     495             :   that is an unmangled type name in a form presentable to the user.
     496             : */
     497             : SWIGRUNTIME const char *
     498             : SWIG_TypePrettyName(const swig_type_info *type) {
     499             :   /* The "str" field contains the equivalent pretty names of the
     500             :      type, separated by vertical-bar characters.  We choose
     501             :      to print the last name, as it is often (?) the most
     502             :      specific. */
     503             :   if (!type) return NULL;
     504             :   if (type->str != NULL) {
     505             :     const char *last_name = type->str;
     506             :     const char *s;
     507             :     for (s = type->str; *s; s++)
     508             :       if (*s == '|') last_name = s+1;
     509             :     return last_name;
     510             :   }
     511             :   else
     512             :     return type->name;
     513             : }
     514             : 
     515             : /*
     516             :    Set the clientdata field for a type
     517             : */
     518             : SWIGRUNTIME void
     519           1 : SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
     520           1 :   swig_cast_info *cast = ti->cast;
     521             :   /* if (ti->clientdata == clientdata) return; */
     522           1 :   ti->clientdata = clientdata;
     523             : 
     524           1 :   while (cast) {
     525           1 :     if (!cast->converter) {
     526           1 :       swig_type_info *tc = cast->type;
     527           1 :       if (!tc->clientdata) {
     528           0 :   SWIG_TypeClientData(tc, clientdata);
     529             :       }
     530             :     }
     531           1 :     cast = cast->next;
     532             :   }
     533           1 : }
     534             : SWIGRUNTIME void
     535             : SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
     536             :   SWIG_TypeClientData(ti, clientdata);
     537             :   ti->owndata = 1;
     538             : }
     539             : 
     540             : /*
     541             :   Search for a swig_type_info structure only by mangled name
     542             :   Search is a O(log #types)
     543             : 
     544             :   We start searching at module start, and finish searching when start == end.
     545             :   Note: if start == end at the beginning of the function, we go all the way around
     546             :   the circular list.
     547             : */
     548             : SWIGRUNTIME swig_type_info *
     549           0 : SWIG_MangledTypeQueryModule(swig_module_info *start,
     550             :                             swig_module_info *end,
     551             :                 const char *name) {
     552             :   swig_module_info *iter = start;
     553             :   do {
     554           0 :     if (iter->size) {
     555             :       size_t l = 0;
     556           0 :       size_t r = iter->size - 1;
     557             :       do {
     558             :   /* since l+r >= 0, we can (>> 1) instead (/ 2) */
     559           0 :   size_t i = (l + r) >> 1;
     560           0 :   const char *iname = iter->types[i]->name;
     561           0 :   if (iname) {
     562           0 :     int compare = strcmp(name, iname);
     563           0 :     if (compare == 0) {
     564             :       return iter->types[i];
     565           0 :     } else if (compare < 0) {
     566           0 :       if (i) {
     567           0 :         r = i - 1;
     568             :       } else {
     569             :         break;
     570             :       }
     571             :     } else if (compare > 0) {
     572           0 :       l = i + 1;
     573             :     }
     574             :   } else {
     575             :     break; /* should never happen */
     576             :   }
     577           0 :       } while (l <= r);
     578             :     }
     579           0 :     iter = iter->next;
     580           0 :   } while (iter != end);
     581             :   return 0;
     582             : }
     583             : 
     584             : /*
     585             :   Search for a swig_type_info structure for either a mangled name or a human readable name.
     586             :   It first searches the mangled names of the types, which is a O(log #types)
     587             :   If a type is not found it then searches the human readable names, which is O(#types).
     588             : 
     589             :   We start searching at module start, and finish searching when start == end.
     590             :   Note: if start == end at the beginning of the function, we go all the way around
     591             :   the circular list.
     592             : */
     593             : SWIGRUNTIME swig_type_info *
     594           0 : SWIG_TypeQueryModule(swig_module_info *start,
     595             :                      swig_module_info *end,
     596             :          const char *name) {
     597             :   /* STEP 1: Search the name field using binary search */
     598           0 :   swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
     599           0 :   if (ret) {
     600             :     return ret;
     601             :   } else {
     602             :     /* STEP 2: If the type hasn't been found, do a complete search
     603             :        of the str field (the human readable name) */
     604             :     swig_module_info *iter = start;
     605             :     do {
     606             :       size_t i = 0;
     607           0 :       for (; i < iter->size; ++i) {
     608           0 :   if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
     609             :     return iter->types[i];
     610             :       }
     611           0 :       iter = iter->next;
     612           0 :     } while (iter != end);
     613             :   }
     614             : 
     615             :   /* neither found a match */
     616             :   return 0;
     617             : }
     618             : 
     619             : /*
     620             :    Pack binary data into a string
     621             : */
     622             : SWIGRUNTIME char *
     623             : SWIG_PackData(char *c, void *ptr, size_t sz) {
     624             :   static const char hex[17] = "0123456789abcdef";
     625             :   const unsigned char *u = (unsigned char *) ptr;
     626           0 :   const unsigned char *eu =  u + sz;
     627           0 :   for (; u != eu; ++u) {
     628           0 :     unsigned char uu = *u;
     629           0 :     *(c++) = hex[(uu & 0xf0) >> 4];
     630           0 :     *(c++) = hex[uu & 0xf];
     631             :   }
     632             :   return c;
     633             : }
     634             : 
     635             : /*
     636             :    Unpack binary data from a string
     637             : */
     638             : SWIGRUNTIME const char *
     639             : SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
     640             :   unsigned char *u = (unsigned char *) ptr;
     641             :   const unsigned char *eu = u + sz;
     642             :   for (; u != eu; ++u) {
     643             :     char d = *(c++);
     644             :     unsigned char uu;
     645             :     if ((d >= '0') && (d <= '9'))
     646             :       uu = (unsigned char)((d - '0') << 4);
     647             :     else if ((d >= 'a') && (d <= 'f'))
     648             :       uu = (unsigned char)((d - ('a'-10)) << 4);
     649             :     else
     650             :       return (char *) 0;
     651             :     d = *(c++);
     652             :     if ((d >= '0') && (d <= '9'))
     653             :       uu |= (unsigned char)(d - '0');
     654             :     else if ((d >= 'a') && (d <= 'f'))
     655             :       uu |= (unsigned char)(d - ('a'-10));
     656             :     else
     657             :       return (char *) 0;
     658             :     *u = uu;
     659             :   }
     660             :   return c;
     661             : }
     662             : 
     663             : /*
     664             :    Pack 'void *' into a string buffer.
     665             : */
     666             : SWIGRUNTIME char *
     667             : SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
     668             :   char *r = buff;
     669             :   if ((2*sizeof(void *) + 2) > bsz) return 0;
     670             :   *(r++) = '_';
     671             :   r = SWIG_PackData(r,&ptr,sizeof(void *));
     672             :   if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
     673             :   strcpy(r,name);
     674             :   return buff;
     675             : }
     676             : 
     677             : SWIGRUNTIME const char *
     678             : SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
     679             :   if (*c != '_') {
     680             :     if (strcmp(c,"NULL") == 0) {
     681             :       *ptr = (void *) 0;
     682             :       return name;
     683             :     } else {
     684             :       return 0;
     685             :     }
     686             :   }
     687             :   return SWIG_UnpackData(++c,ptr,sizeof(void *));
     688             : }
     689             : 
     690             : SWIGRUNTIME char *
     691             : SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
     692             :   char *r = buff;
     693             :   size_t lname = (name ? strlen(name) : 0);
     694             :   if ((2*sz + 2 + lname) > bsz) return 0;
     695             :   *(r++) = '_';
     696             :   r = SWIG_PackData(r,ptr,sz);
     697             :   if (lname) {
     698             :     strncpy(r,name,lname+1);
     699             :   } else {
     700             :     *r = 0;
     701             :   }
     702             :   return buff;
     703             : }
     704             : 
     705             : SWIGRUNTIME const char *
     706             : SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
     707             :   if (*c != '_') {
     708             :     if (strcmp(c,"NULL") == 0) {
     709             :       memset(ptr,0,sz);
     710             :       return name;
     711             :     } else {
     712             :       return 0;
     713             :     }
     714             :   }
     715             :   return SWIG_UnpackData(++c,ptr,sz);
     716             : }
     717             : 
     718             : #ifdef __cplusplus
     719             : }
     720             : #endif
     721             : 
     722             : /*  Errors in SWIG */
     723             : #define  SWIG_UnknownError         -1
     724             : #define  SWIG_IOError            -2
     725             : #define  SWIG_RuntimeError       -3
     726             : #define  SWIG_IndexError         -4
     727             : #define  SWIG_TypeError          -5
     728             : #define  SWIG_DivisionByZero     -6
     729             : #define  SWIG_OverflowError      -7
     730             : #define  SWIG_SyntaxError        -8
     731             : #define  SWIG_ValueError         -9
     732             : #define  SWIG_SystemError        -10
     733             : #define  SWIG_AttributeError     -11
     734             : #define  SWIG_MemoryError        -12
     735             : #define  SWIG_NullReferenceError   -13
     736             : 
     737             : 
     738             : 
     739             : #ifdef __cplusplus
     740             : /* Needed on some windows machines---since MS plays funny games with the header files under C++ */
     741             : #include <math.h>
     742             : #include <stdlib.h>
     743             : extern "C" {
     744             : #endif
     745             : #include "EXTERN.h"
     746             : #include "perl.h"
     747             : #include "XSUB.h"
     748             : 
     749             : /* Add in functionality missing in older versions of Perl. Much of this is based on Devel-PPPort on cpan. */
     750             : 
     751             : /* Add PERL_REVISION, PERL_VERSION, PERL_SUBVERSION if missing */
     752             : #ifndef PERL_REVISION
     753             : #  if !defined(__PATCHLEVEL_H_INCLUDED__) && !(defined(PATCHLEVEL) && defined(SUBVERSION))
     754             : #    define PERL_PATCHLEVEL_H_IMPLICIT
     755             : #    include <patchlevel.h>
     756             : #  endif
     757             : #  if !(defined(PERL_VERSION) || (defined(SUBVERSION) && defined(PATCHLEVEL)))
     758             : #    include <could_not_find_Perl_patchlevel.h>
     759             : #  endif
     760             : #  ifndef PERL_REVISION
     761             : #    define PERL_REVISION       (5)
     762             : #    define PERL_VERSION        PATCHLEVEL
     763             : #    define PERL_SUBVERSION     SUBVERSION
     764             : #  endif
     765             : #endif
     766             : 
     767             : #if defined(WIN32) && defined(PERL_OBJECT) && !defined(PerlIO_exportFILE)
     768             : #define PerlIO_exportFILE(fh,fl) (FILE*)(fh)
     769             : #endif
     770             : 
     771             : #ifndef SvIOK_UV
     772             : # define SvIOK_UV(sv)       (SvIOK(sv) && (SvUVX(sv) == SvIVX(sv)))
     773             : #endif
     774             : 
     775             : #ifndef SvUOK
     776             : # define SvUOK(sv)           SvIOK_UV(sv)
     777             : #endif
     778             : 
     779             : #if ((PERL_VERSION < 4) || ((PERL_VERSION == 4) && (PERL_SUBVERSION <= 5)))
     780             : #  define PL_sv_undef               sv_undef
     781             : #  define PL_na                     na
     782             : #  define PL_errgv                  errgv
     783             : #  define PL_sv_no                  sv_no
     784             : #  define PL_sv_yes                 sv_yes
     785             : #  define PL_markstack_ptr          markstack_ptr
     786             : #endif
     787             : 
     788             : #ifndef IVSIZE
     789             : #  ifdef LONGSIZE
     790             : #    define IVSIZE LONGSIZE
     791             : #  else
     792             : #    define IVSIZE 4 /* A bold guess, but the best we can make. */
     793             : #  endif
     794             : #endif
     795             : 
     796             : #ifndef INT2PTR
     797             : #  if (IVSIZE == PTRSIZE) && (UVSIZE == PTRSIZE)
     798             : #    define PTRV                  UV
     799             : #    define INT2PTR(any,d)        (any)(d)
     800             : #  else
     801             : #    if PTRSIZE == LONGSIZE
     802             : #      define PTRV                unsigned long
     803             : #    else
     804             : #      define PTRV                unsigned
     805             : #    endif
     806             : #    define INT2PTR(any,d)        (any)(PTRV)(d)
     807             : #  endif
     808             : 
     809             : #  define NUM2PTR(any,d)  (any)(PTRV)(d)
     810             : #  define PTR2IV(p)       INT2PTR(IV,p)
     811             : #  define PTR2UV(p)       INT2PTR(UV,p)
     812             : #  define PTR2NV(p)       NUM2PTR(NV,p)
     813             : 
     814             : #  if PTRSIZE == LONGSIZE
     815             : #    define PTR2ul(p)     (unsigned long)(p)
     816             : #  else
     817             : #    define PTR2ul(p)     INT2PTR(unsigned long,p)
     818             : #  endif
     819             : #endif /* !INT2PTR */
     820             : 
     821             : #ifndef SvPV_nolen
     822             : # define SvPV_nolen(x) SvPV(x,PL_na)
     823             : #endif
     824             : 
     825             : #ifndef get_sv
     826             : #  define get_sv perl_get_sv
     827             : #endif
     828             : 
     829             : #ifndef ERRSV
     830             : #  define ERRSV get_sv("@",FALSE)
     831             : #endif
     832             : 
     833             : #ifndef pTHX_
     834             : #define pTHX_
     835             : #endif   
     836             : 
     837             : #include <string.h>
     838             : #ifdef __cplusplus
     839             : }
     840             : #endif
     841             : 
     842             : /* -----------------------------------------------------------------------------
     843             :  * error manipulation
     844             :  * ----------------------------------------------------------------------------- */
     845             : 
     846             : SWIGINTERN const char*
     847           0 : SWIG_Perl_ErrorType(int code) {
     848           0 :   switch(code) {
     849             :   case SWIG_MemoryError:
     850             :     return "MemoryError";
     851           0 :   case SWIG_IOError:
     852           0 :     return "IOError";
     853           0 :   case SWIG_RuntimeError:
     854           0 :     return "RuntimeError";
     855           0 :   case SWIG_IndexError:
     856           0 :     return "IndexError";
     857           0 :   case SWIG_TypeError:
     858           0 :     return "TypeError";
     859           0 :   case SWIG_DivisionByZero:
     860           0 :     return "ZeroDivisionError";
     861           0 :   case SWIG_OverflowError:
     862           0 :     return "OverflowError";
     863           0 :   case SWIG_SyntaxError:
     864           0 :     return "SyntaxError";
     865           0 :   case SWIG_ValueError:
     866           0 :     return "ValueError";
     867           0 :   case SWIG_SystemError:
     868           0 :     return "SystemError";
     869           0 :   case SWIG_AttributeError:
     870           0 :     return "AttributeError";
     871           0 :   default:
     872           0 :     return "RuntimeError";
     873             :   }
     874             : }
     875             : 
     876             : 
     877             : /* -----------------------------------------------------------------------------
     878             :  * perlrun.swg
     879             :  *
     880             :  * This file contains the runtime support for Perl modules
     881             :  * and includes code for managing global variables and pointer
     882             :  * type checking.
     883             :  * ----------------------------------------------------------------------------- */
     884             : 
     885             : #ifdef PERL_OBJECT
     886             : #define SWIG_PERL_OBJECT_DECL CPerlObj *SWIGUNUSEDPARM(pPerl),
     887             : #define SWIG_PERL_OBJECT_CALL pPerl,
     888             : #else
     889             : #define SWIG_PERL_OBJECT_DECL
     890             : #define SWIG_PERL_OBJECT_CALL
     891             : #endif
     892             : 
     893             : /* Common SWIG API */
     894             : 
     895             : /* for raw pointers */
     896             : #define SWIG_ConvertPtr(obj, pp, type, flags)           SWIG_Perl_ConvertPtr(SWIG_PERL_OBJECT_CALL obj, pp, type, flags)
     897             : #define SWIG_ConvertPtrAndOwn(obj, pp, type, flags,own) SWIG_Perl_ConvertPtrAndOwn(SWIG_PERL_OBJECT_CALL obj, pp, type, flags, own)
     898             : #define SWIG_NewPointerObj(p, type, flags)              SWIG_Perl_NewPointerObj(SWIG_PERL_OBJECT_CALL p, type, flags)
     899             : #define swig_owntype                                    int
     900             : 
     901             : /* for raw packed data */
     902             : #define SWIG_ConvertPacked(obj, p, s, type)             SWIG_Perl_ConvertPacked(SWIG_PERL_OBJECT_CALL obj, p, s, type)
     903             : #define SWIG_NewPackedObj(p, s, type)                 SWIG_Perl_NewPackedObj(SWIG_PERL_OBJECT_CALL p, s, type)
     904             : 
     905             : /* for class or struct pointers */
     906             : #define SWIG_ConvertInstance(obj, pptr, type, flags)    SWIG_ConvertPtr(obj, pptr, type, flags)
     907             : #define SWIG_NewInstanceObj(ptr, type, flags)           SWIG_NewPointerObj(ptr, type, flags)
     908             : 
     909             : /* for C or C++ function pointers */
     910             : #define SWIG_ConvertFunctionPtr(obj, pptr, type)        SWIG_ConvertPtr(obj, pptr, type, 0)
     911             : #define SWIG_NewFunctionPtrObj(ptr, type)               SWIG_NewPointerObj(ptr, type, 0)
     912             : 
     913             : /* for C++ member pointers, ie, member methods */
     914             : #define SWIG_ConvertMember(obj, ptr, sz, ty)            SWIG_ConvertPacked(obj, ptr, sz, ty)
     915             : #define SWIG_NewMemberObj(ptr, sz, type)                SWIG_NewPackedObj(ptr, sz, type)
     916             : 
     917             : 
     918             : /* Runtime API */
     919             : 
     920             : #define SWIG_GetModule(clientdata)                      SWIG_Perl_GetModule(clientdata)
     921             : #define SWIG_SetModule(clientdata, pointer)             SWIG_Perl_SetModule(pointer)
     922             : 
     923             : 
     924             : /* Error manipulation */
     925             : 
     926             : #define SWIG_ErrorType(code)                            SWIG_Perl_ErrorType(code)               
     927             : #define SWIG_Error(code, msg)               sv_setpvf(get_sv("@", GV_ADD), "%s %s", SWIG_ErrorType(code), msg)
     928             : #define SWIG_fail                           goto fail               
     929             : 
     930             : /* Perl-specific SWIG API */
     931             : 
     932             : #define SWIG_MakePtr(sv, ptr, type, flags)              SWIG_Perl_MakePtr(SWIG_PERL_OBJECT_CALL sv, ptr, type, flags)
     933             : #define SWIG_MakePackedObj(sv, p, s, type)          SWIG_Perl_MakePackedObj(SWIG_PERL_OBJECT_CALL sv, p, s, type)
     934             : #define SWIG_SetError(str)                              SWIG_Error(SWIG_RuntimeError, str)
     935             : 
     936             : 
     937             : #define SWIG_PERL_DECL_ARGS_1(arg1)                     (SWIG_PERL_OBJECT_DECL arg1)
     938             : #define SWIG_PERL_CALL_ARGS_1(arg1)                     (SWIG_PERL_OBJECT_CALL arg1)
     939             : #define SWIG_PERL_DECL_ARGS_2(arg1, arg2)               (SWIG_PERL_OBJECT_DECL arg1, arg2)
     940             : #define SWIG_PERL_CALL_ARGS_2(arg1, arg2)               (SWIG_PERL_OBJECT_CALL arg1, arg2)
     941             : 
     942             : /* -----------------------------------------------------------------------------
     943             :  * pointers/data manipulation
     944             :  * ----------------------------------------------------------------------------- */
     945             : 
     946             : /* For backward compatibility only */
     947             : #define SWIG_POINTER_EXCEPTION  0
     948             : 
     949             : #ifdef __cplusplus
     950             : extern "C" {
     951             : #endif
     952             : 
     953             : #define SWIG_OWNER   SWIG_POINTER_OWN
     954             : #define SWIG_SHADOW  SWIG_OWNER << 1
     955             : 
     956             : #define SWIG_MAYBE_PERL_OBJECT SWIG_PERL_OBJECT_DECL
     957             : 
     958             : /* SWIG Perl macros */
     959             : 
     960             : /* Macro to declare an XS function */
     961             : #ifndef XSPROTO
     962             : #   define XSPROTO(name) void name(pTHX_ CV* cv)
     963             : #endif
     964             : 
     965             : /* Macro to call an XS function */
     966             : #ifdef PERL_OBJECT 
     967             : #  define SWIG_CALLXS(_name) _name(cv,pPerl) 
     968             : #else 
     969             : #  ifndef MULTIPLICITY 
     970             : #    define SWIG_CALLXS(_name) _name(cv) 
     971             : #  else 
     972             : #    define SWIG_CALLXS(_name) _name(PERL_GET_THX, cv) 
     973             : #  endif 
     974             : #endif 
     975             : 
     976             : #ifdef PERL_OBJECT
     977             : #define MAGIC_PPERL  CPerlObj *pPerl = (CPerlObj *) this;
     978             : 
     979             : #ifdef __cplusplus
     980             : extern "C" {
     981             : #endif
     982             : typedef int (CPerlObj::*SwigMagicFunc)(SV *, MAGIC *);
     983             : #ifdef __cplusplus
     984             : }
     985             : #endif
     986             : 
     987             : #define SWIG_MAGIC(a,b) (SV *a, MAGIC *b)
     988             : #define SWIGCLASS_STATIC
     989             : 
     990             : #else /* PERL_OBJECT */
     991             : 
     992             : #define MAGIC_PPERL
     993             : #define SWIGCLASS_STATIC static SWIGUNUSED
     994             : 
     995             : #ifndef MULTIPLICITY
     996             : #define SWIG_MAGIC(a,b) (SV *a, MAGIC *b)
     997             : 
     998             : #ifdef __cplusplus
     999             : extern "C" {
    1000             : #endif
    1001             : typedef int (*SwigMagicFunc)(SV *, MAGIC *);
    1002             : #ifdef __cplusplus
    1003             : }
    1004             : #endif
    1005             : 
    1006             : #else /* MULTIPLICITY */
    1007             : 
    1008             : #define SWIG_MAGIC(a,b) (struct interpreter *interp, SV *a, MAGIC *b)
    1009             : 
    1010             : #ifdef __cplusplus
    1011             : extern "C" {
    1012             : #endif
    1013             : typedef int (*SwigMagicFunc)(struct interpreter *, SV *, MAGIC *);
    1014             : #ifdef __cplusplus
    1015             : }
    1016             : #endif
    1017             : 
    1018             : #endif /* MULTIPLICITY */
    1019             : #endif /* PERL_OBJECT */
    1020             : 
    1021             : #  ifdef PERL_OBJECT
    1022             : #    define SWIG_croak_null() SWIG_Perl_croak_null(pPerl)
    1023             : static void SWIGUNUSED SWIG_Perl_croak_null(CPerlObj *pPerl)
    1024             : #  else
    1025           0 : static void SWIGUNUSED SWIG_croak_null()
    1026             : #  endif
    1027             : {
    1028           0 :   SV *err = get_sv("@", GV_ADD);
    1029             : #  if (PERL_VERSION < 6)
    1030             :   croak("%_", err);
    1031             : #  else
    1032           0 :   if (sv_isobject(err))
    1033           0 :     croak(0);
    1034             :   else
    1035           0 :     croak("%s", SvPV_nolen(err));
    1036             : #  endif
    1037             : }
    1038             : 
    1039             : 
    1040             : /* 
    1041             :    Define how strict is the cast between strings and integers/doubles
    1042             :    when overloading between these types occurs.
    1043             :    
    1044             :    The default is making it as strict as possible by using SWIG_AddCast
    1045             :    when needed.
    1046             :    
    1047             :    You can use -DSWIG_PERL_NO_STRICT_STR2NUM at compilation time to
    1048             :    disable the SWIG_AddCast, making the casting between string and
    1049             :    numbers less strict.
    1050             : 
    1051             :    In the end, we try to solve the overloading between strings and
    1052             :    numerical types in the more natural way, but if you can avoid it,
    1053             :    well, avoid it using %rename, for example.
    1054             : */
    1055             : #ifndef SWIG_PERL_NO_STRICT_STR2NUM
    1056             : # ifndef SWIG_PERL_STRICT_STR2NUM
    1057             : #  define SWIG_PERL_STRICT_STR2NUM
    1058             : # endif
    1059             : #endif
    1060             : #ifdef SWIG_PERL_STRICT_STR2NUM
    1061             : /* string takes precedence */
    1062             : #define SWIG_Str2NumCast(x) SWIG_AddCast(x)  
    1063             : #else
    1064             : /* number takes precedence */
    1065             : #define SWIG_Str2NumCast(x) x
    1066             : #endif
    1067             : 
    1068             : 
    1069             : 
    1070             : #include <stdlib.h>
    1071             : 
    1072             : SWIGRUNTIME const char *
    1073             : SWIG_Perl_TypeProxyName(const swig_type_info *type) {
    1074           1 :   if (!type) return NULL;
    1075           1 :   if (type->clientdata != NULL) {
    1076             :     return (const char*) type->clientdata;
    1077             :   } 
    1078             :   else {
    1079           0 :     return type->name;
    1080             :   }
    1081             : }
    1082             : 
    1083             : /* Identical to SWIG_TypeCheck, except for strcmp comparison */
    1084             : SWIGRUNTIME swig_cast_info *
    1085           1 : SWIG_TypeProxyCheck(const char *c, swig_type_info *ty) {
    1086           1 :   if (ty) {
    1087           1 :     swig_cast_info *iter = ty->cast;
    1088           1 :     while (iter) {
    1089           1 :       if (strcmp(SWIG_Perl_TypeProxyName(iter->type), c) == 0) {
    1090           1 :         if (iter == ty->cast)
    1091             :           return iter;
    1092             :         /* Move iter to the top of the linked list */
    1093           0 :         iter->prev->next = iter->next;
    1094           0 :         if (iter->next)
    1095           0 :           iter->next->prev = iter->prev;
    1096           0 :         iter->next = ty->cast;
    1097           0 :         iter->prev = 0;
    1098           0 :         if (ty->cast) ty->cast->prev = iter;
    1099           0 :         ty->cast = iter;
    1100           0 :         return iter;
    1101             :       }
    1102           0 :       iter = iter->next;
    1103             :     }
    1104             :   }
    1105             :   return 0;
    1106             : }
    1107             : 
    1108             : /* Function for getting a pointer value */
    1109             : 
    1110             : SWIGRUNTIME int
    1111           1 : SWIG_Perl_ConvertPtrAndOwn(SWIG_MAYBE_PERL_OBJECT SV *sv, void **ptr, swig_type_info *_t, int flags, int *own) {
    1112             :   swig_cast_info *tc;
    1113             :   void *voidptr = (void *)0;
    1114             :   SV *tsv = 0;
    1115             : 
    1116           1 :   if (own)
    1117           0 :     *own = 0;
    1118             : 
    1119             :   /* If magical, apply more magic */
    1120           1 :   if (SvGMAGICAL(sv))
    1121           0 :     mg_get(sv);
    1122             : 
    1123             :   /* Check to see if this is an object */
    1124           1 :   if (sv_isobject(sv)) {
    1125             :     IV tmp = 0;
    1126           1 :     tsv = (SV*) SvRV(sv);
    1127           1 :     if ((SvTYPE(tsv) == SVt_PVHV)) {
    1128             :       MAGIC *mg;
    1129           1 :       if (SvMAGICAL(tsv)) {
    1130           1 :         mg = mg_find(tsv,'P');
    1131           1 :         if (mg) {
    1132           1 :           sv = mg->mg_obj;
    1133           1 :           if (sv_isobject(sv)) {
    1134           1 :       tsv = (SV*)SvRV(sv);
    1135           1 :             tmp = SvIV(tsv);
    1136             :           }
    1137             :         }
    1138             :       } else {
    1139             :         return SWIG_ERROR;
    1140             :       }
    1141             :     } else {
    1142           1 :       tmp = SvIV(tsv);
    1143             :     }
    1144           1 :     voidptr = INT2PTR(void *,tmp);
    1145           1 :   } else if (! SvOK(sv)) {            /* Check for undef */
    1146           1 :     *(ptr) = (void *) 0;
    1147           1 :     return SWIG_OK;
    1148           0 :   } else if (SvTYPE(sv) == SVt_RV) {  /* Check for NULL pointer */
    1149           0 :     if (!SvROK(sv)) {
    1150             :       /* In Perl 5.12 and later, SVt_RV == SVt_IV, so sv could be a valid integer value.  */
    1151           0 :       if (SvIOK(sv)) {
    1152             :         return SWIG_ERROR;
    1153             :       } else {
    1154             :         /* NULL pointer (reference to undef). */
    1155           0 :         *(ptr) = (void *) 0;
    1156           0 :         return SWIG_OK;
    1157             :       }
    1158             :     } else {
    1159             :       return SWIG_ERROR;
    1160             :     }
    1161             :   } else {                            /* Don't know what it is */
    1162             :     return SWIG_ERROR;
    1163             :   }
    1164           1 :   if (_t) {
    1165             :     /* Now see if the types match */
    1166           1 :     char *_c = HvNAME(SvSTASH(SvRV(sv)));
    1167           1 :     tc = SWIG_TypeProxyCheck(_c,_t);
    1168             : #ifdef SWIG_DIRECTORS
    1169             :     if (!tc && !sv_derived_from(sv,SWIG_Perl_TypeProxyName(_t))) {
    1170             : #else
    1171           1 :     if (!tc) {
    1172             : #endif
    1173             :       return SWIG_ERROR;
    1174             :     }
    1175             :     {
    1176           1 :       int newmemory = 0;
    1177           1 :       *ptr = SWIG_TypeCast(tc,voidptr,&newmemory);
    1178           1 :       if (newmemory == SWIG_CAST_NEW_MEMORY) {
    1179             :         assert(own); /* badly formed typemap which will lead to a memory leak - it must set and use own to delete *ptr */
    1180           0 :         if (own)
    1181           0 :           *own = *own | SWIG_CAST_NEW_MEMORY;
    1182             :       }
    1183             :     }
    1184             :   } else {
    1185           0 :     *ptr = voidptr;
    1186             :   }
    1187             : 
    1188             :   /* 
    1189             :    *  DISOWN implementation: we need a perl guru to check this one.
    1190             :    */
    1191           1 :   if (tsv && (flags & SWIG_POINTER_DISOWN)) {
    1192             :     /* 
    1193             :      *  almost copy paste code from below SWIG_POINTER_OWN setting
    1194             :      */
    1195             :     SV *obj = sv;
    1196           1 :     HV *stash = SvSTASH(SvRV(obj));
    1197           1 :     GV *gv = *(GV**)hv_fetch(stash, "OWNER", 5, TRUE);
    1198           1 :     if (isGV(gv)) {
    1199           1 :       HV *hv = GvHVn(gv);
    1200             :       /*
    1201             :        * To set ownership (see below), a newSViv(1) entry is added. 
    1202             :        * Hence, to remove ownership, we delete the entry.
    1203             :        */
    1204           1 :       if (hv_exists_ent(hv, obj, 0)) {
    1205           1 :   hv_delete_ent(hv, obj, 0, 0);
    1206             :       }
    1207             :     }
    1208             :   }
    1209             :   return SWIG_OK;
    1210             : }
    1211             : 
    1212             : SWIGRUNTIME int
    1213             : SWIG_Perl_ConvertPtr(SWIG_MAYBE_PERL_OBJECT SV *sv, void **ptr, swig_type_info *_t, int flags) {
    1214           1 :   return SWIG_Perl_ConvertPtrAndOwn(sv, ptr, _t, flags, 0);
    1215             : }
    1216             : 
    1217             : SWIGRUNTIME void
    1218           1 : SWIG_Perl_MakePtr(SWIG_MAYBE_PERL_OBJECT SV *sv, void *ptr, swig_type_info *t, int flags) {
    1219           1 :   if (ptr && (flags & (SWIG_SHADOW | SWIG_POINTER_OWN))) {
    1220             :     SV *self;
    1221           1 :     SV *obj=newSV(0);
    1222           1 :     HV *hash=newHV();
    1223             :     HV *stash;
    1224           1 :     sv_setref_pv(obj, SWIG_Perl_TypeProxyName(t), ptr);
    1225           1 :     stash=SvSTASH(SvRV(obj));
    1226           1 :     if (flags & SWIG_POINTER_OWN) {
    1227             :       HV *hv;
    1228           1 :       GV *gv = *(GV**)hv_fetch(stash, "OWNER", 5, TRUE);
    1229           1 :       if (!isGV(gv))
    1230           0 :         gv_init(gv, stash, "OWNER", 5, FALSE);
    1231           1 :       hv=GvHVn(gv);
    1232           1 :       hv_store_ent(hv, obj, newSViv(1), 0);
    1233             :     }
    1234           1 :     sv_magic((SV *)hash, (SV *)obj, 'P', Nullch, 0);
    1235           1 :     SvREFCNT_dec(obj);
    1236           1 :     self=newRV_noinc((SV *)hash);
    1237           1 :     sv_setsv(sv, self);
    1238           1 :     SvREFCNT_dec((SV *)self);
    1239           1 :     sv_bless(sv, stash);
    1240             :   }
    1241             :   else {
    1242           0 :     sv_setref_pv(sv, SWIG_Perl_TypeProxyName(t), ptr);
    1243             :   }
    1244           1 : }
    1245             : 
    1246             : SWIGRUNTIMEINLINE SV *
    1247           1 : SWIG_Perl_NewPointerObj(SWIG_MAYBE_PERL_OBJECT void *ptr, swig_type_info *t, int flags) {
    1248           1 :   SV *result = sv_newmortal();
    1249           1 :   SWIG_MakePtr(result, ptr, t, flags);
    1250           1 :   return result;
    1251             : }
    1252             : 
    1253             : SWIGRUNTIME void
    1254           0 : SWIG_Perl_MakePackedObj(SWIG_MAYBE_PERL_OBJECT SV *sv, void *ptr, int sz, swig_type_info *type) {
    1255             :   char result[1024];
    1256             :   char *r = result;
    1257           0 :   if ((2*sz + 1 + strlen(SWIG_Perl_TypeProxyName(type))) > 1000) return;
    1258           0 :   *(r++) = '_';
    1259           0 :   r = SWIG_PackData(r,ptr,sz);
    1260             :   strcpy(r,SWIG_Perl_TypeProxyName(type));
    1261           0 :   sv_setpv(sv, result);
    1262             : }
    1263             : 
    1264             : SWIGRUNTIME SV *
    1265             : SWIG_Perl_NewPackedObj(SWIG_MAYBE_PERL_OBJECT void *ptr, int sz, swig_type_info *type) {
    1266             :   SV *result = sv_newmortal();
    1267             :   SWIG_Perl_MakePackedObj(result, ptr, sz, type);
    1268             :   return result;
    1269             : }
    1270             : 
    1271             : /* Convert a packed value value */
    1272             : SWIGRUNTIME int
    1273             : SWIG_Perl_ConvertPacked(SWIG_MAYBE_PERL_OBJECT SV *obj, void *ptr, int sz, swig_type_info *ty) {
    1274             :   swig_cast_info *tc;
    1275             :   const char  *c = 0;
    1276             : 
    1277             :   if ((!obj) || (!SvOK(obj))) return SWIG_ERROR;
    1278             :   c = SvPV_nolen(obj);
    1279             :   /* Pointer values must start with leading underscore */
    1280             :   if (*c != '_') return SWIG_ERROR;
    1281             :   c++;
    1282             :   c = SWIG_UnpackData(c,ptr,sz);
    1283             :   if (ty) {
    1284             :     tc = SWIG_TypeCheck(c,ty);
    1285             :     if (!tc) return SWIG_ERROR;
    1286             :   }
    1287             :   return SWIG_OK;
    1288             : }
    1289             : 
    1290             : 
    1291             : /* Macros for low-level exception handling */
    1292             : #define SWIG_croak(x)    { SWIG_Error(SWIG_RuntimeError, x); SWIG_fail; }
    1293             : 
    1294             : 
    1295             : typedef XSPROTO(SwigPerlWrapper);
    1296             : typedef SwigPerlWrapper *SwigPerlWrapperPtr;
    1297             : 
    1298             : /* Structure for command table */
    1299             : typedef struct {
    1300             :   const char         *name;
    1301             :   SwigPerlWrapperPtr  wrapper;
    1302             : } swig_command_info;
    1303             : 
    1304             : /* Information for constant table */
    1305             : 
    1306             : #define SWIG_INT     1
    1307             : #define SWIG_FLOAT   2
    1308             : #define SWIG_STRING  3
    1309             : #define SWIG_POINTER 4
    1310             : #define SWIG_BINARY  5
    1311             : 
    1312             : /* Constant information structure */
    1313             : typedef struct swig_constant_info {
    1314             :     int              type;
    1315             :     const char      *name;
    1316             :     long             lvalue;
    1317             :     double           dvalue;
    1318             :     void            *pvalue;
    1319             :     swig_type_info **ptype;
    1320             : } swig_constant_info;
    1321             : 
    1322             : 
    1323             : /* Structure for variable table */
    1324             : typedef struct {
    1325             :   const char   *name;
    1326             :   SwigMagicFunc   set;
    1327             :   SwigMagicFunc   get;
    1328             :   swig_type_info  **type;
    1329             : } swig_variable_info;
    1330             : 
    1331             : /* Magic variable code */
    1332             : #ifndef PERL_OBJECT
    1333             : # ifdef __cplusplus
    1334             : #  define swig_create_magic(s,a,b,c) _swig_create_magic(s,const_cast<char*>(a),b,c)
    1335             : # else
    1336             : #  define swig_create_magic(s,a,b,c) _swig_create_magic(s,(char*)(a),b,c)
    1337             : # endif
    1338             : # ifndef MULTIPLICITY
    1339             : SWIGRUNTIME void _swig_create_magic(SV *sv, char *name, int (*set)(SV *, MAGIC *), int (*get)(SV *,MAGIC *)) 
    1340             : # else
    1341           0 : SWIGRUNTIME void _swig_create_magic(SV *sv, char *name, int (*set)(struct interpreter*, SV *, MAGIC *), int (*get)(struct interpreter*, SV *,MAGIC *)) 
    1342             : # endif
    1343             : #else
    1344             : #  define swig_create_magic(s,a,b,c) _swig_create_magic(pPerl,s,a,b,c)
    1345             : SWIGRUNTIME void _swig_create_magic(CPerlObj *pPerl, SV *sv, const char *name, int (CPerlObj::*set)(SV *, MAGIC *), int (CPerlObj::*get)(SV *, MAGIC *)) 
    1346             : #endif
    1347             : {
    1348             :   MAGIC *mg;
    1349           0 :   sv_magic(sv,sv,'U',name,strlen(name));
    1350           0 :   mg = mg_find(sv,'U');
    1351           0 :   mg->mg_virtual = (MGVTBL *) malloc(sizeof(MGVTBL));
    1352           0 :   mg->mg_virtual->svt_get = (SwigMagicFunc) get;
    1353           0 :   mg->mg_virtual->svt_set = (SwigMagicFunc) set;
    1354           0 :   mg->mg_virtual->svt_len = 0;
    1355           0 :   mg->mg_virtual->svt_clear = 0;
    1356           0 :   mg->mg_virtual->svt_free = 0;
    1357           0 : }
    1358             : 
    1359             : 
    1360             : SWIGRUNTIME swig_module_info *
    1361           1 : SWIG_Perl_GetModule(void *SWIGUNUSEDPARM(clientdata)) {
    1362             :   static void *type_pointer = (void *)0;
    1363             :   SV *pointer;
    1364             : 
    1365             :   /* first check if pointer already created */
    1366           1 :   if (!type_pointer) {
    1367           1 :     pointer = get_sv("swig_runtime_data::type_pointer" SWIG_RUNTIME_VERSION SWIG_TYPE_TABLE_NAME, FALSE | GV_ADDMULTI);
    1368           1 :     if (pointer && SvOK(pointer)) {
    1369           0 :       type_pointer = INT2PTR(swig_type_info **, SvIV(pointer));
    1370             :     }
    1371             :   }
    1372             : 
    1373           1 :   return (swig_module_info *) type_pointer;
    1374             : }
    1375             : 
    1376             : SWIGRUNTIME void
    1377           1 : SWIG_Perl_SetModule(swig_module_info *module) {
    1378             :   SV *pointer;
    1379             : 
    1380             :   /* create a new pointer */
    1381           1 :   pointer = get_sv("swig_runtime_data::type_pointer" SWIG_RUNTIME_VERSION SWIG_TYPE_TABLE_NAME, TRUE | GV_ADDMULTI);
    1382           1 :   sv_setiv(pointer, PTR2IV(module));
    1383           1 : }
    1384             : 
    1385             : #ifdef __cplusplus
    1386             : }
    1387             : #endif
    1388             : 
    1389             : /* Workaround perl5 global namespace pollution. Note that undefining library
    1390             :  * functions like fopen will not solve the problem on all platforms as fopen
    1391             :  * might be a macro on Windows but not necessarily on other operating systems. */
    1392             : #ifdef do_open
    1393             :   #undef do_open
    1394             : #endif
    1395             : #ifdef do_close
    1396             :   #undef do_close
    1397             : #endif
    1398             : #ifdef do_exec
    1399             :   #undef do_exec
    1400             : #endif
    1401             : #ifdef scalar
    1402             :   #undef scalar
    1403             : #endif
    1404             : #ifdef list
    1405             :   #undef list
    1406             : #endif
    1407             : #ifdef apply
    1408             :   #undef apply
    1409             : #endif
    1410             : #ifdef convert
    1411             :   #undef convert
    1412             : #endif
    1413             : #ifdef Error
    1414             :   #undef Error
    1415             : #endif
    1416             : #ifdef form
    1417             :   #undef form
    1418             : #endif
    1419             : #ifdef vform
    1420             :   #undef vform
    1421             : #endif
    1422             : #ifdef LABEL
    1423             :   #undef LABEL
    1424             : #endif
    1425             : #ifdef METHOD
    1426             :   #undef METHOD
    1427             : #endif
    1428             : #ifdef Move
    1429             :   #undef Move
    1430             : #endif
    1431             : #ifdef yylex
    1432             :   #undef yylex
    1433             : #endif
    1434             : #ifdef yyparse
    1435             :   #undef yyparse
    1436             : #endif
    1437             : #ifdef yyerror
    1438             :   #undef yyerror
    1439             : #endif
    1440             : #ifdef invert
    1441             :   #undef invert
    1442             : #endif
    1443             : #ifdef ref
    1444             :   #undef ref
    1445             : #endif
    1446             : #ifdef read
    1447             :   #undef read
    1448             : #endif
    1449             : #ifdef write
    1450             :   #undef write
    1451             : #endif
    1452             : #ifdef eof
    1453             :   #undef eof
    1454             : #endif
    1455             : #ifdef close
    1456             :   #undef close
    1457             : #endif
    1458             : #ifdef rewind
    1459             :   #undef rewind
    1460             : #endif
    1461             : #ifdef free
    1462             :   #undef free
    1463             : #endif
    1464             : #ifdef malloc
    1465             :   #undef malloc
    1466             : #endif
    1467             : #ifdef calloc
    1468             :   #undef calloc
    1469             : #endif
    1470             : #ifdef Stat
    1471             :   #undef Stat
    1472             : #endif
    1473             : #ifdef check
    1474             :   #undef check
    1475             : #endif
    1476             : #ifdef seekdir
    1477             :   #undef seekdir
    1478             : #endif
    1479             : #ifdef open
    1480             :   #undef open
    1481             : #endif
    1482             : #ifdef readdir
    1483             :   #undef readdir
    1484             : #endif
    1485             : #ifdef bind
    1486             :   #undef bind
    1487             : #endif
    1488             : #ifdef access
    1489             :   #undef access
    1490             : #endif
    1491             : #ifdef stat
    1492             :   #undef stat
    1493             : #endif
    1494             : #ifdef seed
    1495             :   #undef seed
    1496             : #endif
    1497             : 
    1498             : #ifdef bool
    1499             :   /* Leave if macro is from C99 stdbool.h */
    1500             :   #ifndef __bool_true_false_are_defined
    1501             :     #undef bool
    1502             :   #endif
    1503             : #endif
    1504             : 
    1505             : 
    1506             : 
    1507             : 
    1508             : #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0) 
    1509             : 
    1510             : #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else 
    1511             : 
    1512             : 
    1513             : 
    1514             :   #define SWIG_exception(code, msg) do { SWIG_Error(code, msg); SWIG_fail;; } while(0) 
    1515             : 
    1516             : 
    1517             : /* -------- TYPES TABLE (BEGIN) -------- */
    1518             : 
    1519             : #define SWIGTYPE_p_CompositingOperation swig_types[0]
    1520             : #define SWIGTYPE_p_DBFFieldType swig_types[1]
    1521             : #define SWIGTYPE_p_DBFInfo swig_types[2]
    1522             : #define SWIGTYPE_p_FILE swig_types[3]
    1523             : #define SWIGTYPE_p_VSILFILE swig_types[4]
    1524             : #define SWIGTYPE_p__CompositingFilter swig_types[5]
    1525             : #define SWIGTYPE_p__LayerCompositer swig_types[6]
    1526             : #define SWIGTYPE_p_cgiRequestObj swig_types[7]
    1527             : #define SWIGTYPE_p_char swig_types[8]
    1528             : #define SWIGTYPE_p_classObj swig_types[9]
    1529             : #define SWIGTYPE_p_clusterObj swig_types[10]
    1530             : #define SWIGTYPE_p_colorObj swig_types[11]
    1531             : #define SWIGTYPE_p_debugLevel swig_types[12]
    1532             : #define SWIGTYPE_p_double swig_types[13]
    1533             : #define SWIGTYPE_p_errorObj swig_types[14]
    1534             : #define SWIGTYPE_p_expressionObj swig_types[15]
    1535             : #define SWIGTYPE_p_fontSetObj swig_types[16]
    1536             : #define SWIGTYPE_p_hashTableObj swig_types[17]
    1537             : #define SWIGTYPE_p_imageObj swig_types[18]
    1538             : #define SWIGTYPE_p_int swig_types[19]
    1539             : #define SWIGTYPE_p_int32_t swig_types[20]
    1540             : #define SWIGTYPE_p_intarray swig_types[21]
    1541             : #define SWIGTYPE_p_labelCacheMemberObj swig_types[22]
    1542             : #define SWIGTYPE_p_labelCacheObj swig_types[23]
    1543             : #define SWIGTYPE_p_labelCacheSlotObj swig_types[24]
    1544             : #define SWIGTYPE_p_labelLeaderObj swig_types[25]
    1545             : #define SWIGTYPE_p_labelObj swig_types[26]
    1546             : #define SWIGTYPE_p_layerObj swig_types[27]
    1547             : #define SWIGTYPE_p_legendObj swig_types[28]
    1548             : #define SWIGTYPE_p_lineObj swig_types[29]
    1549             : #define SWIGTYPE_p_mapObj swig_types[30]
    1550             : #define SWIGTYPE_p_markerCacheMemberObj swig_types[31]
    1551             : #define SWIGTYPE_p_outputFormatObj swig_types[32]
    1552             : #define SWIGTYPE_p_p_char swig_types[33]
    1553             : #define SWIGTYPE_p_p_labelCacheMemberObj swig_types[34]
    1554             : #define SWIGTYPE_p_p_textSymbolObj swig_types[35]
    1555             : #define SWIGTYPE_p_pointObj swig_types[36]
    1556             : #define SWIGTYPE_p_projectionContext swig_types[37]
    1557             : #define SWIGTYPE_p_projectionObj swig_types[38]
    1558             : #define SWIGTYPE_p_queryMapObj swig_types[39]
    1559             : #define SWIGTYPE_p_rectObj swig_types[40]
    1560             : #define SWIGTYPE_p_referenceMapObj swig_types[41]
    1561             : #define SWIGTYPE_p_resultCacheObj swig_types[42]
    1562             : #define SWIGTYPE_p_resultObj swig_types[43]
    1563             : #define SWIGTYPE_p_scaleTokenEntryObj swig_types[44]
    1564             : #define SWIGTYPE_p_scaleTokenObj swig_types[45]
    1565             : #define SWIGTYPE_p_scalebarObj swig_types[46]
    1566             : #define SWIGTYPE_p_shapeObj swig_types[47]
    1567             : #define SWIGTYPE_p_shapefileObj swig_types[48]
    1568             : #define SWIGTYPE_p_styleObj swig_types[49]
    1569             : #define SWIGTYPE_p_symbolObj swig_types[50]
    1570             : #define SWIGTYPE_p_symbolSetObj swig_types[51]
    1571             : #define SWIGTYPE_p_uint32_t swig_types[52]
    1572             : #define SWIGTYPE_p_webObj swig_types[53]
    1573             : static swig_type_info *swig_types[55];
    1574             : static swig_module_info swig_module = {swig_types, 54, 0, 0, 0, 0};
    1575             : #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
    1576             : #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
    1577             : 
    1578             : /* -------- TYPES TABLE (END) -------- */
    1579             : 
    1580             : #define SWIG_init    boot_mapscript
    1581             : 
    1582             : #define SWIG_name   "mapscriptc::boot_mapscript"
    1583             : #define SWIG_prefix "mapscriptc::"
    1584             : 
    1585             : #define SWIGVERSION 0x030012 
    1586             : #define SWIG_VERSION SWIGVERSION
    1587             : 
    1588             : 
    1589             : #define SWIG_as_voidptr(a) (void *)((const void *)(a)) 
    1590             : #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),(void**)(a)) 
    1591             : 
    1592             : 
    1593             : #ifdef __cplusplus
    1594             : extern "C"
    1595             : #endif
    1596             : #ifndef PERL_OBJECT
    1597             : #ifndef MULTIPLICITY
    1598             : SWIGEXPORT void SWIG_init (CV* cv);
    1599             : #else
    1600             : SWIGEXPORT void SWIG_init (pTHXo_ CV* cv);
    1601             : #endif
    1602             : #else
    1603             : SWIGEXPORT void SWIG_init (CV *cv, CPerlObj *);
    1604             : #endif
    1605             : 
    1606             : 
    1607             : #include "../../mapserver.h"
    1608             : #include "../../maptemplate.h"
    1609             : #include "../../mapogcsld.h"
    1610             : #include "../../mapows.h"
    1611             : #include "../../cgiutil.h"
    1612             : #include "../../mapcopy.h"
    1613             : #include "../../maperror.h"
    1614             : #include "../../mapprimitive.h"
    1615             : #include "../../mapshape.h"
    1616             : 
    1617             : #if defined(WIN32) && defined(SWIGCSHARP)
    1618             : /* <windows.h> is needed for GetExceptionCode() for unhandled exception */
    1619             : #include <windows.h>
    1620             : #endif
    1621             : 
    1622             : 
    1623             : 
    1624             : typedef int intarray;
    1625             : 
    1626             : 
    1627             : #include <limits.h>
    1628             : #if !defined(SWIG_NO_LLONG_MAX)
    1629             : # if !defined(LLONG_MAX) && defined(__GNUC__) && defined (__LONG_LONG_MAX__)
    1630             : #   define LLONG_MAX __LONG_LONG_MAX__
    1631             : #   define LLONG_MIN (-LLONG_MAX - 1LL)
    1632             : #   define ULLONG_MAX (LLONG_MAX * 2ULL + 1ULL)
    1633             : # endif
    1634             : #endif
    1635             : 
    1636             : 
    1637             : #include <stdlib.h>
    1638             : #ifdef _MSC_VER
    1639             : # ifndef strtoull
    1640             : #  define strtoull _strtoui64
    1641             : # endif
    1642             : # ifndef strtoll
    1643             : #  define strtoll _strtoi64
    1644             : # endif
    1645             : #endif
    1646             : 
    1647             : 
    1648             : SWIGINTERN int
    1649           0 : SWIG_AsVal_double SWIG_PERL_DECL_ARGS_2(SV *obj, double *val)
    1650             : {
    1651           0 :   if (SvNIOK(obj)) {
    1652           0 :     if (val) *val = SvNV(obj);
    1653             :     return SWIG_OK;
    1654           0 :   } else if (SvIOK(obj)) {
    1655           0 :     if (val) *val = (double) SvIV(obj);
    1656             :     return SWIG_AddCast(SWIG_OK);
    1657             :   } else {
    1658           0 :     const char *nptr = SvPV_nolen(obj);
    1659           0 :     if (nptr) {
    1660             :       char *endptr;
    1661             :       double v;
    1662           0 :       errno = 0;
    1663           0 :       v = strtod(nptr, &endptr);
    1664           0 :       if (errno == ERANGE) {
    1665           0 :   errno = 0;
    1666           0 :   return SWIG_OverflowError;
    1667             :       } else {
    1668           0 :   if (*endptr == '\0') {
    1669           0 :     if (val) *val = v;
    1670             :     return SWIG_Str2NumCast(SWIG_OK);
    1671             :   }
    1672             :       }
    1673             :     }
    1674             :   }
    1675             :   return SWIG_TypeError;
    1676             : }
    1677             : 
    1678             : 
    1679             : #include <float.h>
    1680             : 
    1681             : 
    1682             : #include <math.h>
    1683             : 
    1684             : 
    1685             : SWIGINTERNINLINE int
    1686           0 : SWIG_CanCastAsInteger(double *d, double min, double max) {
    1687           0 :   double x = *d;
    1688           0 :   if ((min <= x && x <= max)) {
    1689           0 :    double fx = floor(x);
    1690           0 :    double cx = ceil(x);
    1691           0 :    double rd =  ((x - fx) < 0.5) ? fx : cx; /* simple rint */
    1692           0 :    if ((errno == EDOM) || (errno == ERANGE)) {
    1693           0 :      errno = 0;
    1694             :    } else {
    1695             :      double summ, reps, diff;
    1696           0 :      if (rd < x) {
    1697           0 :        diff = x - rd;
    1698           0 :      } else if (rd > x) {
    1699           0 :        diff = rd - x;
    1700             :      } else {
    1701             :        return 1;
    1702             :      }
    1703           0 :      summ = rd + x;
    1704           0 :      reps = diff/summ;
    1705           0 :      if (reps < 8*DBL_EPSILON) {
    1706           0 :        *d = rd;
    1707           0 :        return 1;
    1708             :      }
    1709             :    }
    1710             :   }
    1711             :   return 0;
    1712             : }
    1713             : 
    1714             : 
    1715             : SWIGINTERN int
    1716           0 : SWIG_AsVal_unsigned_SS_long SWIG_PERL_DECL_ARGS_2(SV *obj, unsigned long *val) 
    1717             : {
    1718           0 :   if (SvUOK(obj)) {
    1719           0 :     UV v = SvUV(obj);
    1720             :     if (UVSIZE <= sizeof(*val) || v <= ULONG_MAX) {
    1721           0 :       if (val) *val = v;
    1722             :       return SWIG_OK;
    1723             :     }
    1724             :     return SWIG_OverflowError;
    1725           0 :   } else if (SvIOK(obj)) {
    1726           0 :     IV v = SvIV(obj);
    1727           0 :     if (v >= 0 && (IVSIZE <= sizeof(*val) || v <= ULONG_MAX)) {
    1728           0 :       if (val) *val = v;
    1729             :       return SWIG_OK;
    1730             :     }
    1731             :     return SWIG_OverflowError;
    1732             :   } else {
    1733             :     int dispatch = 0;
    1734           0 :     const char *nptr = SvPV_nolen(obj);
    1735           0 :     if (nptr) {
    1736             :       char *endptr;
    1737             :       unsigned long v;
    1738           0 :       errno = 0;
    1739           0 :       v = strtoul(nptr, &endptr,0);
    1740           0 :       if (errno == ERANGE) {
    1741           0 :   errno = 0;
    1742           0 :   return SWIG_OverflowError;
    1743             :       } else {
    1744           0 :   if (*endptr == '\0') {
    1745           0 :     if (val) *val = v;
    1746             :     return SWIG_Str2NumCast(SWIG_OK);
    1747             :   }
    1748             :       }
    1749             :     }
    1750             :     if (!dispatch) {
    1751             :       double d;
    1752           0 :       int res = SWIG_AddCast(SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(obj,&d));
    1753           0 :       if (SWIG_IsOK(res) && SWIG_CanCastAsInteger(&d, 0, ULONG_MAX)) {
    1754           0 :   if (val) *val = (unsigned long)(d);
    1755           0 :   return res;
    1756             :       }
    1757             :     }
    1758             :   }
    1759           0 :   return SWIG_TypeError;
    1760             : }
    1761             : 
    1762             : 
    1763             : #if defined(LLONG_MAX) && !defined(SWIG_LONG_LONG_AVAILABLE)
    1764             : #  define SWIG_LONG_LONG_AVAILABLE
    1765             : #endif
    1766             : 
    1767             : 
    1768             : #ifdef SWIG_LONG_LONG_AVAILABLE
    1769             : SWIGINTERN int
    1770             : SWIG_AsVal_unsigned_SS_long_SS_long SWIG_PERL_DECL_ARGS_2(SV *obj, unsigned long long *val)
    1771             : {
    1772             :   if (SvUOK(obj)) {
    1773             :     /* pretty sure this should be conditional on
    1774             :      * (UVSIZE <= sizeof(*val) || v <= ULLONG_MAX) */
    1775             :     if (val) *val = SvUV(obj);
    1776             :     return SWIG_OK;
    1777             :   } else  if (SvIOK(obj)) {
    1778             :     IV v = SvIV(obj);
    1779             :     if (v >= 0 && (IVSIZE <= sizeof(*val) || v <= ULLONG_MAX)) {
    1780             :       if (val) *val = v;
    1781             :       return SWIG_OK;
    1782             :     } else {
    1783             :       return SWIG_OverflowError;
    1784             :     }
    1785             :   } else {
    1786             :     int dispatch = 0;
    1787             :     const char *nptr = SvPV_nolen(obj);
    1788             :     if (nptr) {
    1789             :       char *endptr;
    1790             :       unsigned long long v;
    1791             :       errno = 0;
    1792             :       v = strtoull(nptr, &endptr,0);
    1793             :       if (errno == ERANGE) {
    1794             :   errno = 0;
    1795             :   return SWIG_OverflowError;
    1796             :       } else {
    1797             :   if (*endptr == '\0') {
    1798             :     if (val) *val = v;
    1799             :     return SWIG_Str2NumCast(SWIG_OK);
    1800             :   }
    1801             :       }
    1802             :     }
    1803             :     if (!dispatch) {
    1804             :       const double mant_max = 1LL << DBL_MANT_DIG;
    1805             :       double d;
    1806             :       int res = SWIG_AddCast(SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(obj,&d));
    1807             :       if (SWIG_IsOK(res) && SWIG_CanCastAsInteger(&d, 0, mant_max)) {
    1808             :   if (val) *val = (unsigned long long)(d);
    1809             :   return res;
    1810             :       }
    1811             :     }
    1812             :   }
    1813             :   return SWIG_TypeError;
    1814             : }
    1815             : #endif
    1816             : 
    1817             : 
    1818             : SWIGINTERNINLINE int
    1819             : SWIG_AsVal_size_t SWIG_PERL_DECL_ARGS_2(SV * obj, size_t *val)
    1820             : {
    1821             :   int res = SWIG_TypeError;
    1822             : #ifdef SWIG_LONG_LONG_AVAILABLE
    1823             :   if (sizeof(size_t) <= sizeof(unsigned long)) {
    1824             : #endif
    1825             :     unsigned long v;
    1826           0 :     res = SWIG_AsVal_unsigned_SS_long SWIG_PERL_CALL_ARGS_2(obj, val ? &v : 0);
    1827           0 :     if (SWIG_IsOK(res) && val) *val = (size_t)(v);
    1828             : #ifdef SWIG_LONG_LONG_AVAILABLE
    1829             :   } else if (sizeof(size_t) <= sizeof(unsigned long long)) {
    1830             :     unsigned long long v;
    1831             :     res = SWIG_AsVal_unsigned_SS_long_SS_long SWIG_PERL_CALL_ARGS_2(obj, val ? &v : 0);
    1832             :     if (SWIG_IsOK(res) && val) *val = (size_t)(v);
    1833             :   }
    1834             : #endif
    1835             :   return res;
    1836             : }
    1837             : 
    1838             : SWIGINTERN intarray *new_intarray(size_t nelements){
    1839           0 :     return (int *)calloc(nelements, sizeof(int));
    1840             :   }
    1841             : SWIGINTERN void delete_intarray(intarray *self){
    1842           0 :     free((char*)self);
    1843             :   }
    1844             : SWIGINTERN int intarray_getitem(intarray *self,size_t index){
    1845           0 :     return self[index];
    1846             :   }
    1847             : 
    1848             : SWIGINTERNINLINE SV *
    1849           1 : SWIG_From_long  SWIG_PERL_DECL_ARGS_1(long value)
    1850             : {
    1851             :   SV *sv;
    1852             :   if (IVSIZE >= sizeof(value) || (value >= IV_MIN && value <= IV_MAX))
    1853           1 :     sv = newSViv(value);
    1854             :   else
    1855             :     sv = newSVpvf("%ld", value);
    1856           1 :   return sv_2mortal(sv);
    1857             : }
    1858             : 
    1859             : 
    1860             : SWIGINTERNINLINE SV *
    1861             : SWIG_From_int  SWIG_PERL_DECL_ARGS_1(int value)
    1862             : {    
    1863           1 :   return SWIG_From_long  SWIG_PERL_CALL_ARGS_1(value);
    1864             : }
    1865             : 
    1866             : 
    1867             : SWIGINTERN int
    1868           1 : SWIG_AsVal_long SWIG_PERL_DECL_ARGS_2(SV *obj, long* val)
    1869             : {
    1870           1 :   if (SvUOK(obj)) {
    1871           0 :     UV v = SvUV(obj);
    1872           0 :     if (UVSIZE < sizeof(*val) || v <= LONG_MAX) {
    1873           0 :       if (val) *val = v;
    1874             :       return SWIG_OK;
    1875             :     }
    1876             :     return SWIG_OverflowError;
    1877           1 :   } else if (SvIOK(obj)) {
    1878           1 :     IV v = SvIV(obj);
    1879             :     if (IVSIZE <= sizeof(*val) || (v >= LONG_MIN && v <= LONG_MAX)) {
    1880           1 :       if(val) *val = v;
    1881             :       return SWIG_OK;
    1882             :     }
    1883             :     return SWIG_OverflowError;
    1884             :   } else {
    1885             :     int dispatch = 0;
    1886           1 :     const char *nptr = SvPV_nolen(obj);
    1887           1 :     if (nptr) {
    1888             :       char *endptr;
    1889             :       long v;
    1890           1 :       errno = 0;
    1891           1 :       v = strtol(nptr, &endptr,0);
    1892           1 :       if (errno == ERANGE) {
    1893           0 :   errno = 0;
    1894           1 :   return SWIG_OverflowError;
    1895             :       } else {
    1896           1 :   if (*endptr == '\0') {
    1897           1 :     if (val) *val = v;
    1898             :     return SWIG_Str2NumCast(SWIG_OK);
    1899             :   }
    1900             :       }
    1901             :     }
    1902             :     if (!dispatch) {
    1903             :       double d;
    1904           0 :       int res = SWIG_AddCast(SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(obj,&d));
    1905           0 :       if (SWIG_IsOK(res) && SWIG_CanCastAsInteger(&d, LONG_MIN, LONG_MAX)) {
    1906           0 :   if (val) *val = (long)(d);
    1907           0 :   return res;
    1908             :       }
    1909             :     }
    1910             :   }
    1911           0 :   return SWIG_TypeError;
    1912             : }
    1913             : 
    1914             : 
    1915             : SWIGINTERN int
    1916             : SWIG_AsVal_int SWIG_PERL_DECL_ARGS_2(SV * obj, int *val)
    1917             : {
    1918             :   long v;
    1919           1 :   int res = SWIG_AsVal_long SWIG_PERL_CALL_ARGS_2(obj, &v);
    1920           1 :   if (SWIG_IsOK(res)) {
    1921           1 :     if ((v < INT_MIN || v > INT_MAX)) {
    1922             :       return SWIG_OverflowError;
    1923             :     } else {
    1924           1 :       if (val) *val = (int)(v);
    1925             :     }
    1926             :   }  
    1927             :   return res;
    1928             : }
    1929             : 
    1930             : SWIGINTERN void intarray_setitem(intarray *self,size_t index,int value){
    1931           0 :     self[index] = value;
    1932             :   }
    1933             : SWIGINTERN int *intarray_cast(intarray *self){
    1934             :     return self;
    1935             :   }
    1936             : SWIGINTERN intarray *intarray_frompointer(int *t){
    1937             :     return (intarray *)(t);
    1938             :   }
    1939             : 
    1940             : #ifdef __cplusplus
    1941             : extern "C" {
    1942             : #endif
    1943             : 
    1944             : typedef struct {
    1945             :     unsigned char *data;
    1946             :     int size;
    1947             :     int owns_data;
    1948             : } gdBuffer;
    1949             : 
    1950             : #ifdef __cplusplus
    1951             : }
    1952             : #endif
    1953             : 
    1954             : 
    1955             : SWIGINTERN swig_type_info*
    1956           0 : SWIG_pchar_descriptor(void)
    1957             : {
    1958             :   static int init = 0;
    1959             :   static swig_type_info* info = 0;
    1960           0 :   if (!init) {
    1961           0 :     info = SWIG_TypeQuery("_p_char");
    1962           0 :     init = 1;
    1963             :   }
    1964           0 :   return info;
    1965             : }
    1966             : 
    1967             : 
    1968             : SWIGINTERN int
    1969           1 : SWIG_AsCharPtrAndSize(SV *obj, char** cptr, size_t* psize, int *alloc)
    1970             : {
    1971           1 :   if (SvMAGICAL(obj)) {
    1972           0 :      SV *tmp = sv_newmortal();
    1973           0 :      SvSetSV(tmp, obj);
    1974             :      obj = tmp;
    1975             :   }
    1976           1 :   if (SvPOK(obj)) {
    1977           1 :     STRLEN len = 0;
    1978           1 :     char *cstr = SvPV(obj, len); 
    1979           1 :     size_t size = len + 1;
    1980           1 :     if (cptr)  {
    1981           1 :       if (alloc) {
    1982           1 :   if (*alloc == SWIG_NEWOBJ) {
    1983           0 :     *cptr = (char *)memcpy(malloc((size)*sizeof(char)), cstr, sizeof(char)*(size));
    1984             :   } else {
    1985           1 :     *cptr = cstr;
    1986           1 :     *alloc = SWIG_OLDOBJ;
    1987             :   }
    1988             :       }
    1989             :     }
    1990           1 :     if (psize) *psize = size;
    1991             :     return SWIG_OK;
    1992             :   } else {
    1993           0 :     swig_type_info* pchar_descriptor = SWIG_pchar_descriptor();
    1994           0 :     if (pchar_descriptor) {
    1995           0 :       char* vptr = 0; 
    1996           0 :       if (SWIG_ConvertPtr(obj, (void**)&vptr, pchar_descriptor, 0) == SWIG_OK) {
    1997           0 :   if (cptr) *cptr = vptr;
    1998           0 :   if (psize) *psize = vptr ? (strlen(vptr) + 1) : 0;
    1999           0 :   if (alloc) *alloc = SWIG_OLDOBJ;
    2000           0 :   return SWIG_OK;
    2001             :       }
    2002             :     }
    2003             :   }
    2004             :   return SWIG_TypeError;
    2005             : }
    2006             : 
    2007             : 
    2008             : 
    2009             : 
    2010             : 
    2011             : SWIGINTERNINLINE SV *
    2012           1 : SWIG_FromCharPtrAndSize(const char* carray, size_t size)
    2013             : {
    2014           1 :   SV *obj = sv_newmortal();
    2015           1 :   if (carray) {
    2016           1 :     sv_setpvn(obj, carray, size);
    2017             :   } else {
    2018           0 :     sv_setsv(obj, &PL_sv_undef);
    2019             :   }
    2020           1 :   return obj;
    2021             : }
    2022             : 
    2023             : 
    2024             : SWIGINTERNINLINE SV * 
    2025           1 : SWIG_FromCharPtr(const char *cptr)
    2026             : { 
    2027           1 :   return SWIG_FromCharPtrAndSize(cptr, (cptr ? strlen(cptr) : 0));
    2028             : }
    2029             : 
    2030             : 
    2031             : SWIGINTERNINLINE SV *
    2032           1 : SWIG_From_double  SWIG_PERL_DECL_ARGS_1(double value)
    2033             : {
    2034           1 :   return sv_2mortal(newSVnv(value));
    2035             : }
    2036             : 
    2037             : SWIGINTERN int clusterObj_updateFromString(clusterObj *self,char *snippet){
    2038           0 :     return msUpdateClusterFromString(self, snippet);
    2039             :   }
    2040             : SWIGINTERN char *clusterObj_convertToString(clusterObj *self){
    2041           0 :     return msWriteClusterToString(self);
    2042             :   }
    2043           0 : SWIGINTERN int clusterObj_setGroup(clusterObj *self,char *group){
    2044           0 :     if (!group || strlen(group) == 0) {
    2045           0 :        msFreeExpression(&self->group);
    2046           0 :        return MS_SUCCESS;
    2047             :     }
    2048           0 :     else return msLoadExpressionString(&self->group, group);
    2049             :   }
    2050             : SWIGINTERN char *clusterObj_getGroupString(clusterObj *self){
    2051           0 :     return msGetExpressionString(&(self->group));
    2052             :   }
    2053           0 : SWIGINTERN int clusterObj_setFilter(clusterObj *self,char *filter){
    2054           0 :     if (!filter || strlen(filter) == 0) {
    2055           0 :       msFreeExpression(&self->filter);
    2056           0 :       return MS_SUCCESS;
    2057             :     }
    2058           0 :     else return msLoadExpressionString(&self->filter, filter);
    2059             :   }
    2060             : SWIGINTERN char *clusterObj_getFilterString(clusterObj *self){
    2061           0 :     return msGetExpressionString(&(self->filter));
    2062             :   }
    2063           0 : SWIGINTERN outputFormatObj *new_outputFormatObj(char const *driver,char *name){
    2064             :         outputFormatObj *format;
    2065             : 
    2066           0 :         format = msCreateDefaultOutputFormat(NULL, driver, name);
    2067             : 
    2068             :         /* in the case of unsupported formats, msCreateDefaultOutputFormat
    2069             :            should return NULL */
    2070           0 :         if (!format)
    2071             :         {
    2072           0 :             msSetError(12, "Unsupported format driver: %s",
    2073             :                        "outputFormatObj()", driver);
    2074           0 :             return NULL;
    2075             :         }
    2076             :         
    2077           0 :         msInitializeRendererVTable(format);
    2078             : 
    2079           0 :         MS_REFCNT_INIT(format);
    2080           0 :         format->inmapfile = 1;
    2081             : 
    2082           0 :         return format;
    2083             :     }
    2084             : SWIGINTERN void delete_outputFormatObj(outputFormatObj *self){
    2085           0 :         msFreeOutputFormat( self );
    2086             :     }
    2087             : SWIGINTERN void outputFormatObj_setExtension(outputFormatObj *self,char const *extension){
    2088           0 :         msFree( self->extension );
    2089           0 :         self->extension = msStrdup(extension);
    2090             :     }
    2091             : SWIGINTERN void outputFormatObj_setMimetype(outputFormatObj *self,char const *mimetype){
    2092           0 :         msFree( self->mimetype );
    2093           0 :         self->mimetype = msStrdup(mimetype);
    2094             :     }
    2095             : SWIGINTERN void outputFormatObj_setOption(outputFormatObj *self,char const *key,char const *value){
    2096           0 :         msSetOutputFormatOption( self, key, value );
    2097             :     }
    2098             : SWIGINTERN int outputFormatObj_validate(outputFormatObj *self){
    2099           0 :         return msOutputFormatValidate(self, 0 );
    2100             :     }
    2101             : SWIGINTERN char *outputFormatObj_getOption(outputFormatObj *self,char const *key,char const *value){
    2102           0 :         return msStrdup(msGetOutputFormatOption(self, key, value));
    2103             :     }
    2104             : SWIGINTERN char *outputFormatObj_getOptionAt(outputFormatObj *self,int i){
    2105           0 :        if( i >= 0 && i < self->numformatoptions ) {
    2106           0 :           return msStrdup(self->formatoptions[i]);
    2107             :        }
    2108             :        return NULL;
    2109             :     }
    2110             : SWIGINTERN void outputFormatObj_attachDevice(outputFormatObj *self,void *device){
    2111           0 :         self->device = device;
    2112             :     }
    2113             : SWIGINTERN int queryMapObj_updateFromString(queryMapObj *self,char *snippet){
    2114           0 :     return msUpdateQueryMapFromString(self, snippet, 0);
    2115             :   }
    2116             : SWIGINTERN char *queryMapObj_convertToString(queryMapObj *self){
    2117           0 :     return msWriteQueryMapToString(self);
    2118             :   }
    2119             : SWIGINTERN webObj *new_webObj(void){
    2120             :         webObj *web;
    2121           0 :         web = (webObj *) malloc(sizeof(webObj));
    2122           0 :         initWeb(web);
    2123             :         return web;
    2124             :     }
    2125             : SWIGINTERN void delete_webObj(webObj *self){
    2126           0 :         if (!self) return;
    2127           0 :         freeWeb(self);
    2128           0 :         free(self);
    2129             :     }
    2130             : SWIGINTERN int webObj_updateFromString(webObj *self,char *snippet){
    2131           0 :         return msUpdateWebFromString(self, snippet, 0);
    2132             :     }
    2133             : SWIGINTERN char *webObj_convertToString(webObj *self){
    2134           0 :         return msWriteWebToString(self);
    2135             :     }
    2136           0 : SWIGINTERN struct styleObj *new_styleObj(classObj *parent_class){
    2137             :     
    2138             :         styleObj *style = NULL;
    2139             :         
    2140           0 :         if (parent_class!=NULL) {
    2141           0 :             if ((style = msGrowClassStyles(parent_class)) == NULL)
    2142             :                 return NULL;
    2143             : 
    2144           0 :             if ( initStyle(style) == MS_FAILURE ) {
    2145           0 :                 msSetError(12, "Failed to init new styleObj instance",
    2146             :                                        "initStyle()");
    2147             :             }
    2148           0 :             parent_class->numstyles++;
    2149           0 :             MS_REFCNT_INCR(style);
    2150             :         }
    2151             :         else {
    2152           0 :             style = (styleObj *) malloc(sizeof(styleObj));
    2153           0 :             if (!style) { 
    2154           0 :                 msSetError(2, "Failed to allocate memory for new styleObj instance",
    2155             :                                        "styleObj()");
    2156           0 :                 return NULL;
    2157             :             }
    2158           0 :             if ( initStyle(style) == MS_FAILURE ) {
    2159           0 :                 msSetError(12, "Failed to init new styleObj instance",
    2160             :                                        "initStyle()");
    2161           0 :                 msFree(style);
    2162           0 :                 return NULL;
    2163             :             }
    2164             :         }
    2165             :         return style;
    2166             :     }
    2167           0 : SWIGINTERN void delete_styleObj(struct styleObj *self){
    2168           0 :         if (self) { 
    2169           0 :             if ( freeStyle(self) == MS_SUCCESS ) {
    2170           0 :                         free(self);
    2171             :                 self=NULL;
    2172             :             }
    2173             :         }
    2174           0 :     }
    2175             : SWIGINTERN int styleObj_updateFromString(struct styleObj *self,char *snippet){
    2176           0 :         return msUpdateStyleFromString(self, snippet, 0);
    2177             :     }
    2178             : SWIGINTERN char *styleObj_convertToString(struct styleObj *self){
    2179           0 :         return msWriteStyleToString(self);
    2180             :     }
    2181           0 : SWIGINTERN styleObj *styleObj_clone(struct styleObj *self){
    2182             :         styleObj *style;
    2183             : 
    2184           0 :         style = (styleObj *) malloc(sizeof(styleObj));
    2185           0 :         if (!style)
    2186             :         {
    2187           0 :             msSetError(2,
    2188             :                 "Could not allocate memory for new styleObj instance",
    2189             :                 "clone()");
    2190           0 :             return NULL;
    2191             :         }
    2192           0 :         if (initStyle(style) == -1)
    2193             :         {
    2194           0 :             msSetError(2, "Failed to initialize Style",
    2195             :                                   "clone()");
    2196           0 :             return NULL;
    2197             :         }
    2198             : 
    2199           0 :         if (msCopyStyle(style, self) != MS_SUCCESS)
    2200             :         {
    2201           0 :             free(style);
    2202           0 :             return NULL;
    2203             :         }
    2204             :         
    2205             :         return style;
    2206             :     }
    2207           0 : SWIGINTERN int styleObj_setSymbolByName(struct styleObj *self,mapObj *map,char *symbolname){
    2208           0 :         self->symbol = msGetSymbolIndex(&map->symbolset, symbolname, 1);
    2209           0 :         if (self->symbolname) free((char*)self->symbolname);
    2210           0 :         if (symbolname) self->symbolname = msStrdup(symbolname);
    2211           0 :         else self->symbolname = 0;
    2212           0 :         return self->symbol;
    2213             :     }
    2214             : SWIGINTERN int styleObj_removeBinding(struct styleObj *self,int binding){
    2215           0 :         if(binding < 0 || binding >= 12) return MS_FAILURE;
    2216             : 
    2217           0 :         if(self->bindings[binding].item) {
    2218           0 :             free(self->bindings[binding].item);
    2219           0 :             self->bindings[binding].item = NULL;
    2220           0 :             self->bindings[binding].index = -1;
    2221           0 :             self->numbindings--;
    2222             :         }
    2223             : 
    2224             :         return MS_SUCCESS;
    2225             :     }
    2226           0 : SWIGINTERN int styleObj_setBinding(struct styleObj *self,int binding,char *item){
    2227           0 :         if(!item) return MS_FAILURE;
    2228           0 :         if(binding < 0 || binding >= 12) return MS_FAILURE;
    2229             : 
    2230           0 :         if(self->bindings[binding].item) {
    2231           0 :             free(self->bindings[binding].item);
    2232           0 :             self->bindings[binding].item = NULL;
    2233           0 :             self->bindings[binding].index = -1;
    2234           0 :             self->numbindings--;
    2235             :         }
    2236             : 
    2237           0 :         self->bindings[binding].item = msStrdup(item);
    2238           0 :         self->numbindings++;
    2239             : 
    2240           0 :         return MS_SUCCESS;
    2241             :     }
    2242             : SWIGINTERN char *styleObj_getBinding(struct styleObj *self,int binding){
    2243           0 :         if(binding < 0 || binding >= 12) return NULL;
    2244             : 
    2245           0 :         return self->bindings[binding].item;
    2246             :     }
    2247             : SWIGINTERN char *styleObj_getGeomTransform(struct styleObj *self){
    2248             :         return self->_geomtransform.string;
    2249             :     }
    2250             : SWIGINTERN void styleObj_setGeomTransform(struct styleObj *self,char *transform){
    2251           0 :         msStyleSetGeomTransform(self, transform);
    2252             :     }
    2253             : 
    2254             : SWIGINTERN int
    2255           0 : SWIG_AsCharArray(SV * obj, char *val, size_t size)
    2256             : { 
    2257           0 :   char* cptr = 0; size_t csize = 0; int alloc = SWIG_OLDOBJ;
    2258           0 :   int res = SWIG_AsCharPtrAndSize(obj, &cptr, &csize, &alloc);
    2259           0 :   if (SWIG_IsOK(res)) {
    2260             :     /* special case of single char conversion when we don't need space for NUL */
    2261           0 :     if (size == 1 && csize == 2 && cptr && !cptr[1]) --csize;
    2262           0 :     if (csize <= size) {
    2263           0 :       if (val) {
    2264           0 :   if (csize) memcpy(val, cptr, csize*sizeof(char));
    2265           0 :   if (csize < size) memset(val + csize, 0, (size - csize)*sizeof(char));
    2266             :       }
    2267           0 :       if (alloc == SWIG_NEWOBJ) {
    2268           0 :   free((char*)cptr);
    2269           0 :   res = SWIG_DelNewMask(res);
    2270             :       }      
    2271             :       return res;
    2272             :     }
    2273           0 :     if (alloc == SWIG_NEWOBJ) free((char*)cptr);
    2274             :   }
    2275             :   return SWIG_TypeError;
    2276             : }
    2277             : 
    2278             : 
    2279             : SWIGINTERN int
    2280           0 : SWIG_AsVal_char SWIG_PERL_DECL_ARGS_2(SV * obj, char *val)
    2281             : {    
    2282           0 :   int res = SWIG_AsCharArray(obj, val, 1);
    2283           0 :   if (!SWIG_IsOK(res)) {
    2284             :     long v;
    2285           0 :     res = SWIG_AddCast(SWIG_AsVal_long SWIG_PERL_CALL_ARGS_2(obj, &v));
    2286           0 :     if (SWIG_IsOK(res)) {
    2287           0 :       if ((CHAR_MIN <= v) && (v <= CHAR_MAX)) {
    2288           0 :   if (val) *val = (char)(v);
    2289             :       } else {
    2290             :   res = SWIG_OverflowError;
    2291             :       }
    2292             :     }
    2293             :   }
    2294           0 :   return res;
    2295             : }
    2296             : 
    2297             : 
    2298             : SWIGINTERNINLINE SV *
    2299             : SWIG_From_char  SWIG_PERL_DECL_ARGS_1(char c) 
    2300             : { 
    2301           0 :   return SWIG_FromCharPtrAndSize(&c,1);
    2302             : }
    2303             : 
    2304           0 : SWIGINTERN struct labelObj *new_labelObj(void){
    2305             :       labelObj *label;
    2306             :         
    2307           0 :       label = (labelObj *)calloc(1, sizeof(labelObj));
    2308           0 :       if (!label)
    2309             :         return(NULL);
    2310             :     
    2311           0 :       initLabel(label);
    2312             :       
    2313           0 :       return(label);      
    2314             :     }
    2315             : SWIGINTERN void delete_labelObj(struct labelObj *self){
    2316           0 :       freeLabel(self);
    2317             :     }
    2318             : SWIGINTERN int labelObj_updateFromString(struct labelObj *self,char *snippet){
    2319           0 :     return msUpdateLabelFromString(self, snippet,0);
    2320             :   }
    2321             : SWIGINTERN char *labelObj_convertToString(struct labelObj *self){
    2322           0 :     return msWriteLabelToString(self);
    2323             :   }
    2324             : SWIGINTERN int labelObj_removeBinding(struct labelObj *self,int binding){
    2325           0 :     if(binding < 0 || binding >= 12) return MS_FAILURE;
    2326             : 
    2327           0 :     if(self->bindings[binding].item) {
    2328           0 :       free(self->bindings[binding].item);
    2329           0 :       self->bindings[binding].item = NULL;
    2330           0 :       self->bindings[binding].index = -1; 
    2331           0 :       self->numbindings--;
    2332             :     }
    2333             : 
    2334             :     return MS_SUCCESS;
    2335             :   }
    2336             : SWIGINTERN char *labelObj_getBinding(struct labelObj *self,int binding){
    2337           0 :     if(binding < 0 || binding >= 12) return NULL;
    2338             : 
    2339           0 :     return self->bindings[binding].item;
    2340             :   }
    2341           0 : SWIGINTERN int labelObj_setBinding(struct labelObj *self,int binding,char *item){
    2342           0 :     if(!item) return MS_FAILURE;
    2343           0 :     if(binding < 0 || binding >= 12) return MS_FAILURE;
    2344             : 
    2345           0 :     if(self->bindings[binding].item) {
    2346           0 :       free(self->bindings[binding].item);
    2347           0 :       self->bindings[binding].item = NULL; 
    2348           0 :       self->bindings[binding].index = -1;
    2349           0 :       self->numbindings--;
    2350             :     }
    2351             : 
    2352           0 :     self->bindings[binding].item = msStrdup(item); 
    2353           0 :     self->numbindings++;
    2354             : 
    2355           0 :     return MS_SUCCESS;
    2356             :   }
    2357           0 : SWIGINTERN int labelObj_setExpression(struct labelObj *self,char *expression){
    2358           0 :     if (!expression || strlen(expression) == 0) {
    2359           0 :        msFreeExpression(&self->expression);
    2360           0 :        return MS_SUCCESS;
    2361             :     }
    2362           0 :     else return msLoadExpressionString(&self->expression, expression);
    2363             :   }
    2364             : SWIGINTERN char *labelObj_getExpressionString(struct labelObj *self){
    2365           0 :     return msGetExpressionString(&(self->expression));
    2366             :   }
    2367           0 : SWIGINTERN int labelObj_setText(struct labelObj *self,char *text){
    2368           0 :     if (!text || strlen(text) == 0) {
    2369           0 :       msFreeExpression(&self->text);
    2370           0 :       return MS_SUCCESS;
    2371             :     } 
    2372           0 :     else return msLoadExpressionString(&self->text, text);
    2373             :   }
    2374             : SWIGINTERN char *labelObj_getTextString(struct labelObj *self){
    2375           0 :     return msGetExpressionString(&(self->text));
    2376             :   }
    2377           0 : SWIGINTERN styleObj *labelObj_getStyle(struct labelObj *self,int i){
    2378           0 :       if (i >= 0 && i < self->numstyles) {
    2379           0 :           MS_REFCNT_INCR(self->styles[i]);
    2380           0 :           return self->styles[i];
    2381             :       } else {
    2382           0 :           msSetError(31, "Invalid index: %d", "getStyle()", i);
    2383             :           return NULL;
    2384             :       }
    2385             :   }
    2386             : SWIGINTERN int labelObj_insertStyle(struct labelObj *self,styleObj *style,int index){
    2387           0 :         return msInsertLabelStyle(self, style, index);
    2388             :     }
    2389           0 : SWIGINTERN styleObj *labelObj_removeStyle(struct labelObj *self,int index){
    2390           0 :         styleObj* style = (styleObj *) msRemoveLabelStyle(self, index);
    2391           0 :         if (style)
    2392           0 :             MS_REFCNT_INCR(style);
    2393           0 :             return style;
    2394             :     }
    2395             : SWIGINTERN int labelObj_moveStyleUp(struct labelObj *self,int index){
    2396           0 :         return msMoveLabelStyleUp(self, index);
    2397             :     }
    2398             : SWIGINTERN int labelObj_moveStyleDown(struct labelObj *self,int index){
    2399           0 :        return msMoveLabelStyleDown(self, index);
    2400             :     }
    2401           1 : SWIGINTERN struct classObj *new_classObj(layerObj *layer){
    2402             :         classObj *new_class=NULL;
    2403             :         
    2404           1 :         if (!layer)
    2405             :         {
    2406           1 :             new_class = (classObj *) malloc(sizeof(classObj));
    2407           1 :             if (!new_class)
    2408             :             {
    2409           0 :                 msSetError(2,
    2410             :                     "Could not allocate memory for new classObj instance",
    2411             :                     "classObj()");
    2412           0 :                 return NULL;
    2413             :             }
    2414           1 :             if (initClass(new_class) == -1) return NULL;
    2415           1 :             new_class->layer = NULL;
    2416           1 :             return new_class;
    2417             :         }
    2418             :         else
    2419             :         {
    2420           1 :             if(msGrowLayerClasses(layer) == NULL)
    2421             :                 return NULL;
    2422           1 :             if (initClass(layer->class[layer->numclasses]) == -1)
    2423             :                 return NULL;
    2424           1 :             layer->class[layer->numclasses]->layer = layer;
    2425           1 :             MS_REFCNT_INCR(layer->class[layer->numclasses]);
    2426           1 :             layer->numclasses++;
    2427           1 :             return (layer->class[layer->numclasses-1]);
    2428             :         }
    2429             : 
    2430             :         return NULL;
    2431             :     }
    2432           1 : SWIGINTERN void delete_classObj(struct classObj *self){
    2433           1 :         if (self)
    2434             :         {
    2435           1 :             if (freeClass(self)==MS_SUCCESS) {
    2436           0 :                 free(self);
    2437             :                 self=NULL;
    2438             :             }
    2439             :         }
    2440           1 :     }
    2441             : SWIGINTERN int classObj_updateFromString(struct classObj *self,char *snippet){
    2442           0 :         return msUpdateClassFromString(self, snippet, 0);
    2443             :     }
    2444             : SWIGINTERN char *classObj_convertToString(struct classObj *self){
    2445           0 :         return msWriteClassToString(self);
    2446             :     }
    2447           0 : SWIGINTERN classObj *classObj_clone(struct classObj *self){
    2448             :         classObj *new_class;
    2449             : 
    2450           0 :         new_class = (classObj *) malloc(sizeof(classObj));
    2451           0 :         if (!new_class)
    2452             :         {
    2453           0 :             msSetError(2,
    2454             :                 "Could not allocate memory for new classObj instance",
    2455             :                 "clone()");
    2456           0 :             return NULL;
    2457             :         }
    2458           0 :         if (initClass(new_class) == -1)
    2459             :         {
    2460           0 :             msSetError(2, "Failed to initialize Class",
    2461             :                                   "clone()");
    2462           0 :             return NULL;
    2463             :         }
    2464           0 :         new_class->layer = NULL;
    2465             : 
    2466           0 :         if (msCopyClass(new_class, self, self->layer) != MS_SUCCESS) {
    2467           0 :             freeClass(new_class);
    2468           0 :             free(new_class);
    2469             :             new_class = NULL;
    2470             :         }
    2471             :         
    2472             :         return new_class;
    2473             :     }
    2474           0 : SWIGINTERN int classObj_setExpression(struct classObj *self,char *expression){
    2475           0 :     if (!expression || strlen(expression) == 0) {
    2476           0 :        msFreeExpression(&self->expression);
    2477           0 :        return MS_SUCCESS;
    2478             :     }
    2479           0 :     else return msLoadExpressionString(&self->expression, expression);
    2480             :   }
    2481             : SWIGINTERN char *classObj_getExpressionString(struct classObj *self){
    2482           0 :     return msGetExpressionString(&(self->expression));
    2483             :   }
    2484           0 : SWIGINTERN int classObj_setText(struct classObj *self,char *text){
    2485           0 :     if (!text || strlen(text) == 0) {
    2486           0 :       msFreeExpression(&self->text);
    2487           0 :       return MS_SUCCESS;
    2488             :     }    
    2489           0 :     else return msLoadExpressionString(&self->text, text);
    2490             :   }
    2491             : SWIGINTERN char *classObj_getTextString(struct classObj *self){
    2492           0 :     return msGetExpressionString(&(self->text));
    2493             :   }
    2494           0 : SWIGINTERN char *classObj_getMetaData(struct classObj *self,char *name){
    2495             :     char *value = NULL;
    2496           0 :     if (!name) {
    2497           0 :       msSetError(16, "NULL key", "getMetaData");
    2498             :     }
    2499             :      
    2500           0 :     value = (char *) msLookupHashTable(&(self->metadata), name);
    2501           0 :     if (!value) {
    2502           0 :       msSetError(16, "Key %s does not exist", "getMetaData", name);
    2503           0 :       return NULL;
    2504             :     }
    2505             :     return value;
    2506             :   }
    2507             : SWIGINTERN int classObj_setMetaData(struct classObj *self,char *name,char *value){
    2508           0 :     if (msInsertHashTable(&(self->metadata), name, value) == NULL)
    2509             :         return MS_FAILURE;
    2510             :     return MS_SUCCESS;
    2511             :   }
    2512             : SWIGINTERN char *classObj_getFirstMetaDataKey(struct classObj *self){
    2513           0 :     return (char *) msFirstKeyFromHashTable(&(self->metadata));
    2514             :   }
    2515             : SWIGINTERN char *classObj_getNextMetaDataKey(struct classObj *self,char *lastkey){
    2516           0 :     return (char *) msNextKeyFromHashTable(&(self->metadata), lastkey);
    2517             :   }
    2518           0 : SWIGINTERN int classObj_drawLegendIcon(struct classObj *self,mapObj *map,layerObj *layer,int width,int height,imageObj *dstImage,int dstX,int dstY){    
    2519           0 :     if(layer->sizeunits != MS_PIXELS) {
    2520           0 :       map->cellsize = msAdjustExtent(&(map->extent), map->width, map->height);
    2521           0 :       layer->scalefactor = (msInchesPerUnit(layer->sizeunits,0)/msInchesPerUnit(map->units,0)) / map->cellsize;
    2522             :     }
    2523             :     else
    2524           0 :       layer->scalefactor = map->resolution/map->defresolution;
    2525             :     
    2526           0 :     return msDrawLegendIcon(map, layer, self, width, height, dstImage, dstX, dstY, 1, NULL);
    2527             :   }
    2528             : SWIGINTERN imageObj *classObj_createLegendIcon(struct classObj *self,mapObj *map,layerObj *layer,int width,int height){
    2529           0 :     return msCreateLegendIcon(map, layer, self, width, height, 1);
    2530             :   }
    2531           0 : SWIGINTERN labelObj *classObj_getLabel(struct classObj *self,int i){
    2532           0 :     if (i >= 0 && i < self->numlabels) {
    2533           0 :       MS_REFCNT_INCR(self->labels[i]);
    2534           0 :       return self->labels[i];
    2535             :     } else {
    2536           0 :       msSetError(31, "Invalid index: %d.", "getLabel()", i);
    2537             :       return NULL;
    2538             :     }
    2539             :   }
    2540             : SWIGINTERN int classObj_addLabel(struct classObj *self,labelObj *label){
    2541           0 :     return msAddLabelToClass(self, label);
    2542             :   }
    2543           0 : SWIGINTERN labelObj *classObj_removeLabel(struct classObj *self,int index){
    2544           0 :     labelObj* label = (labelObj *) msRemoveLabelFromClass(self, index);
    2545           0 :     if (label) MS_REFCNT_INCR(label);
    2546           0 :     return label;
    2547             :   }
    2548           0 : SWIGINTERN styleObj *classObj_getStyle(struct classObj *self,int i){
    2549           0 :     if (i >= 0 && i < self->numstyles) {
    2550           0 :       MS_REFCNT_INCR(self->styles[i]);
    2551           0 :       return self->styles[i];
    2552             :     } else {
    2553           0 :       msSetError(31, "Invalid index: %d", "getStyle()", i);
    2554             :       return NULL;
    2555             :     }
    2556             :   }
    2557             : SWIGINTERN int classObj_insertStyle(struct classObj *self,styleObj *style,int index){
    2558           0 :     return msInsertStyle(self, style, index);
    2559             :   }
    2560           0 : SWIGINTERN styleObj *classObj_removeStyle(struct classObj *self,int index){
    2561           0 :     styleObj* style = (styleObj *) msRemoveStyle(self, index);
    2562           0 :     if (style) MS_REFCNT_INCR(style);
    2563           0 :     return style;
    2564             :   }
    2565             : SWIGINTERN int classObj_moveStyleUp(struct classObj *self,int index){
    2566           0 :     return msMoveStyleUp(self, index);
    2567             :   }
    2568             : SWIGINTERN int classObj_moveStyleDown(struct classObj *self,int index){
    2569           0 :     return msMoveStyleDown(self, index);
    2570             :   }
    2571             : SWIGINTERN void labelCacheObj_freeCache(labelCacheObj *self){
    2572           0 :         msFreeLabelCache(self);
    2573             :     }
    2574             : SWIGINTERN resultObj *new_resultObj(long shapeindex){
    2575           0 :         resultObj *result = (resultObj *) msSmallMalloc(sizeof(resultObj));
    2576             : 
    2577           0 :         result->tileindex = -1;
    2578           0 :         result->resultindex = -1; 
    2579           0 :         result->shapeindex = shapeindex;
    2580             :         
    2581             :         return result;
    2582             :     }
    2583             : SWIGINTERN void delete_resultObj(resultObj *self){
    2584           0 :         free(self);
    2585             :     }
    2586             : SWIGINTERN resultObj *resultCacheObj_getResult(resultCacheObj *self,int i){
    2587           0 :         if (i >= 0 && i < self->numresults) {
    2588           0 :             return &self->results[i];
    2589             :         }
    2590             :         return NULL;
    2591             :     }
    2592           0 : SWIGINTERN symbolSetObj *new_symbolSetObj(char const *symbolfile){
    2593             :         symbolSetObj *symbolset;
    2594             :         mapObj *temp_map=NULL;
    2595           0 :         symbolset = (symbolSetObj *) malloc(sizeof(symbolSetObj));
    2596           0 :         msInitSymbolSet(symbolset);
    2597           0 :         if (symbolfile) {
    2598           0 :             symbolset->filename = msStrdup(symbolfile);
    2599           0 :             temp_map = msNewMapObj();
    2600           0 :             msLoadSymbolSet(symbolset, temp_map);
    2601           0 :             symbolset->map = NULL;
    2602           0 :             msFreeMap(temp_map);
    2603             :         }
    2604           0 :         return symbolset;
    2605             :     }
    2606           0 : SWIGINTERN void delete_symbolSetObj(symbolSetObj *self){
    2607           0 :         msFreeSymbolSet(self);
    2608           0 :         if (self->filename) free(self->filename);
    2609           0 :         free(self);
    2610           0 :     }
    2611             : SWIGINTERN symbolObj *symbolSetObj_getSymbol(symbolSetObj *self,int i){
    2612           0 :         if (i >= 0 && i < self->numsymbols) {
    2613           0 :             symbolObj *s=self->symbol[i];
    2614           0 :             MS_REFCNT_INCR(s);
    2615             :             return s;
    2616             :         } else
    2617             :             return NULL;
    2618             :     }
    2619           0 : SWIGINTERN symbolObj *symbolSetObj_getSymbolByName(symbolSetObj *self,char *symbolname){
    2620             :         int i;
    2621             : 
    2622           0 :         if (!symbolname) return NULL;
    2623             : 
    2624           0 :         i = msGetSymbolIndex(self, symbolname, 1);
    2625           0 :         if (i == -1)
    2626             :             return NULL;
    2627             :         else {
    2628           0 :             MS_REFCNT_INCR(self->symbol[i]);
    2629           0 :             return self->symbol[i];
    2630             :         }
    2631             :     }
    2632             : SWIGINTERN int symbolSetObj_index(symbolSetObj *self,char *symbolname){
    2633           0 :         return msGetSymbolIndex(self, symbolname, 1);
    2634             :     }
    2635             : SWIGINTERN int symbolSetObj_appendSymbol(symbolSetObj *self,symbolObj *symbol){
    2636           0 :         return msAppendSymbol(self, symbol);
    2637             :     }
    2638           0 : SWIGINTERN symbolObj *symbolSetObj_removeSymbol(symbolSetObj *self,int index){
    2639           0 :         symbolObj *s=msRemoveSymbol(self, index);
    2640           0 :         if (s!=NULL) {
    2641           0 :             MS_REFCNT_INCR(s);
    2642             :         }
    2643           0 :         return s;
    2644             :     }
    2645             : SWIGINTERN int symbolSetObj_save(symbolSetObj *self,char const *filename){
    2646           0 :         return msSaveSymbolSet(self, filename);
    2647             :     }
    2648             : SWIGINTERN int referenceMapObj_updateFromString(referenceMapObj *self,char *snippet){
    2649           0 :     return msUpdateReferenceMapFromString(self, snippet, 0);
    2650             :   }
    2651             : SWIGINTERN char *referenceMapObj_convertToString(referenceMapObj *self){
    2652           0 :     return msWriteReferenceMapToString(self);
    2653             :   }
    2654             : SWIGINTERN int scalebarObj_updateFromString(scalebarObj *self,char *snippet){
    2655           0 :     return msUpdateScalebarFromString(self, snippet, 0);
    2656             :   }
    2657             : SWIGINTERN char *scalebarObj_convertToString(scalebarObj *self){
    2658           0 :     return msWriteScalebarToString(self);
    2659             :   }
    2660             : SWIGINTERN int legendObj_updateFromString(legendObj *self,char *snippet){
    2661           0 :     return msUpdateLegendFromString(self, snippet, 0);
    2662             :   }
    2663             : SWIGINTERN char *legendObj_convertToString(legendObj *self){
    2664           0 :     return msWriteLegendToString(self);
    2665             :   }
    2666           0 : SWIGINTERN struct imageObj *new_imageObj(int width,int height,outputFormatObj *input_format,char const *file,double resolution,double defresolution){
    2667             :         imageObj *image=NULL;
    2668             :         outputFormatObj *format;
    2669             :         rendererVTableObj *renderer = NULL;
    2670             :         rasterBufferObj *rb = NULL;
    2671             : 
    2672           0 :         if (input_format) {
    2673             :             format = input_format;
    2674             :         }
    2675             :         else {
    2676           0 :             format = msCreateDefaultOutputFormat(NULL, "AGG/PNG", "aggpng");
    2677           0 :             if (format)
    2678           0 :                 msInitializeRendererVTable(format);
    2679             :         }
    2680           0 :         if (format == NULL) {
    2681           0 :             msSetError(15, "Could not create output format",
    2682             :                        "imageObj()");
    2683           0 :             return NULL;
    2684             :         }
    2685             : 
    2686           0 :         if (file) {
    2687             : 
    2688           0 :             renderer = format->vtable;
    2689           0 :             rb = (rasterBufferObj*) malloc(sizeof(rasterBufferObj));
    2690           0 :             if (!rb) {
    2691           0 :                 msSetError(2, NULL, "imageObj()");
    2692           0 :                 return NULL;
    2693             :             }
    2694           0 :             if ( (renderer->loadImageFromFile((char *)file, rb)) == MS_FAILURE) {
    2695           0 :                 msFreeRasterBuffer(rb);
    2696           0 :                 free(rb);
    2697           0 :                 return NULL;
    2698             :             }
    2699           0 :             image = msImageCreate(rb->width, rb->height, format, NULL, NULL,
    2700             :                                   resolution, defresolution, NULL);
    2701           0 :             if (! image) {
    2702           0 :                 msFreeRasterBuffer(rb);
    2703           0 :                 free(rb);
    2704           0 :                 return NULL;
    2705             :             }
    2706             : 
    2707           0 :             if(renderer->mergeRasterBuffer(image, rb, 1.0, 0, 0, 0, 0, rb->width, rb->height) != MS_SUCCESS) {
    2708           0 :                 msFreeImage(image);
    2709             :                 image = NULL;
    2710             :             }
    2711             : 
    2712           0 :             msFreeRasterBuffer(rb);
    2713           0 :             free(rb);
    2714             : 
    2715           0 :             return image;
    2716             :         }
    2717             : 
    2718           0 :         image = msImageCreate(width, height, format, NULL, NULL, resolution, defresolution, NULL);
    2719           0 :         return image;
    2720             :     }
    2721             : SWIGINTERN void delete_imageObj(struct imageObj *self){
    2722           0 :         msFreeImage(self);
    2723             :     }
    2724             : SWIGINTERN void imageObj_save(struct imageObj *self,char *filename,mapObj *map){
    2725           0 :         msSaveImage(map, self, filename );
    2726             :     }
    2727           0 : SWIGINTERN int imageObj_write(struct imageObj *self,FILE *file){
    2728             :         int retval=MS_FAILURE;
    2729             :         rendererVTableObj *renderer = NULL;
    2730             : 
    2731           0 :         if (MS_RENDERER_PLUGIN(self->format))
    2732             :         {
    2733           0 :             if (file)
    2734             :             {
    2735           0 :                 renderer = self->format->vtable;
    2736             :                 /* FIXME? as an improvement, pass a map argument instead of the NULL (see #4216) */
    2737           0 :                 retval = renderer->saveImage(self, NULL, file, self->format);
    2738             :             }
    2739             :             else
    2740             :             {
    2741           0 :                 retval = msSaveImage(NULL, self, NULL);
    2742             :             }
    2743             :         }
    2744             :         else
    2745             :         {
    2746           0 :             msSetError(15, "Writing of %s format not implemented",
    2747             :                        "imageObj::write",
    2748             :                        self->format->name);
    2749             :         }
    2750             : 
    2751           0 :         return retval;
    2752             :     }
    2753           0 : SWIGINTERN gdBuffer imageObj_getBytes(struct imageObj *self){
    2754             :         gdBuffer buffer;
    2755             : 
    2756           0 :         buffer.owns_data = 1;
    2757             : 
    2758           0 :         buffer.data = msSaveImageBuffer(self, &buffer.size, self->format);
    2759             : 
    2760           0 :         if( buffer.data == NULL || buffer.size == 0 )
    2761             :         {
    2762           0 :             buffer.data = NULL;
    2763           0 :             msSetError(12, "Failed to get image buffer", "getBytes");
    2764           0 :             return buffer;
    2765             :         }
    2766             : 
    2767           0 :         return buffer;
    2768             :     }
    2769           0 : SWIGINTERN int imageObj_getSize(struct imageObj *self){
    2770             :         gdBuffer buffer;
    2771             :         int size=0;
    2772             : 
    2773           0 :         buffer.data = msSaveImageBuffer(self, &buffer.size, self->format);
    2774           0 :         size = buffer.size;
    2775             : 
    2776           0 :         if( buffer.data == NULL || buffer.size == 0 ) {
    2777           0 :             buffer.data = NULL;
    2778           0 :             msSetError(12, "Failed to get image buffer size", "getSize");
    2779             :         }
    2780           0 :         free(buffer.data);
    2781           0 :         return size;
    2782             :     }
    2783           1 : SWIGINTERN struct layerObj *new_layerObj(mapObj *map){
    2784             :         layerObj *layer;
    2785             :         int result;
    2786             :         
    2787           1 :         if (!map) {
    2788           1 :             layer = (layerObj *) malloc(sizeof(layerObj));
    2789           1 :             if (!layer) {
    2790           0 :                 msSetError(2, "Failed to initialize Layer",
    2791             :                                        "layerObj()");
    2792           0 :                 return NULL;
    2793             :             } 
    2794           1 :             result = initLayer(layer, NULL);
    2795           1 :             if (result == MS_SUCCESS) {
    2796           1 :                 layer->index = -1;
    2797           1 :                 return layer;
    2798             :             }
    2799             :             else {
    2800           0 :                 msSetError(2, "Failed to initialize Layer",
    2801             :                                        "layerObj()");
    2802           0 :                 return NULL;
    2803             :             }
    2804             :         }
    2805             :         else {
    2806           1 :             if(msGrowMapLayers(map) == NULL)
    2807             :                 return(NULL);
    2808             : 
    2809           1 :             if (initLayer((map->layers[map->numlayers]), map) == -1)
    2810             :                 return(NULL);
    2811             : 
    2812           1 :             map->layers[map->numlayers]->index = map->numlayers;
    2813           1 :             map->layerorder[map->numlayers] = map->numlayers;
    2814           1 :             map->numlayers++;
    2815           1 :         MS_REFCNT_INCR(map->layers[map->numlayers-1]);
    2816             : 
    2817           1 :             return (map->layers[map->numlayers-1]);
    2818             :         }
    2819             :     }
    2820             : SWIGINTERN void layerObj_setOpacity(struct layerObj *self,int opacity){
    2821           0 :       msSetLayerOpacity(self, opacity);
    2822             :     }
    2823             : SWIGINTERN int layerObj_getOpacity(struct layerObj *self){
    2824           0 :       if(self->compositer) return (self->compositer->opacity);
    2825             :       return (100);
    2826             :     }
    2827           1 : SWIGINTERN void delete_layerObj(struct layerObj *self){
    2828             :         /*if (!self->map) {*/
    2829           1 :         if (self) {
    2830           1 :             if(freeLayer(self)==MS_SUCCESS) {
    2831           1 :                 free(self);
    2832             :         }
    2833             :         }
    2834           1 :     }
    2835           0 : SWIGINTERN layerObj *layerObj_clone(struct layerObj *self){
    2836             :         layerObj *layer;
    2837             :         int result;
    2838             : 
    2839           0 :         layer = (layerObj *) malloc(sizeof(layerObj));
    2840           0 :         if (!layer) {
    2841           0 :             msSetError(2, "Failed to initialize Layer",
    2842             :                                   "layerObj()");
    2843           0 :             return NULL;
    2844             :         } 
    2845           0 :         result = initLayer(layer, NULL);
    2846           0 :         if (result != MS_SUCCESS) {
    2847           0 :             msSetError(2, "Failed to initialize Layer",
    2848             :                                   "layerObj()");
    2849           0 :             return NULL;
    2850             :         }
    2851             : 
    2852           0 :         if (msCopyLayer(layer, self) != MS_SUCCESS) {
    2853           0 :             freeLayer(layer);
    2854           0 :             free(layer);
    2855             :             layer = NULL;
    2856             :         }
    2857           0 :         layer->map = NULL;
    2858           0 :         layer->index = -1;
    2859             :         
    2860           0 :         return layer;
    2861             :     }
    2862             : SWIGINTERN int layerObj_updateFromString(struct layerObj *self,char *snippet){
    2863           0 :         return msUpdateLayerFromString(self, snippet, 0);
    2864             :     }
    2865             : SWIGINTERN char *layerObj_convertToString(struct layerObj *self){
    2866           0 :         return msWriteLayerToString(self);
    2867             :     }
    2868             : SWIGINTERN int layerObj_insertClass(struct layerObj *self,classObj *classobj,int index){
    2869           1 :         return msInsertClass(self, classobj, index);
    2870             :     }
    2871           0 : SWIGINTERN classObj *layerObj_removeClass(struct layerObj *self,int index){
    2872           0 :         classObj* c = msRemoveClass(self, index);
    2873           0 :     if (c != NULL) {
    2874           0 :         MS_REFCNT_INCR(c);
    2875             :     }
    2876           0 :     return c;
    2877             :     }
    2878           0 : SWIGINTERN int layerObj_open(struct layerObj *self){
    2879             :         int status;
    2880           0 :         status =  msLayerOpen(self);
    2881           0 :         if (status == MS_SUCCESS) {
    2882           0 :             return msLayerGetItems(self);
    2883             :         }
    2884             :         return status;
    2885             :     }
    2886           0 : SWIGINTERN int layerObj_whichShapes(struct layerObj *self,rectObj rect){
    2887           0 :         int oldconnectiontype = self->connectiontype;
    2888           0 :         self->connectiontype = MS_INLINE;
    2889             : 
    2890           0 :         if(msLayerWhichItems(self, 1, NULL) != MS_SUCCESS) {
    2891           0 :             self->connectiontype = oldconnectiontype;
    2892           0 :             return MS_FAILURE;
    2893             :         }
    2894           0 :         self->connectiontype = oldconnectiontype;
    2895             : 
    2896           0 :         return msLayerWhichShapes(self, rect, 0);
    2897             :     }
    2898           0 : SWIGINTERN shapeObj *layerObj_nextShape(struct layerObj *self){
    2899             :        int status;
    2900             :        shapeObj *shape;
    2901             : 
    2902           0 :        shape = (shapeObj *)malloc(sizeof(shapeObj));
    2903           0 :        if (!shape) return NULL;
    2904           0 :        msInitShape(shape);
    2905             : 
    2906           0 :        status = msLayerNextShape(self, shape);
    2907           0 :        if(status != MS_SUCCESS) {
    2908           0 :          msFreeShape(shape);
    2909           0 :      free(shape);
    2910           0 :      return NULL;
    2911             :        } else
    2912             :          return shape;
    2913             :     }
    2914             : SWIGINTERN void layerObj_close(struct layerObj *self){
    2915           0 :         msLayerClose(self);
    2916             :     }
    2917           0 : SWIGINTERN shapeObj *layerObj_getShape(struct layerObj *self,resultObj *record){
    2918             :         int retval;
    2919             :         shapeObj *shape;
    2920             : 
    2921           0 :         if (!record) return NULL;
    2922             :     
    2923           0 :         shape = (shapeObj *)malloc(sizeof(shapeObj));
    2924           0 :         if (!shape) return NULL;
    2925             : 
    2926           0 :         msInitShape(shape);
    2927           0 :         shape->type = self->type; /* is this right? */
    2928             : 
    2929           0 :         retval = msLayerGetShape(self, shape, record);
    2930           0 :         if(retval != MS_SUCCESS) {
    2931           0 :           msFreeShape(shape);
    2932           0 :           free(shape);
    2933           0 :           return NULL;
    2934             :         } else
    2935             :         return shape;
    2936             :     }
    2937             : SWIGINTERN int layerObj_getNumResults(struct layerObj *self){
    2938           0 :         if (!self->resultcache) return 0;
    2939           0 :         return self->resultcache->numresults;
    2940             :     }
    2941           0 : SWIGINTERN rectObj *layerObj_getResultsBounds(struct layerObj *self){
    2942             :         rectObj *bounds;
    2943           0 :         if (!self->resultcache) return NULL;
    2944           0 :         bounds = (rectObj *) malloc(sizeof(rectObj));
    2945           0 :         MS_COPYRECT(bounds, &self->resultcache->bounds);
    2946             :         return bounds;
    2947             :     }
    2948             : SWIGINTERN resultObj *layerObj_getResult(struct layerObj *self,int i){
    2949           0 :         if (!self->resultcache) return NULL;
    2950           0 :         if (i >= 0 && i < self->resultcache->numresults)
    2951           0 :             return &self->resultcache->results[i]; 
    2952             :         else
    2953             :             return NULL;
    2954             :     }
    2955             : SWIGINTERN classObj *layerObj_getClass(struct layerObj *self,int i){
    2956             :     classObj *result=NULL;
    2957           1 :         if (i >= 0 && i < self->numclasses) {
    2958           1 :             result=self->class[i]; 
    2959           1 :         MS_REFCNT_INCR(result);
    2960             :     }
    2961             :     return result;
    2962             :     }
    2963             : SWIGINTERN char *layerObj_getItem(struct layerObj *self,int i){
    2964             :   
    2965           0 :         if (i >= 0 && i < self->numitems)
    2966           0 :             return (char *) (self->items[i]);
    2967             :         else
    2968             :             return NULL;
    2969             :     }
    2970             : SWIGINTERN int layerObj_setItems(struct layerObj *self,char **items,int numitems){
    2971           0 :         return msLayerSetItems(self, items, numitems);
    2972             :     }
    2973             : SWIGINTERN int layerObj_draw(struct layerObj *self,mapObj *map,imageObj *image){
    2974           0 :         return msDrawLayer(map, self, image);    
    2975             :     }
    2976             : SWIGINTERN int layerObj_drawQuery(struct layerObj *self,mapObj *map,imageObj *image){
    2977           0 :         return msDrawQueryLayer(map, self, image);    
    2978             :     }
    2979           0 : SWIGINTERN int layerObj_queryByFilter(struct layerObj *self,mapObj *map,char *string){
    2980             :         int status;
    2981             :         int retval;
    2982             : 
    2983           0 :         msInitQuery(&(map->query));
    2984             : 
    2985           0 :         map->query.type = MS_QUERY_BY_FILTER;
    2986           0 :         map->query.mode = MS_QUERY_MULTIPLE;
    2987             : 
    2988           0 :         map->query.filter.string = msStrdup(string);
    2989           0 :         map->query.filter.type = MS_EXPRESSION;
    2990             :         
    2991           0 :         map->query.layer = self->index;
    2992           0 :         map->query.rect = map->extent;
    2993             : 
    2994           0 :         status = self->status;
    2995           0 :         self->status = 1;
    2996           0 :         retval = msQueryByFilter(map);
    2997           0 :         self->status = status;
    2998           0 :         return retval;
    2999             :     }
    3000           0 : SWIGINTERN int layerObj_queryByAttributes(struct layerObj *self,mapObj *map,char *qitem,char *qstring,int mode){
    3001             :         int status;
    3002             :         int retval;
    3003             : 
    3004           0 :         msInitQuery(&(map->query));
    3005             :         
    3006           0 :         map->query.type = MS_QUERY_BY_FILTER;
    3007           0 :         map->query.mode = mode;
    3008             : 
    3009           0 :         if(qitem) map->query.filteritem = msStrdup(qitem);
    3010           0 :         if(qstring) {
    3011           0 :           msInitExpression(&map->query.filter);
    3012           0 :           msLoadExpressionString(&map->query.filter, qstring);
    3013             :         }
    3014             : 
    3015           0 :         map->query.layer = self->index;
    3016           0 :         map->query.rect = map->extent;
    3017             : 
    3018           0 :         status = self->status;
    3019           0 :         self->status = 1;
    3020           0 :         retval = msQueryByFilter(map);
    3021           0 :         self->status = status;
    3022             : 
    3023           0 :         return retval;
    3024             :     }
    3025             : SWIGINTERN int layerObj_queryByPoint(struct layerObj *self,mapObj *map,pointObj *point,int mode,double buffer){
    3026             :         int status;
    3027             :         int retval;
    3028             : 
    3029           0 :         msInitQuery(&(map->query));
    3030             : 
    3031           0 :         map->query.type = MS_QUERY_BY_POINT;
    3032           0 :         map->query.mode = mode;
    3033           0 :         map->query.point = *point;
    3034           0 :         map->query.buffer = buffer;
    3035           0 :         map->query.layer = self->index;
    3036             :         
    3037           0 :         status = self->status;
    3038           0 :         self->status = 1;
    3039           0 :         retval = msQueryByPoint(map);
    3040           0 :         self->status = status;
    3041             : 
    3042             :         return retval;
    3043             :     }
    3044             : SWIGINTERN int layerObj_queryByRect(struct layerObj *self,mapObj *map,rectObj rect){
    3045             :         int status;
    3046             :         int retval;
    3047             : 
    3048           0 :         msInitQuery(&(map->query));
    3049             : 
    3050           0 :         map->query.type = MS_QUERY_BY_RECT;
    3051           0 :         map->query.mode = MS_QUERY_MULTIPLE;
    3052           0 :         map->query.rect = rect; 
    3053           0 :         map->query.layer = self->index;
    3054             : 
    3055           0 :         status = self->status;
    3056           0 :         self->status = 1;
    3057           0 :         retval = msQueryByRect(map);
    3058           0 :         self->status = status;
    3059             : 
    3060             :         return retval;
    3061             :     }
    3062             : SWIGINTERN int layerObj_queryByFeatures(struct layerObj *self,mapObj *map,int slayer){
    3063             :         int status;
    3064             :         int retval;
    3065             : 
    3066           0 :         map->query.slayer = slayer;
    3067           0 :         map->query.layer = self->index;
    3068             : 
    3069           0 :         status = self->status;
    3070           0 :         self->status = 1;
    3071           0 :         retval = msQueryByFeatures(map);
    3072           0 :         self->status = status;
    3073             :         return retval;
    3074             :     }
    3075           0 : SWIGINTERN int layerObj_queryByShape(struct layerObj *self,mapObj *map,shapeObj *shape){
    3076             :         int status;
    3077             :         int retval;
    3078             :         
    3079           0 :         msInitQuery(&(map->query));
    3080             : 
    3081           0 :         map->query.type = MS_QUERY_BY_SHAPE;
    3082           0 :         map->query.mode = MS_QUERY_MULTIPLE;
    3083           0 :         map->query.shape = (shapeObj *) malloc(sizeof(shapeObj));
    3084           0 :         msInitShape(map->query.shape);
    3085           0 :         msCopyShape(shape, map->query.shape);
    3086           0 :         map->query.layer = self->index;
    3087             : 
    3088           0 :         status = self->status;
    3089           0 :         self->status = 1;
    3090           0 :         retval = msQueryByShape(map);
    3091           0 :         self->status = status;
    3092           0 :         return retval;
    3093             :     }
    3094             : SWIGINTERN int layerObj_queryByIndex(struct layerObj *self,mapObj *map,int tileindex,int shapeindex,int bAddToQuery){
    3095             :         int status;
    3096             :         int retval;
    3097             :         
    3098           0 :         msInitQuery(&(map->query));
    3099             : 
    3100           0 :         map->query.type = MS_QUERY_BY_INDEX;
    3101           0 :         map->query.mode = MS_QUERY_SINGLE;
    3102           0 :         map->query.tileindex = tileindex;
    3103           0 :         map->query.shapeindex = shapeindex;
    3104           0 :         map->query.clear_resultcache = !bAddToQuery;
    3105           0 :         map->query.layer = self->index;
    3106             : 
    3107           0 :         status = self->status;
    3108           0 :         self->status = 1;
    3109           0 :         retval = msQueryByIndex(map);
    3110           0 :         self->status = status;
    3111             :         return retval;
    3112             :     }
    3113             : SWIGINTERN resultCacheObj *layerObj_getResults(struct layerObj *self){
    3114             :         return self->resultcache;
    3115             :     }
    3116           0 : SWIGINTERN int layerObj_setFilter(struct layerObj *self,char *filter){
    3117           0 :         if (!filter || strlen(filter) == 0) {
    3118           0 :             msFreeExpression(&self->filter);
    3119           0 :             return MS_SUCCESS;
    3120             :         }
    3121           0 :         else return msLoadExpressionString(&self->filter, filter);
    3122             :     }
    3123             : SWIGINTERN char *layerObj_getFilterString(struct layerObj *self){
    3124           0 :         return msGetExpressionString(&(self->filter));
    3125             :     }
    3126             : SWIGINTERN int layerObj_setWKTProjection(struct layerObj *self,char *wkt){
    3127           0 :         self->project = 1;
    3128           0 :         return msOGCWKT2ProjectionObj(wkt, &(self->projection), self->debug);
    3129             :     }
    3130             : SWIGINTERN char *layerObj_getProjection(struct layerObj *self){    
    3131           0 :         return (char *) msGetProjectionString(&(self->projection));
    3132             :     }
    3133             : SWIGINTERN int layerObj_setProjection(struct layerObj *self,char *proj4){
    3134           0 :         self->project = 1;
    3135           0 :         return msLoadProjectionString(&(self->projection), proj4);
    3136             :     }
    3137           0 : SWIGINTERN int layerObj_addFeature(struct layerObj *self,shapeObj *shape){    
    3138           0 :         self->connectiontype = MS_INLINE;
    3139           0 :         if(self->features != NULL && self->features->tailifhead != NULL) 
    3140           0 :             shape->index = self->features->tailifhead->shape.index + 1;
    3141             :         else 
    3142           0 :             shape->index = 0;
    3143           0 :         if (insertFeatureList(&(self->features), shape) == NULL) 
    3144             :         return MS_FAILURE;
    3145           0 :         return MS_SUCCESS;
    3146             :     }
    3147             : SWIGINTERN int layerObj_getNumFeatures(struct layerObj *self){
    3148           0 :         return msLayerGetNumFeatures(self);
    3149             :     }
    3150             : SWIGINTERN rectObj *layerObj_getExtent(struct layerObj *self){
    3151             :         rectObj *extent;
    3152           0 :         extent = (rectObj *) malloc(sizeof(rectObj));
    3153           0 :         msLayerGetExtent(self, extent);
    3154             :         return extent;
    3155             :     }
    3156           0 : SWIGINTERN int layerObj_setExtent(struct layerObj *self,double minx,double miny,double maxx,double maxy){
    3157           0 :         if (minx > maxx || miny > maxy) {
    3158           0 :             msSetError(34,
    3159             :                 "{ 'minx': %f , 'miny': %f , 'maxx': %f , 'maxy': %f }",
    3160             :                 "layerObj::setExtent()", minx, miny, maxx, maxy);
    3161           0 :             return MS_FAILURE;
    3162             :         }
    3163             : 
    3164           0 :         return msLayerSetExtent(self, minx, miny, maxx, maxy);
    3165             :     }
    3166           0 : SWIGINTERN char *layerObj_getMetaData(struct layerObj *self,char *name){
    3167             :         char *value = NULL;
    3168           0 :         if (!name) {
    3169           0 :             msSetError(16, "NULL key", "getMetaData");
    3170             :         }
    3171             :      
    3172           0 :         value = (char *) msLookupHashTable(&(self->metadata), name);
    3173             :     /*
    3174             :     Umberto, 05/17/2006
    3175             :     Exceptions should be reserved for situations when a serious error occurred
    3176             :     and normal program flow must be interrupted.
    3177             :     In this case returning null should be more that enough.
    3178             :     */
    3179             : 
    3180           0 :         if (!value) {
    3181           0 :             msSetError(16, "Key %s does not exist", "getMetaData", name);
    3182           0 :             return NULL;
    3183             :         }
    3184             : 
    3185             :         return value;
    3186             :     }
    3187             : SWIGINTERN int layerObj_setMetaData(struct layerObj *self,char *name,char *value){
    3188           0 :         if (msInsertHashTable(&(self->metadata), name, value) == NULL)
    3189             :         return MS_FAILURE;
    3190             :         return MS_SUCCESS;
    3191             :     }
    3192             : SWIGINTERN int layerObj_removeMetaData(struct layerObj *self,char *name){
    3193           0 :         return(msRemoveHashTable(&(self->metadata), name));
    3194             :     }
    3195             : SWIGINTERN char *layerObj_getFirstMetaDataKey(struct layerObj *self){
    3196           0 :         return (char *) msFirstKeyFromHashTable(&(self->metadata));
    3197             :     }
    3198             : SWIGINTERN char *layerObj_getNextMetaDataKey(struct layerObj *self,char *lastkey){
    3199           0 :         return (char *) msNextKeyFromHashTable(&(self->metadata), lastkey);
    3200             :     }
    3201             : SWIGINTERN char *layerObj_getWMSFeatureInfoURL(struct layerObj *self,mapObj *map,int click_x,int click_y,int feature_count,char *info_format){
    3202           0 :         return (char *) msWMSGetFeatureInfoURL(map, self, click_x, click_y,
    3203             :                feature_count, info_format);
    3204             :     }
    3205             : SWIGINTERN char *layerObj_executeWFSGetFeature(struct layerObj *self,layerObj *layer){
    3206           0 :         return (char *) msWFSExecuteGetFeature(layer);
    3207             :     }
    3208             : SWIGINTERN int layerObj_applySLD(struct layerObj *self,char *sld,char *stylelayer){
    3209           0 :       return msSLDApplySLD(self->map, sld, self->index, stylelayer, NULL);
    3210             :     }
    3211             : SWIGINTERN int layerObj_applySLDURL(struct layerObj *self,char *sld,char *stylelayer){
    3212           0 :       return msSLDApplySLDURL(self->map, sld, self->index, stylelayer, NULL);
    3213             :     }
    3214             : SWIGINTERN char *layerObj_generateSLD(struct layerObj *self){
    3215           0 :         return (char *) msSLDGenerateSLD(self->map, self->index, NULL);
    3216             :     }
    3217           0 : SWIGINTERN int layerObj_isVisible(struct layerObj *self){
    3218           0 :         if (!self->map)
    3219             :         {
    3220           0 :             msSetError(12,
    3221             :                 "visibility has no meaning outside of a map context",
    3222             :                 "isVisible()");
    3223           0 :             return MS_FAILURE;
    3224             :         }
    3225           0 :         return msLayerIsVisible(self->map, self);
    3226             :     }
    3227             : SWIGINTERN int layerObj_moveClassUp(struct layerObj *self,int index){
    3228           0 :         return msMoveClassUp(self, index);
    3229             :     }
    3230             : SWIGINTERN int layerObj_moveClassDown(struct layerObj *self,int index){
    3231           0 :         return msMoveClassDown(self, index);
    3232             :     }
    3233             : SWIGINTERN void layerObj_setProcessingKey(struct layerObj *self,char const *key,char const *value){
    3234           0 :        msLayerSetProcessingKey( self, key, value );
    3235             :     }
    3236             : SWIGINTERN void layerObj_setProcessing(struct layerObj *self,char const *directive){
    3237           0 :         msLayerAddProcessing( self, directive );
    3238             :     }
    3239             : SWIGINTERN void layerObj_addProcessing(struct layerObj *self,char const *directive){
    3240           0 :         msLayerAddProcessing( self, directive );
    3241             :     }
    3242             : SWIGINTERN char *layerObj_getProcessing(struct layerObj *self,int index){
    3243           0 :         return (char *) msLayerGetProcessing(self, index);
    3244             :     }
    3245             : SWIGINTERN char *layerObj_getProcessingKey(struct layerObj *self,char const *key){
    3246           0 :       return (char *) msLayerGetProcessingKey(self, key);
    3247             :     }
    3248             : SWIGINTERN int layerObj_clearProcessing(struct layerObj *self){
    3249           0 :         return msLayerClearProcessing(self);
    3250             :     }
    3251           0 : SWIGINTERN int layerObj_setConnectionType(struct layerObj *self,int connectiontype,char const *library_str){    
    3252             :         /* Caller is responsible to close previous layer correctly before
    3253             :          * calling msConnectLayer() 
    3254             :          */
    3255           0 :         if (msLayerIsOpen(self))
    3256           0 :           msLayerClose(self);
    3257           0 :         return msConnectLayer(self, connectiontype, library_str);
    3258             :     }
    3259             : SWIGINTERN int layerObj_getClassIndex(struct layerObj *self,mapObj *map,shapeObj *shape,int *classgroup,int numclasses){
    3260           0 :         return msShapeGetClass(self, map, shape, classgroup, numclasses);
    3261             :     }
    3262             : SWIGINTERN char *layerObj_getGeomTransform(struct layerObj *self){
    3263             :       return self->_geomtransform.string;
    3264             :     }
    3265           0 : SWIGINTERN void layerObj_setGeomTransform(struct layerObj *self,char *transform){
    3266           0 :       msFree(self->_geomtransform.string);
    3267           0 :       if (!transform || strlen(transform) > 0) {
    3268           0 :         self->_geomtransform.string = msStrdup(transform);
    3269           0 :         self->_geomtransform.type = MS_GEOMTRANSFORM_EXPRESSION;
    3270             :       }
    3271             :       else {
    3272           0 :         self->_geomtransform.type = MS_GEOMTRANSFORM_NONE;
    3273           0 :         self->_geomtransform.string = NULL;
    3274             :       }
    3275           0 :     }
    3276           0 : SWIGINTERN char *layerObj_getItemType(struct layerObj *self,int i){
    3277             : 
    3278             :         char *itemType = NULL;
    3279             : 
    3280           0 :         if (i >= 0 && i < self->numitems) {
    3281             :             gmlItemListObj *item_list;
    3282           0 :             item_list = msGMLGetItems(self, "G");
    3283           0 :             if (item_list != NULL) {
    3284           0 :                 gmlItemObj *item = item_list->items + i;
    3285           0 :                 itemType = msStrdup(item->type);
    3286           0 :                 msGMLFreeItems(item_list); // destroy the original list
    3287             :             }
    3288             :         }
    3289             : 
    3290           0 :         return itemType;
    3291             :     }
    3292           1 : SWIGINTERN struct mapObj *new_mapObj(char *filename){
    3293           1 :         if (filename && strlen(filename))
    3294           1 :             return msLoadMap(filename, NULL);
    3295             :         else { /* create an empty map, no layers etc... */
    3296           0 :             return msNewMapObj();
    3297             :         }      
    3298             :     }
    3299             : SWIGINTERN void delete_mapObj(struct mapObj *self){
    3300           1 :         msFreeMap(self);
    3301             :     }
    3302           0 : SWIGINTERN mapObj *mapObj_clone(struct mapObj *self){
    3303             :         mapObj *dstMap;
    3304           0 :         dstMap = msNewMapObj();
    3305           0 :         if (msCopyMap(dstMap, self) != MS_SUCCESS) {
    3306           0 :             msFreeMap(dstMap);
    3307             :             dstMap = NULL;
    3308             :         }
    3309           0 :         return dstMap;
    3310             :     }
    3311             : SWIGINTERN int mapObj_insertLayer(struct mapObj *self,layerObj *layer,int index){
    3312           1 :         return msInsertLayer(self, layer, index);  
    3313             :     }
    3314             : SWIGINTERN layerObj *mapObj_removeLayer(struct mapObj *self,int index){
    3315           0 :         layerObj *layer=msRemoveLayer(self, index);
    3316           0 :         MS_REFCNT_INCR(layer);
    3317             :         return layer;
    3318             :     }
    3319             : SWIGINTERN int mapObj_setExtent(struct mapObj *self,double minx,double miny,double maxx,double maxy){
    3320           0 :         return msMapSetExtent( self, minx, miny, maxx, maxy );
    3321             :     }
    3322             : SWIGINTERN int mapObj_offsetExtent(struct mapObj *self,double x,double y){
    3323           0 :         return msMapOffsetExtent( self, x, y );
    3324             :     }
    3325             : SWIGINTERN int mapObj_scaleExtent(struct mapObj *self,double zoomfactor,double minscaledenom,double maxscaledenom){
    3326           0 :         return msMapScaleExtent( self, zoomfactor, minscaledenom, maxscaledenom );
    3327             :     }
    3328             : SWIGINTERN int mapObj_setCenter(struct mapObj *self,pointObj *center){
    3329           0 :         return msMapSetCenter( self, center );
    3330             :     }
    3331             : SWIGINTERN int mapObj_setSize(struct mapObj *self,int width,int height){
    3332           0 :         return msMapSetSize(self, width, height);
    3333             :     }
    3334             : SWIGINTERN void mapObj_pixelToGeoref(struct mapObj *self,double pixPosX,double pixPosY,pointObj *geoPos){
    3335           0 :        geoPos->x = self->gt.geotransform[0] + self->gt.geotransform[1] * pixPosX + self->gt.geotransform[2] * pixPosY;
    3336           0 :        geoPos->y = self->gt.geotransform[3] + self->gt.geotransform[4] * pixPosX + self->gt.geotransform[5] * pixPosY;
    3337             :     }
    3338             : SWIGINTERN double mapObj_getRotation(struct mapObj *self){
    3339             :         return self->gt.rotation_angle;
    3340             :     }
    3341             : SWIGINTERN int mapObj_setRotation(struct mapObj *self,double rotation_angle){
    3342           0 :         return msMapSetRotation( self, rotation_angle );
    3343             :     }
    3344           1 : SWIGINTERN layerObj *mapObj_getLayer(struct mapObj *self,int i){
    3345           1 :       if(i >= 0 && i < self->numlayers) {
    3346           1 :           MS_REFCNT_INCR(self->layers[i]);
    3347           1 :           return (self->layers[i]); /* returns an EXISTING layer */
    3348             :       } else {
    3349             :         return NULL;
    3350             :       }
    3351             :     }
    3352           1 : SWIGINTERN layerObj *mapObj_getLayerByName(struct mapObj *self,char *name){
    3353             :       int i;
    3354             : 
    3355           1 :       i = msGetLayerIndex(self, name);
    3356             : 
    3357           1 :       if(i != -1) {
    3358           1 :         MS_REFCNT_INCR(self->layers[i]);
    3359           1 :         return (self->layers[i]); /* returns an EXISTING layer */
    3360             :       }
    3361             :       else
    3362             :         return NULL;
    3363             :     }
    3364             : SWIGINTERN int mapObj_getSymbolByName(struct mapObj *self,char *name){
    3365           0 :       return msGetSymbolIndex(&self->symbolset, name, 1);
    3366             :     }
    3367           0 : SWIGINTERN void mapObj_prepareQuery(struct mapObj *self){
    3368             :       int status;
    3369             : 
    3370           0 :       status = msCalculateScale(self->extent, self->units, self->width, self->height, self->resolution, &self->scaledenom);
    3371           0 :       if(status != MS_SUCCESS) self->scaledenom = -1;
    3372           0 :     }
    3373             : SWIGINTERN imageObj *mapObj_prepareImage(struct mapObj *self){
    3374           0 :       return msPrepareImage(self, 0);
    3375             :     }
    3376           0 : SWIGINTERN void mapObj_setImageType(struct mapObj *self,char *imagetype){
    3377             :         outputFormatObj *format;
    3378             : 
    3379           0 :         format = msSelectOutputFormat( self, imagetype );
    3380           0 :         if( format == NULL )
    3381           0 :             msSetError(12, "Unable to find IMAGETYPE '%s'.", 
    3382             :                "setImageType()", imagetype );
    3383             :         else
    3384             :         {  
    3385           0 :             msFree( self->imagetype );
    3386           0 :             self->imagetype = msStrdup(imagetype);
    3387           0 :             msApplyOutputFormat( &(self->outputformat), format, -1111, 
    3388             :                                  -1111, -1111 );
    3389             :         }
    3390           0 :     }
    3391           0 : SWIGINTERN void mapObj_selectOutputFormat(struct mapObj *self,char *imagetype){
    3392             :         outputFormatObj *format;
    3393             : 
    3394           0 :         format = msSelectOutputFormat( self, imagetype );
    3395           0 :         if ( format == NULL )
    3396           0 :             msSetError(12, "Unable to find IMAGETYPE '%s'.", 
    3397             :                        "setImageType()", imagetype );
    3398             :         else
    3399             :         {   
    3400           0 :             msFree( self->imagetype );
    3401           0 :             self->imagetype = msStrdup(imagetype);
    3402           0 :             msApplyOutputFormat( &(self->outputformat), format, -1111, 
    3403             :                                  -1111, -1111 );
    3404             :         }
    3405           0 :     }
    3406           0 : SWIGINTERN outputFormatObj *mapObj_getOutputFormat(struct mapObj *self,int i){
    3407           0 :       if(i >= 0 && i < self->numoutputformats) {
    3408           0 :           MS_REFCNT_INCR(self->outputformatlist[i]);
    3409           0 :           return (self->outputformatlist[i]); 
    3410             :       } else {
    3411             :         return NULL;
    3412             :       }
    3413             :     }
    3414             : SWIGINTERN void mapObj_setOutputFormat(struct mapObj *self,outputFormatObj *format){
    3415           0 :         msApplyOutputFormat( &(self->outputformat), format, -1111, 
    3416             :                              -1111, -1111 );
    3417             :     }
    3418             : SWIGINTERN imageObj *mapObj_draw(struct mapObj *self){
    3419             :   
    3420             : 
    3421             : 
    3422             : 
    3423             : 
    3424             : 
    3425             : 
    3426             : 
    3427           0 :       return msDrawMap(self, 0);
    3428             :   
    3429             :     }
    3430             : SWIGINTERN imageObj *mapObj_drawQuery(struct mapObj *self){
    3431           0 :       return msDrawMap(self, 1);
    3432             :     }
    3433             : SWIGINTERN imageObj *mapObj_drawLegend(struct mapObj *self){
    3434           0 :       return msDrawLegend(self, 0, NULL);
    3435             :     }
    3436             : SWIGINTERN imageObj *mapObj_drawScalebar(struct mapObj *self){
    3437           0 :       return msDrawScalebar(self);
    3438             :     }
    3439             : SWIGINTERN imageObj *mapObj_drawReferenceMap(struct mapObj *self){
    3440           0 :       return msDrawReferenceMap(self);
    3441             :     }
    3442             : SWIGINTERN int mapObj_embedScalebar(struct mapObj *self,imageObj *image){ 
    3443           0 :       return msEmbedScalebar(self, image);
    3444             :     }
    3445             : SWIGINTERN int mapObj_embedLegend(struct mapObj *self,imageObj *image){ 
    3446           0 :       return msEmbedLegend(self, image);
    3447             :     }
    3448             : SWIGINTERN int mapObj_drawLabelCache(struct mapObj *self,imageObj *image){
    3449           0 :       return msDrawLabelCache(self,image);
    3450             :     }
    3451           0 : SWIGINTERN int mapObj_queryByFilter(struct mapObj *self,char *string){
    3452           0 :       msInitQuery(&(self->query));
    3453             : 
    3454           0 :       self->query.type = MS_QUERY_BY_FILTER;
    3455           0 :       self->query.mode = MS_QUERY_MULTIPLE;
    3456             : 
    3457           0 :       self->query.filter.string = msStrdup(string);
    3458           0 :       self->query.filter.type = MS_EXPRESSION;
    3459             : 
    3460           0 :       self->query.rect = self->extent;
    3461             : 
    3462           0 :       return msQueryByFilter(self);
    3463             :     }
    3464             : SWIGINTERN int mapObj_queryByPoint(struct mapObj *self,pointObj *point,int mode,double buffer){
    3465           0 :       msInitQuery(&(self->query));
    3466             : 
    3467           0 :       self->query.type = MS_QUERY_BY_POINT;
    3468           0 :       self->query.mode = mode;
    3469           0 :       self->query.point = *point;
    3470           0 :       self->query.buffer = buffer;
    3471             : 
    3472           0 :       return msQueryByPoint(self);
    3473             :     }
    3474             : SWIGINTERN int mapObj_queryByRect(struct mapObj *self,rectObj rect){
    3475           0 :       msInitQuery(&(self->query));
    3476             : 
    3477           0 :       self->query.type = MS_QUERY_BY_RECT;
    3478           0 :       self->query.mode = MS_QUERY_MULTIPLE;
    3479           0 :       self->query.rect = rect;
    3480             : 
    3481           0 :       return msQueryByRect(self);
    3482             :     }
    3483             : SWIGINTERN int mapObj_queryByFeatures(struct mapObj *self,int slayer){
    3484           0 :       self->query.slayer = slayer;
    3485           0 :       return msQueryByFeatures(self);
    3486             :     }
    3487           0 : SWIGINTERN int mapObj_queryByShape(struct mapObj *self,shapeObj *shape){
    3488           0 :       msInitQuery(&(self->query));
    3489             :       
    3490           0 :       self->query.type = MS_QUERY_BY_SHAPE;
    3491           0 :       self->query.mode = MS_QUERY_MULTIPLE;
    3492           0 :       self->query.shape = (shapeObj *) malloc(sizeof(shapeObj));
    3493           0 :       msInitShape(self->query.shape);
    3494           0 :       msCopyShape(shape, self->query.shape);
    3495             : 
    3496           0 :       return msQueryByShape(self);
    3497             :     }
    3498             : SWIGINTERN int mapObj_setWKTProjection(struct mapObj *self,char *wkt){
    3499           0 :       return msOGCWKT2ProjectionObj(wkt, &(self->projection), self->debug);
    3500             :     }
    3501             : SWIGINTERN char *mapObj_getProjection(struct mapObj *self){
    3502           0 :       return msGetProjectionString(&(self->projection));
    3503             :     }
    3504             : SWIGINTERN int mapObj_setProjection(struct mapObj *self,char *proj4){
    3505           0 :       return msLoadProjectionString(&(self->projection), proj4);
    3506             :     }
    3507             : SWIGINTERN int mapObj_save(struct mapObj *self,char *filename){
    3508           0 :       return msSaveMap(self, filename);
    3509             :     }
    3510             : SWIGINTERN int mapObj_saveQuery(struct mapObj *self,char *filename,int results){
    3511           0 :       return msSaveQuery(self, filename, results);
    3512             :     }
    3513             : SWIGINTERN int mapObj_loadQuery(struct mapObj *self,char *filename){
    3514           0 :       return msLoadQuery(self, filename);
    3515             :     }
    3516             : SWIGINTERN void mapObj_freeQuery(struct mapObj *self,int qlayer){
    3517           0 :       msQueryFree(self, qlayer);
    3518             :     }
    3519             : SWIGINTERN int mapObj_saveQueryAsGML(struct mapObj *self,char *filename,char const *ns){
    3520           0 :       return msGMLWriteQuery(self, filename, ns);
    3521             :     }
    3522           0 : SWIGINTERN char *mapObj_getMetaData(struct mapObj *self,char *name){
    3523             :       char *value = NULL;
    3524           0 :       if (!name) {
    3525           0 :         msSetError(16, "NULL key", "getMetaData");
    3526             :       }
    3527             :        
    3528           0 :       value = (char *) msLookupHashTable(&(self->web.metadata), name);
    3529           0 :       if (!value) {
    3530           0 :         msSetError(16, "Key %s does not exist", "getMetaData", name);
    3531           0 :         return NULL;
    3532             :       }
    3533             :       return value;
    3534             :     }
    3535             : SWIGINTERN int mapObj_setMetaData(struct mapObj *self,char *name,char *value){
    3536           0 :       if (msInsertHashTable(&(self->web.metadata), name, value) == NULL)
    3537             :           return MS_FAILURE;
    3538             :       return MS_SUCCESS;
    3539             :     }
    3540             : SWIGINTERN int mapObj_removeMetaData(struct mapObj *self,char *name){
    3541           0 :       return(msRemoveHashTable(&(self->web.metadata), name));
    3542             :     }
    3543             : SWIGINTERN char *mapObj_getFirstMetaDataKey(struct mapObj *self){
    3544           0 :       return (char *) msFirstKeyFromHashTable(&(self->web.metadata));
    3545             :     }
    3546             : SWIGINTERN char *mapObj_getNextMetaDataKey(struct mapObj *self,char *lastkey){
    3547           0 :       return (char *) msNextKeyFromHashTable(&(self->web.metadata), lastkey);
    3548             :     }
    3549           0 : SWIGINTERN int mapObj_setSymbolSet(struct mapObj *self,char *szFileName){
    3550           0 :       msFreeSymbolSet(&self->symbolset);
    3551           0 :       msInitSymbolSet(&self->symbolset);
    3552             : 
    3553           0 :       self->symbolset.filename = msStrdup(szFileName);
    3554             : 
    3555             :       /* Symbolset shares same fontset as main mapfile */
    3556           0 :       self->symbolset.fontset = &(self->fontset);
    3557             : 
    3558           0 :       return msLoadSymbolSet(&self->symbolset, self);
    3559             :     }
    3560             : SWIGINTERN int mapObj_getNumSymbols(struct mapObj *self){
    3561             :       return self->symbolset.numsymbols;
    3562             :     }
    3563           0 : SWIGINTERN int mapObj_setFontSet(struct mapObj *self,char *filename){
    3564           0 :       msFreeFontSet(&(self->fontset));
    3565           0 :       msInitFontSet(&(self->fontset));
    3566             : 
    3567           0 :       self->fontset.filename = msStrdup(filename);
    3568             : 
    3569           0 :       return msLoadFontSet(&(self->fontset), self);
    3570             :     }
    3571             : SWIGINTERN int mapObj_saveMapContext(struct mapObj *self,char *szFileName){
    3572           0 :       return msSaveMapContext(self, szFileName);
    3573             :     }
    3574             : SWIGINTERN int mapObj_loadMapContext(struct mapObj *self,char *szFileName,int useUniqueNames){
    3575           0 :       return msLoadMapContext(self, szFileName, useUniqueNames);
    3576             :     }
    3577             : SWIGINTERN int mapObj_moveLayerUp(struct mapObj *self,int layerindex){
    3578           0 :       return msMoveLayerUp(self, layerindex);
    3579             :     }
    3580             : SWIGINTERN int mapObj_moveLayerDown(struct mapObj *self,int layerindex){
    3581           0 :       return msMoveLayerDown(self, layerindex);
    3582             :     }
    3583           0 : SWIGINTERN intarray *mapObj_getLayersDrawingOrder(struct mapObj *self){
    3584             :       int i;
    3585             :       intarray *order;
    3586           0 :       order = new_intarray(self->numlayers);
    3587           0 :       for (i=0; i<self->numlayers; i++)
    3588             :           
    3589             : 
    3590             : 
    3591           0 :           intarray_setitem(order, i, self->layerorder[i]);
    3592             :           
    3593           0 :       return order;
    3594             :     }
    3595             : SWIGINTERN int mapObj_setLayersDrawingOrder(struct mapObj *self,int *panIndexes){
    3596           0 :       return msSetLayersdrawingOrder(self, panIndexes); 
    3597             :     }
    3598             : SWIGINTERN void mapObj_setConfigOption(struct mapObj *self,char *key,char *value){
    3599           0 :       msSetConfigOption(self,key,value);
    3600             :     }
    3601             : SWIGINTERN char *mapObj_getConfigOption(struct mapObj *self,char *key){
    3602           0 :       return (char *) msGetConfigOption(self,key);
    3603             :     }
    3604             : SWIGINTERN void mapObj_applyConfigOptions(struct mapObj *self){
    3605           0 :       msApplyMapConfigOptions( self );
    3606             :     }
    3607             : SWIGINTERN int mapObj_applySLD(struct mapObj *self,char *sld){
    3608           0 :       return msSLDApplySLD(self, sld, -1, NULL, NULL);
    3609             :     }
    3610             : SWIGINTERN int mapObj_applySLDURL(struct mapObj *self,char *sld){
    3611           0 :       return msSLDApplySLDURL(self, sld, -1, NULL, NULL);
    3612             :     }
    3613             : SWIGINTERN char *mapObj_generateSLD(struct mapObj *self,char *sldVersion){
    3614           0 :         return (char *) msSLDGenerateSLD(self, -1, sldVersion);
    3615             :     }
    3616             : SWIGINTERN char *mapObj_processTemplate(struct mapObj *self,int bGenerateImages,char **names,char **values,int numentries){
    3617           0 :         return msProcessTemplate(self, bGenerateImages, names, values,
    3618             :                                  numentries);
    3619             :     }
    3620             : SWIGINTERN char *mapObj_processLegendTemplate(struct mapObj *self,char **names,char **values,int numentries){
    3621           0 :         return msProcessLegendTemplate(self, names, values, numentries);
    3622             :     }
    3623             : SWIGINTERN char *mapObj_processQueryTemplate(struct mapObj *self,char **names,char **values,int numentries){
    3624           0 :         return msProcessQueryTemplate(self, 1, names, values, numentries);
    3625             :     }
    3626             : SWIGINTERN outputFormatObj *mapObj_getOutputFormatByName(struct mapObj *self,char *name){
    3627           0 :         return msSelectOutputFormat(self, name); 
    3628             :     }
    3629             : SWIGINTERN int mapObj_appendOutputFormat(struct mapObj *self,outputFormatObj *format){
    3630           0 :         return msAppendOutputFormat(self, format);
    3631             :     }
    3632             : SWIGINTERN int mapObj_removeOutputFormat(struct mapObj *self,char *name){
    3633           0 :         return msRemoveOutputFormat(self, name);
    3634             :     }
    3635             : SWIGINTERN int mapObj_loadOWSParameters(struct mapObj *self,cgiRequestObj *request,char *wmtver_string){
    3636           0 :         return msMapLoadOWSParameters(self, request, wmtver_string);
    3637             :     }
    3638             : SWIGINTERN int mapObj_OWSDispatch(struct mapObj *self,cgiRequestObj *req){
    3639           1 :         return msOWSDispatch( self, req, 1 );
    3640             :     }
    3641             : SWIGINTERN char *mapObj_convertToString(struct mapObj *self){
    3642           0 :         return msWriteMapToString(self);
    3643             :     }
    3644             : SWIGINTERN void mapObj_applyDefaultSubstitutions(struct mapObj *self){
    3645           0 :         msApplyDefaultSubstitutions(self);
    3646             :     }
    3647             : SWIGINTERN void mapObj_applySubstitutions(struct mapObj *self,char **names,char **values,int npairs){
    3648           0 :         msApplySubstitutions(self, names, values, npairs);
    3649             :     }
    3650           0 : SWIGINTERN int mapObj_zoomPoint(struct mapObj *self,int zoomfactor,pointObj *poPixPos,int width,int height,rectObj *poGeorefExt,rectObj *poMaxGeorefExt){
    3651             :         double      dfGeoPosX, dfGeoPosY;
    3652             :         double      dfDeltaX, dfDeltaY;
    3653             :         rectObj     oNewGeorefExt;    
    3654             :         double      dfNewScale;
    3655             :         int         bMaxExtSet;
    3656             :         double      dfDeltaExt;
    3657             :         double dX, dY;
    3658             :         
    3659           0 :         dfNewScale = 0.0;
    3660             :         bMaxExtSet = 0;
    3661             :         dfDeltaExt = -1.0;
    3662             : 
    3663           0 :         if (poMaxGeorefExt != NULL) { bMaxExtSet = 1; }
    3664             : 
    3665             :         /* ----------------------------------------------------------- */
    3666             :         /*      check the validity of the parameters.                  */
    3667             :         /* ----------------------------------------------------------- */
    3668           0 :         if (zoomfactor == 0 || width <= 0 || height <= 0 || poGeorefExt == NULL || poPixPos == NULL) {
    3669           0 :             msSetError(12, "Incorrect arguments", "mapscript::mapObj::zoomPoint()");
    3670           0 :             return MS_FAILURE;
    3671             :         }
    3672             : 
    3673             :         /* ----------------------------------------------------------- */
    3674             :         /*      check if the values passed are consistent min > max.   */
    3675             :         /* ----------------------------------------------------------- */
    3676           0 :         if (poGeorefExt->minx >= poGeorefExt->maxx)  {
    3677           0 :             msSetError(12, "Georeferenced coordinates minx >= maxx",  "mapscript::mapObj::zoomPoint()");
    3678           0 :             return MS_FAILURE;
    3679             :         }
    3680           0 :         if (poGeorefExt->miny >= poGeorefExt->maxy)  {
    3681           0 :             msSetError(12, "Georeferenced coordinates miny >= maxy", "mapscript::mapObj::zoomPoint()");
    3682           0 :             return MS_FAILURE;
    3683             :         }
    3684             : 
    3685           0 :         if (bMaxExtSet == 1) {
    3686           0 :             if (poMaxGeorefExt->minx >= poMaxGeorefExt->maxx) {
    3687           0 :                 msSetError(12, "Max Georeferenced coordinates minx >= maxx", "mapscript::mapObj::zoomPoint()");
    3688           0 :                 return MS_FAILURE;
    3689             :             }
    3690           0 :             if (poMaxGeorefExt->miny >= poMaxGeorefExt->maxy) {
    3691           0 :                 msSetError(12, "Max Georeferenced coordinates miny >= maxy", "mapscript::mapObj::zoomPoint()");
    3692             :             }
    3693             :         }
    3694             :    
    3695           0 :         dfDeltaX = poGeorefExt->maxx - poGeorefExt->minx;
    3696           0 :         dfDeltaY = poGeorefExt->maxy - poGeorefExt->miny;
    3697           0 :         dX = dfDeltaX/((double)width);
    3698           0 :         dY = dfDeltaY/((double)height);
    3699           0 :         dfGeoPosX = poGeorefExt->minx + dX * (double)poPixPos->x;
    3700           0 :         dfGeoPosY = poGeorefExt->maxy - dY * (double)poPixPos->y;
    3701             : 
    3702           0 :         if (self->gt.rotation_angle != 0) {
    3703           0 :             dfGeoPosX = self->gt.geotransform[0] + self->gt.geotransform[1] * (double)poPixPos->x + self->gt.geotransform[2] * (double)poPixPos->y;
    3704           0 :             dfGeoPosY = self->gt.geotransform[3] + self->gt.geotransform[4] * (double)poPixPos->x + self->gt.geotransform[5] * (double)poPixPos->y;
    3705             :         }
    3706             :         
    3707             :         /* --- -------------------------------------------------------- */
    3708             :         /*      zoom in                                                 */
    3709             :         /* ------------------------------------------------------------ */
    3710           0 :         if (zoomfactor > 1) {
    3711           0 :             oNewGeorefExt.minx = dfGeoPosX - (dfDeltaX/(2*zoomfactor));        
    3712           0 :             oNewGeorefExt.miny = dfGeoPosY - (dfDeltaY/(2*zoomfactor));        
    3713           0 :             oNewGeorefExt.maxx = dfGeoPosX + (dfDeltaX/(2*zoomfactor));        
    3714           0 :             oNewGeorefExt.maxy = dfGeoPosY + (dfDeltaY/(2*zoomfactor));
    3715             :         }
    3716             : 
    3717           0 :         if (zoomfactor < 0) {
    3718           0 :             oNewGeorefExt.minx = dfGeoPosX - (dfDeltaX/2)*(abs(zoomfactor));    
    3719           0 :             oNewGeorefExt.miny = dfGeoPosY - (dfDeltaY/2)*(abs(zoomfactor));    
    3720           0 :             oNewGeorefExt.maxx = dfGeoPosX + (dfDeltaX/2)*(abs(zoomfactor));    
    3721           0 :             oNewGeorefExt.maxy = dfGeoPosY + (dfDeltaY/2)*(abs(zoomfactor));
    3722             :         }
    3723             : 
    3724           0 :         if (zoomfactor == 1) {
    3725           0 :             oNewGeorefExt.minx = dfGeoPosX - (dfDeltaX/2);
    3726           0 :             oNewGeorefExt.miny = dfGeoPosY - (dfDeltaY/2);
    3727           0 :             oNewGeorefExt.maxx = dfGeoPosX + (dfDeltaX/2);
    3728           0 :             oNewGeorefExt.maxy = dfGeoPosY + (dfDeltaY/2);
    3729             :         }
    3730             : 
    3731             :         /* ------------------------------------------------------------ */
    3732             :         /*   if the min and max scale are set in the map file, we will  */
    3733             :         /*   use them to test before zooming.                           */
    3734             :         /* ------------------------------------------------------------ */
    3735           0 :         msAdjustExtent(&oNewGeorefExt, self->width, self->height);
    3736           0 :         msCalculateScale(oNewGeorefExt, self->units, self->width, self->height, self->resolution, &dfNewScale);
    3737             :     
    3738           0 :         if (self->web.maxscaledenom > 0) {
    3739           0 :             if (zoomfactor < 0 && dfNewScale > self->web.maxscaledenom) {
    3740             :                 return MS_FAILURE;
    3741             :             }
    3742             :         }
    3743             : 
    3744             :         /* ============================================================ */
    3745             :         /*  we do a special case for zoom in : we try to zoom as much as */
    3746             :         /*  possible using the mincale set in the .map.                 */
    3747             :         /* ============================================================ */
    3748           0 :         if (self->web.minscaledenom > 0 && dfNewScale < self->web.minscaledenom && zoomfactor > 1) {
    3749             :             /* To be consistent in swig mapscript and PHP mapscript, 
    3750             :                use the same function to calculate the delta extents. */
    3751           0 :             dfDeltaExt = GetDeltaExtentsUsingScale(self->web.minscaledenom, self->units, dfGeoPosY, 
    3752             :                                                    self->width, self->resolution);
    3753             : 
    3754           0 :             if (dfDeltaExt > 0.0) {
    3755           0 :                 oNewGeorefExt.minx = dfGeoPosX - (dfDeltaExt/2);
    3756           0 :                 oNewGeorefExt.miny = dfGeoPosY - (dfDeltaExt/2);
    3757           0 :                 oNewGeorefExt.maxx = dfGeoPosX + (dfDeltaExt/2);
    3758           0 :                 oNewGeorefExt.maxy = dfGeoPosY + (dfDeltaExt/2);
    3759             :             } else
    3760             :                 return MS_FAILURE;
    3761             :         }
    3762             : 
    3763             :         /* ------------------------------------------------------------ */
    3764             :         /*  If the buffer is set, make sure that the extents do not go  */
    3765             :         /*  beyond the buffer.                                          */
    3766             :         /* ------------------------------------------------------------ */
    3767           0 :         if (bMaxExtSet) {
    3768           0 :             dfDeltaX = oNewGeorefExt.maxx - oNewGeorefExt.minx;
    3769           0 :             dfDeltaY = oNewGeorefExt.maxy - oNewGeorefExt.miny;
    3770             :         
    3771             :             /* Make sure Current georef extents is not bigger than 
    3772             :              * max extents */
    3773           0 :             if (dfDeltaX > (poMaxGeorefExt->maxx-poMaxGeorefExt->minx))
    3774             :                 dfDeltaX = poMaxGeorefExt->maxx-poMaxGeorefExt->minx;
    3775           0 :             if (dfDeltaY > (poMaxGeorefExt->maxy-poMaxGeorefExt->miny))
    3776             :                 dfDeltaY = poMaxGeorefExt->maxy-poMaxGeorefExt->miny;
    3777             : 
    3778           0 :             if (oNewGeorefExt.minx < poMaxGeorefExt->minx) {
    3779           0 :                 oNewGeorefExt.minx = poMaxGeorefExt->minx;
    3780           0 :                 oNewGeorefExt.maxx =  oNewGeorefExt.minx + dfDeltaX;
    3781             :             }
    3782           0 :             if (oNewGeorefExt.maxx > poMaxGeorefExt->maxx) {
    3783           0 :                 oNewGeorefExt.maxx = poMaxGeorefExt->maxx;
    3784           0 :                 oNewGeorefExt.minx = oNewGeorefExt.maxx - dfDeltaX;
    3785             :             }
    3786           0 :             if (oNewGeorefExt.miny < poMaxGeorefExt->miny) {
    3787           0 :                 oNewGeorefExt.miny = poMaxGeorefExt->miny;
    3788           0 :                 oNewGeorefExt.maxy =  oNewGeorefExt.miny + dfDeltaY;
    3789             :             }
    3790           0 :             if (oNewGeorefExt.maxy > poMaxGeorefExt->maxy) {
    3791           0 :                 oNewGeorefExt.maxy = poMaxGeorefExt->maxy;
    3792           0 :                 oNewGeorefExt.miny = oNewGeorefExt.maxy - dfDeltaY;
    3793             :             }
    3794             :         }
    3795             :     
    3796             :         /* ------------------------------------------------------------ */
    3797             :         /*      set the map extents with new values.                    */
    3798             :         /* ------------------------------------------------------------ */
    3799           0 :         self->extent.minx = oNewGeorefExt.minx;
    3800           0 :         self->extent.miny = oNewGeorefExt.miny;
    3801           0 :         self->extent.maxx = oNewGeorefExt.maxx;
    3802           0 :         self->extent.maxy = oNewGeorefExt.maxy;
    3803             :     
    3804           0 :         self->cellsize = msAdjustExtent(&(self->extent), self->width, self->height);      
    3805           0 :         dfDeltaX = self->extent.maxx - self->extent.minx;
    3806           0 :         dfDeltaY = self->extent.maxy - self->extent.miny; 
    3807             : 
    3808           0 :         if (bMaxExtSet) {
    3809           0 :             if (self->extent.minx < poMaxGeorefExt->minx) {
    3810           0 :                 self->extent.minx = poMaxGeorefExt->minx;
    3811           0 :                 self->extent.maxx = self->extent.minx + dfDeltaX;
    3812             :             }
    3813           0 :             if (self->extent.maxx > poMaxGeorefExt->maxx) {
    3814           0 :                 self->extent.maxx = poMaxGeorefExt->maxx;
    3815           0 :                 oNewGeorefExt.minx = oNewGeorefExt.maxx - dfDeltaX;
    3816             :             }
    3817           0 :             if (self->extent.miny < poMaxGeorefExt->miny) {
    3818           0 :                 self->extent.miny = poMaxGeorefExt->miny;
    3819           0 :                 self->extent.maxy =  self->extent.miny + dfDeltaY;
    3820             :             }
    3821           0 :             if (self->extent.maxy > poMaxGeorefExt->maxy) {
    3822           0 :                 self->extent.maxy = poMaxGeorefExt->maxy;
    3823           0 :                 oNewGeorefExt.miny = oNewGeorefExt.maxy - dfDeltaY;
    3824             :             }
    3825             :         }
    3826             :     
    3827           0 :         msCalculateScale(self->extent, self->units, self->width, self->height, self->resolution, &(self->scaledenom));
    3828             : 
    3829           0 :         return MS_SUCCESS;
    3830             :     }
    3831           0 : SWIGINTERN int mapObj_zoomRectangle(struct mapObj *self,rectObj *poPixRect,int width,int height,rectObj *poGeorefExt,rectObj *poMaxGeorefExt){
    3832             :         double      dfDeltaX, dfDeltaY;
    3833             :         rectObj     oNewGeorefExt;    
    3834             :         double      dfNewScale;
    3835             :         double      dfDeltaExt;
    3836             :         double dfMiddleX, dfMiddleY;
    3837             :         int bMaxExtSet;
    3838             :         
    3839             :         bMaxExtSet = 0;
    3840           0 :         dfNewScale = 0.0;
    3841             :         dfDeltaExt = -1.0;
    3842             : 
    3843           0 :         if (poMaxGeorefExt != NULL) bMaxExtSet = 1;
    3844             : 
    3845             :         /* ----------------------------------------------------------- */
    3846             :         /*      check the validity of the parameters.                  */
    3847             :         /* ----------------------------------------------------------- */
    3848           0 :         if (poPixRect == 0 || width <= 0 || height <= 0 || poGeorefExt == NULL) {
    3849           0 :             msSetError(12, "Incorrect arguments", "mapscript::mapObj::zoomRectangle");
    3850           0 :             return MS_FAILURE;
    3851             :         }
    3852             : 
    3853             :         /* ----------------------------------------------------------- */
    3854             :         /*      check if the values passed are consistent min <= max.   */
    3855             :         /* ----------------------------------------------------------- */
    3856           0 :         if (poPixRect->minx >= poPixRect->maxx) {
    3857           0 :             msSetError(12, "image rectangle minx >= maxx", "mapscript::mapObj::zoomRectangle()");
    3858           0 :             return MS_FAILURE;
    3859             :         }
    3860             :         /* This is not a typo: "maxx >= minx". For historical reason, we
    3861             :          * keep this as it is. See documentation for more info about this check. */
    3862           0 :         if (poPixRect->maxy >= poPixRect->miny) {
    3863           0 :             msSetError(12, "image rectangle maxy >= miny", "mapscript::mapObj::zoomRectangle()");
    3864           0 :             return MS_FAILURE;
    3865             :         }
    3866             : 
    3867           0 :         if (poGeorefExt->minx >= poGeorefExt->maxx) {
    3868           0 :             msSetError(12, "Georeferenced coordinates minx >= maxx", "mapscript::mapObj::zoomRectangle()");
    3869           0 :             return MS_FAILURE;
    3870             :         }
    3871           0 :         if (poGeorefExt->miny >= poGeorefExt->maxy) {
    3872           0 :             msSetError(12, "Georeferenced coordinates miny >= maxy", "mapscript::mapObj::zoomRectangle()");
    3873           0 :             return MS_FAILURE;
    3874             :         }
    3875             : 
    3876           0 :         if (bMaxExtSet == 1) {
    3877           0 :             if (poMaxGeorefExt->minx >= poMaxGeorefExt->maxx) {
    3878           0 :                 msSetError(12,  "Max Georeferenced coordinates minx >= maxx", "mapscript::mapObj::zoomRectangle()");
    3879           0 :                 return MS_FAILURE;
    3880             :             }
    3881           0 :             if (poMaxGeorefExt->miny >= poMaxGeorefExt->maxy) {
    3882           0 :                 msSetError(12, "Max Georeferenced coordinates miny >= maxy", "mapscript::mapObj::zoomRectangle()");
    3883           0 :                 return MS_FAILURE;
    3884             :             }
    3885             :         }
    3886             : 
    3887             :   
    3888             :         /* ----------------------------------------------------------- */
    3889             :         /*   Convert pixel rectangle to georeferenced rectangle        */
    3890             :         /* ----------------------------------------------------------- */
    3891             :         
    3892             :         dfDeltaX = poGeorefExt->maxx - poGeorefExt->minx;
    3893             :         dfDeltaY = poGeorefExt->maxy - poGeorefExt->miny;
    3894             : 
    3895           0 :         oNewGeorefExt.minx = Pix2Georef((int)poPixRect->minx, 0, width, poGeorefExt->minx, poGeorefExt->maxx, 0); 
    3896           0 :         oNewGeorefExt.maxx = Pix2Georef((int)poPixRect->maxx, 0, width, poGeorefExt->minx, poGeorefExt->maxx, 0); 
    3897           0 :         oNewGeorefExt.miny = Pix2Georef((int)poPixRect->miny, 0, height, poGeorefExt->miny, poGeorefExt->maxy, 1); 
    3898           0 :         oNewGeorefExt.maxy = Pix2Georef((int)poPixRect->maxy, 0, height, poGeorefExt->miny, poGeorefExt->maxy, 1); 
    3899             : 
    3900           0 :         msAdjustExtent(&oNewGeorefExt, self->width, self->height);
    3901             : 
    3902             :         /* ------------------------------------------------------------ */
    3903             :         /*   if the min and max scale are set in the map file, we will  */
    3904             :         /*   use them to test before setting extents.                   */
    3905             :         /* ------------------------------------------------------------ */
    3906           0 :         msCalculateScale(oNewGeorefExt, self->units, self->width, self->height, self->resolution, &dfNewScale);
    3907             : 
    3908           0 :         if (self->web.maxscaledenom > 0 &&  dfNewScale > self->web.maxscaledenom)
    3909             :             return MS_FAILURE;
    3910             : 
    3911           0 :         if (self->web.minscaledenom > 0 && dfNewScale <  self->web.minscaledenom) {
    3912           0 :             dfMiddleX = oNewGeorefExt.minx + ((oNewGeorefExt.maxx - oNewGeorefExt.minx)/2);
    3913           0 :             dfMiddleY = oNewGeorefExt.miny + ((oNewGeorefExt.maxy - oNewGeorefExt.miny)/2);
    3914             : 
    3915             :             /* To be consistent in swig mapscript and PHP mapscript, 
    3916             :                use the same function to calculate the delta extents. */
    3917           0 :             dfDeltaExt = GetDeltaExtentsUsingScale(self->web.minscaledenom, self->units, dfMiddleY, self->width, self->resolution);
    3918             : 
    3919           0 :             if (dfDeltaExt > 0.0) {
    3920           0 :                 oNewGeorefExt.minx = dfMiddleX - (dfDeltaExt/2);
    3921           0 :                 oNewGeorefExt.miny = dfMiddleY - (dfDeltaExt/2);
    3922           0 :                 oNewGeorefExt.maxx = dfMiddleX + (dfDeltaExt/2);
    3923           0 :                 oNewGeorefExt.maxy = dfMiddleY + (dfDeltaExt/2);
    3924             :             } else
    3925             :                 return MS_FAILURE;
    3926             :         }
    3927             : 
    3928             :         /* ------------------------------------------------------------ */
    3929             :         /*  If the buffer is set, make sure that the extents do not go  */
    3930             :         /*  beyond the buffer.                                          */
    3931             :         /* ------------------------------------------------------------ */
    3932           0 :         if (bMaxExtSet) {
    3933           0 :             dfDeltaX = oNewGeorefExt.maxx - oNewGeorefExt.minx;
    3934           0 :             dfDeltaY = oNewGeorefExt.maxy - oNewGeorefExt.miny;
    3935             :         
    3936             :             /* Make sure Current georef extents is not bigger 
    3937             :              * than max extents */
    3938           0 :             if (dfDeltaX > (poMaxGeorefExt->maxx-poMaxGeorefExt->minx))
    3939             :                 dfDeltaX = poMaxGeorefExt->maxx-poMaxGeorefExt->minx;
    3940           0 :             if (dfDeltaY > (poMaxGeorefExt->maxy-poMaxGeorefExt->miny))
    3941             :                 dfDeltaY = poMaxGeorefExt->maxy-poMaxGeorefExt->miny;
    3942             : 
    3943           0 :             if (oNewGeorefExt.minx < poMaxGeorefExt->minx) {
    3944           0 :                 oNewGeorefExt.minx = poMaxGeorefExt->minx;
    3945           0 :                 oNewGeorefExt.maxx =  oNewGeorefExt.minx + dfDeltaX;
    3946             :             }
    3947           0 :             if (oNewGeorefExt.maxx > poMaxGeorefExt->maxx) {
    3948           0 :                 oNewGeorefExt.maxx = poMaxGeorefExt->maxx;
    3949           0 :                 oNewGeorefExt.minx = oNewGeorefExt.maxx - dfDeltaX;
    3950             :             }
    3951           0 :             if (oNewGeorefExt.miny < poMaxGeorefExt->miny) {
    3952           0 :                 oNewGeorefExt.miny = poMaxGeorefExt->miny;
    3953           0 :                 oNewGeorefExt.maxy =  oNewGeorefExt.miny + dfDeltaY;
    3954             :             }
    3955           0 :             if (oNewGeorefExt.maxy > poMaxGeorefExt->maxy) {
    3956           0 :                 oNewGeorefExt.maxy = poMaxGeorefExt->maxy;
    3957           0 :                 oNewGeorefExt.miny = oNewGeorefExt.maxy - dfDeltaY;
    3958             :             }
    3959             :         }
    3960             : 
    3961           0 :         self->extent.minx = oNewGeorefExt.minx;
    3962           0 :         self->extent.miny = oNewGeorefExt.miny;
    3963           0 :         self->extent.maxx = oNewGeorefExt.maxx;
    3964           0 :         self->extent.maxy = oNewGeorefExt.maxy;
    3965             : 
    3966           0 :         self->cellsize = msAdjustExtent(&(self->extent), self->width, self->height);    
    3967           0 :         dfDeltaX = self->extent.maxx - self->extent.minx;
    3968           0 :         dfDeltaY = self->extent.maxy - self->extent.miny; 
    3969             : 
    3970           0 :         if (bMaxExtSet) {
    3971           0 :             if (self->extent.minx < poMaxGeorefExt->minx) {
    3972           0 :                 self->extent.minx = poMaxGeorefExt->minx;
    3973           0 :                 self->extent.maxx = self->extent.minx + dfDeltaX;
    3974             :             }
    3975           0 :             if (self->extent.maxx > poMaxGeorefExt->maxx) {
    3976           0 :                 self->extent.maxx = poMaxGeorefExt->maxx;
    3977           0 :                 oNewGeorefExt.minx = oNewGeorefExt.maxx - dfDeltaX;
    3978             :             }
    3979           0 :             if (self->extent.miny < poMaxGeorefExt->miny) {
    3980           0 :                 self->extent.miny = poMaxGeorefExt->miny;
    3981           0 :                 self->extent.maxy =  self->extent.miny + dfDeltaY;
    3982             :             }
    3983           0 :             if (self->extent.maxy > poMaxGeorefExt->maxy) {
    3984           0 :                 self->extent.maxy = poMaxGeorefExt->maxy;
    3985           0 :                 oNewGeorefExt.miny = oNewGeorefExt.maxy - dfDeltaY;
    3986             :             }
    3987             :         }
    3988             : 
    3989           0 :         msCalculateScale(self->extent, self->units, self->width,  self->height, self->resolution, &(self->scaledenom));
    3990             : 
    3991           0 :         return MS_SUCCESS;
    3992             :     }
    3993           0 : SWIGINTERN int mapObj_zoomScale(struct mapObj *self,double scale,pointObj *poPixPos,int width,int height,rectObj *poGeorefExt,rectObj *poMaxGeorefExt){
    3994             :         double      dfGeoPosX, dfGeoPosY;
    3995             :         double      dfDeltaX, dfDeltaY;
    3996             :         rectObj     oNewGeorefExt;    
    3997             :         double      dfNewScale, dfCurrentScale;
    3998             :         int         bMaxExtSet;
    3999             :         int nTmp;
    4000             :         double      dfDeltaExt;
    4001             :         double dX, dY;
    4002             :         
    4003           0 :         dfNewScale = 0.0;
    4004           0 :         dfCurrentScale = 0.0;
    4005             :         nTmp = 0;
    4006             :         bMaxExtSet = 0;
    4007             :         dfDeltaExt = -1.0;
    4008             : 
    4009           0 :         if (poMaxGeorefExt != NULL) { bMaxExtSet = 1; }
    4010             : 
    4011             :         /* ----------------------------------------------------------- */
    4012             :         /*      check the validity of the parameters.                  */
    4013             :         /* ----------------------------------------------------------- */
    4014           0 :         if (scale <= 0.0 || width <= 0 || height <= 0 || poGeorefExt == NULL || poPixPos == NULL ) {
    4015           0 :             msSetError(12, "Incorrect arguments", "mapscript::mapObj::zoomScale");
    4016           0 :             return MS_FAILURE;
    4017             :         }
    4018             : 
    4019             :         /* ----------------------------------------------------------- */
    4020             :         /*      check if the values passed are consistent min > max.   */
    4021             :         /* ----------------------------------------------------------- */
    4022           0 :         if (poGeorefExt->minx >= poGeorefExt->maxx) {
    4023           0 :             msSetError(12, "Georeferenced coordinates minx >= maxx", "mapscript::mapObj::zoomScale()");
    4024           0 :             return MS_FAILURE;
    4025             :         }
    4026           0 :         if (poGeorefExt->miny >= poGeorefExt->maxy) {
    4027           0 :             msSetError(12, "Georeferenced coordinates miny >= maxy", "mapscript::mapObj::zoomScale()");
    4028           0 :             return MS_FAILURE;
    4029             :         }
    4030             : 
    4031           0 :         if (bMaxExtSet == 1) {
    4032           0 :             if (poMaxGeorefExt->minx >= poMaxGeorefExt->maxx) {
    4033           0 :                 msSetError(12, "Max Georeferenced coordinates minx >= maxx", "mapscript::mapObj::zoomScale()");
    4034           0 :                 return MS_FAILURE;
    4035             :             }
    4036           0 :             if (poMaxGeorefExt->miny >= poMaxGeorefExt->maxy) {
    4037           0 :                 msSetError(12,  "Max Georeferenced coordinates miny >= maxy", "mapscript::mapObj::zoomScale()");
    4038             :             }
    4039             :         }
    4040             :    
    4041           0 :         dfDeltaX = poGeorefExt->maxx - poGeorefExt->minx;
    4042           0 :         dfDeltaY = poGeorefExt->maxy - poGeorefExt->miny;
    4043           0 :         dX = dfDeltaX/((double)width);
    4044           0 :         dY = dfDeltaY/((double)height);
    4045           0 :         dfGeoPosX = poGeorefExt->minx + dX * (double)poPixPos->x;
    4046           0 :         dfGeoPosY = poGeorefExt->maxy - dY * (double)poPixPos->y;
    4047             : 
    4048           0 :         if (self->gt.rotation_angle != 0) {
    4049           0 :             dfGeoPosX = self->gt.geotransform[0] + self->gt.geotransform[1] * (double)poPixPos->x + self->gt.geotransform[2] * (double)poPixPos->y;
    4050           0 :             dfGeoPosY = self->gt.geotransform[3] + self->gt.geotransform[4] * (double)poPixPos->x + self->gt.geotransform[5] * (double)poPixPos->y;
    4051             :         }
    4052             :         
    4053             :         /* ------------------------------------------------------------ */
    4054             :         /*  Calculate new extents based on the scale.                   */
    4055             :         /* ------------------------------------------------------------ */
    4056             : 
    4057             :         /* ============================================================ */
    4058             :         /*  make sure to take the smallest size because this is the one */
    4059             :         /*  that will be used to ajust the scale.                       */
    4060             :         /* ============================================================ */
    4061             : 
    4062           0 :         if (self->width <  self->height)
    4063             :             nTmp = self->width;
    4064             :         else
    4065             :             nTmp = self->height;
    4066             : 
    4067             :         /* To be consistent in swig mapscript and PHP mapscript, 
    4068             :            use the same function to calculate the delta extents. */
    4069           0 :         dfDeltaExt = GetDeltaExtentsUsingScale(scale, self->units, dfGeoPosY, nTmp, self->resolution);
    4070             : 
    4071           0 :         if (dfDeltaExt > 0.0) {
    4072           0 :             oNewGeorefExt.minx = dfGeoPosX - (dfDeltaExt/2);
    4073           0 :             oNewGeorefExt.miny = dfGeoPosY - (dfDeltaExt/2);
    4074           0 :             oNewGeorefExt.maxx = dfGeoPosX + (dfDeltaExt/2);
    4075           0 :             oNewGeorefExt.maxy = dfGeoPosY + (dfDeltaExt/2);
    4076             :         } else
    4077             :             return MS_FAILURE;
    4078             : 
    4079             :         /* ------------------------------------------------------------ */
    4080             :         /*   get current scale.                                         */
    4081             :         /* ------------------------------------------------------------ */
    4082           0 :         msCalculateScale(*poGeorefExt, self->units, self->width, self->height, self->resolution, &dfCurrentScale);
    4083             : 
    4084             :         /* ------------------------------------------------------------ *
    4085             :          *   if the min and max scale are set in the map file, we will  *
    4086             :          *   use them to test before zooming.                           *
    4087             :          *                                                              *
    4088             :          *   This function has the same effect as zoomin or zoom out.
    4089             :          *   If the current scale is > newscale we zoom in; else it is
    4090             :          *   a zoom out.
    4091             :          * ------------------------------------------------------------ */
    4092           0 :         msAdjustExtent(&oNewGeorefExt, self->width, self->height);
    4093           0 :         msCalculateScale(oNewGeorefExt, self->units, self->width, self->height, self->resolution, &dfNewScale);
    4094             : 
    4095           0 :         if (self->web.maxscaledenom > 0) {
    4096           0 :             if (dfCurrentScale < dfNewScale && dfNewScale >  self->web.maxscaledenom) {
    4097             :                 return MS_FAILURE;
    4098             :             }
    4099             :         }
    4100             : 
    4101             :         /* ============================================================ */
    4102             :         /* we do a special case for zoom in : we try to zoom as much as */
    4103             :         /* possible using the mincale set in the .map.                  */
    4104             :         /* ============================================================ */
    4105           0 :         if (self->web.minscaledenom > 0 && dfNewScale <  self->web.minscaledenom && dfCurrentScale > dfNewScale) {
    4106             :             /* To be consistent in swig mapscript and PHP mapscript, 
    4107             :                use the same function to calculate the delta extents. */
    4108           0 :             dfDeltaExt = GetDeltaExtentsUsingScale(scale, self->units, dfGeoPosY, nTmp, self->resolution);
    4109           0 :             if (dfDeltaExt > 0.0) {
    4110           0 :                 oNewGeorefExt.minx = dfGeoPosX - (dfDeltaExt/2);
    4111           0 :                 oNewGeorefExt.miny = dfGeoPosY - (dfDeltaExt/2);
    4112           0 :                 oNewGeorefExt.maxx = dfGeoPosX + (dfDeltaExt/2);
    4113           0 :                 oNewGeorefExt.maxy = dfGeoPosY + (dfDeltaExt/2);
    4114             :             } else
    4115             :                 return MS_FAILURE;
    4116             :         }
    4117             : 
    4118             :         /* ------------------------------------------------------------ */
    4119             :         /*  If the buffer is set, make sure that the extents do not go  */
    4120             :         /*  beyond the buffer.                                          */
    4121             :         /* ------------------------------------------------------------ */
    4122           0 :         if (bMaxExtSet) {
    4123           0 :             dfDeltaX = oNewGeorefExt.maxx - oNewGeorefExt.minx;
    4124           0 :             dfDeltaY = oNewGeorefExt.maxy - oNewGeorefExt.miny;
    4125             :         
    4126             :             /* Make sure Current georef extents is not bigger 
    4127             :              * than max extents */
    4128           0 :             if (dfDeltaX > (poMaxGeorefExt->maxx-poMaxGeorefExt->minx))
    4129             :                 dfDeltaX = poMaxGeorefExt->maxx-poMaxGeorefExt->minx;
    4130           0 :             if (dfDeltaY > (poMaxGeorefExt->maxy-poMaxGeorefExt->miny))
    4131             :                 dfDeltaY = poMaxGeorefExt->maxy-poMaxGeorefExt->miny;
    4132             : 
    4133           0 :             if (oNewGeorefExt.minx < poMaxGeorefExt->minx) {
    4134           0 :                 oNewGeorefExt.minx = poMaxGeorefExt->minx;
    4135           0 :                 oNewGeorefExt.maxx =  oNewGeorefExt.minx + dfDeltaX;
    4136             :             }
    4137           0 :             if (oNewGeorefExt.maxx > poMaxGeorefExt->maxx) {
    4138           0 :                 oNewGeorefExt.maxx = poMaxGeorefExt->maxx;
    4139           0 :                 oNewGeorefExt.minx = oNewGeorefExt.maxx - dfDeltaX;
    4140             :             }
    4141           0 :             if (oNewGeorefExt.miny < poMaxGeorefExt->miny) {
    4142           0 :                 oNewGeorefExt.miny = poMaxGeorefExt->miny;
    4143           0 :                 oNewGeorefExt.maxy =  oNewGeorefExt.miny + dfDeltaY;
    4144             :             }
    4145           0 :             if (oNewGeorefExt.maxy > poMaxGeorefExt->maxy) {
    4146           0 :                 oNewGeorefExt.maxy = poMaxGeorefExt->maxy;
    4147           0 :                 oNewGeorefExt.miny = oNewGeorefExt.maxy - dfDeltaY;
    4148             :             }
    4149             :         }
    4150             : 
    4151           0 :         self->extent.minx = oNewGeorefExt.minx;
    4152           0 :         self->extent.miny = oNewGeorefExt.miny;
    4153           0 :         self->extent.maxx = oNewGeorefExt.maxx;
    4154           0 :         self->extent.maxy = oNewGeorefExt.maxy;
    4155             :     
    4156           0 :         self->cellsize = msAdjustExtent(&(self->extent), self->width, self->height);    
    4157           0 :         dfDeltaX = self->extent.maxx - self->extent.minx;
    4158           0 :         dfDeltaY = self->extent.maxy - self->extent.miny; 
    4159             : 
    4160           0 :         if (bMaxExtSet) {
    4161           0 :             if (self->extent.minx < poMaxGeorefExt->minx) {
    4162           0 :                 self->extent.minx = poMaxGeorefExt->minx;
    4163           0 :                 self->extent.maxx = self->extent.minx + dfDeltaX;
    4164             :             }
    4165           0 :             if (self->extent.maxx > poMaxGeorefExt->maxx) {
    4166           0 :                 self->extent.maxx = poMaxGeorefExt->maxx;
    4167           0 :                 oNewGeorefExt.minx = oNewGeorefExt.maxx - dfDeltaX;
    4168             :             }
    4169           0 :             if (self->extent.miny < poMaxGeorefExt->miny) {
    4170           0 :                 self->extent.miny = poMaxGeorefExt->miny;
    4171           0 :                 self->extent.maxy =  self->extent.miny + dfDeltaY;
    4172             :             }
    4173           0 :             if (self->extent.maxy > poMaxGeorefExt->maxy) {
    4174           0 :                 self->extent.maxy = poMaxGeorefExt->maxy;
    4175           0 :                 oNewGeorefExt.miny = oNewGeorefExt.maxy - dfDeltaY;
    4176             :             }
    4177             :         }
    4178             : 
    4179           0 :         msCalculateScale(self->extent, self->units, self->width, self->height, self->resolution, &(self->scaledenom));
    4180             : 
    4181           0 :         return MS_SUCCESS;
    4182             :     }
    4183           0 : SWIGINTERN rectObj *new_rectObj(double minx,double miny,double maxx,double maxy,int imageunits){
    4184             :         rectObj *rect;
    4185             :     
    4186           0 :         if (imageunits == 0)
    4187             :         { 
    4188           0 :             if (minx > maxx || miny > maxy)
    4189             :             {
    4190           0 :                 msSetError(34,
    4191             :                     "{ 'minx': %f , 'miny': %f , 'maxx': %f , 'maxy': %f }",
    4192             :                     "rectObj()", minx, miny, maxx, maxy);
    4193           0 :                 return NULL;
    4194             :             }
    4195             :         }
    4196             :         else 
    4197             :         {
    4198           0 :             if (minx > maxx || maxy > miny) 
    4199             :             {
    4200           0 :                 msSetError(34,
    4201             :                     "image (pixel/line) units { 'minx': %f , 'miny': %f , 'maxx': %f , 'maxy': %f }",
    4202             :                     "rectObj()", minx, miny, maxx, maxy);
    4203           0 :                 return NULL;
    4204             :             }
    4205             :         }
    4206             :     
    4207           0 :         rect = (rectObj *)calloc(1, sizeof(rectObj));
    4208           0 :         if (!rect)
    4209             :             return(NULL);
    4210             :     
    4211           0 :         rect->minx = minx;
    4212           0 :         rect->miny = miny;
    4213           0 :         rect->maxx = maxx;
    4214           0 :         rect->maxy = maxy;
    4215             : 
    4216           0 :         return(rect);
    4217             :     }
    4218             : SWIGINTERN void delete_rectObj(rectObj *self){
    4219           0 :         free(self);
    4220             :     }
    4221             : SWIGINTERN int rectObj_project(rectObj *self,projectionObj *projin,projectionObj *projout){
    4222           0 :         return msProjectRect(projin, projout, self);
    4223             :     }
    4224             : SWIGINTERN double rectObj_fit(rectObj *self,int width,int height){
    4225           0 :         return  msAdjustExtent(self, width, height);
    4226             :     }
    4227           0 : SWIGINTERN int rectObj_draw(rectObj *self,mapObj *map,layerObj *layer,imageObj *image,int classindex,char *text){
    4228             :         shapeObj shape;
    4229             :         int ret;
    4230             : 
    4231           0 :         msInitShape(&shape);
    4232           0 :         msRectToPolygon(*self, &shape);
    4233           0 :         shape.classindex = classindex;
    4234           0 :         if(text && layer->class[classindex]->numlabels > 0) {
    4235           0 :           shape.text = msStrdup(text);
    4236             :         }
    4237             :         
    4238           0 :         ret = msDrawShape(map, layer, &shape, image, -1, MS_DRAWMODE_FEATURES|MS_DRAWMODE_LABELS);
    4239             : 
    4240           0 :         msFreeShape(&shape);
    4241             :     
    4242           0 :         return ret;
    4243             :     }
    4244           0 : SWIGINTERN pointObj *rectObj_getCenter(rectObj *self){
    4245             :         pointObj *center;
    4246           0 :         center = (pointObj *)calloc(1, sizeof(pointObj));
    4247           0 :         if (!center) {
    4248           0 :             msSetError(2, "Failed to allocate memory for point", "getCenter()");
    4249           0 :             return NULL;
    4250             :         }
    4251           0 :         center->x = (self->minx + self->maxx)/2;
    4252           0 :         center->y = (self->miny + self->maxy)/2;
    4253             :         
    4254           0 :         return center;
    4255             :     }
    4256           0 : SWIGINTERN shapeObj *rectObj_toPolygon(rectObj *self){
    4257           0 :         lineObj line = {0,NULL};
    4258             :         shapeObj *shape;
    4259           0 :         shape = (shapeObj *)malloc(sizeof(shapeObj));
    4260           0 :         if (!shape)
    4261             :             return NULL;
    4262           0 :         msInitShape(shape);
    4263           0 :         shape->type = MS_SHAPE_POLYGON;
    4264             :   
    4265           0 :         line.point = (pointObj *)malloc(sizeof(pointObj)*5);
    4266           0 :         line.point[0].x = self->minx;
    4267           0 :         line.point[0].y = self->miny;
    4268           0 :         line.point[1].x = self->minx;
    4269           0 :         line.point[1].y = self->maxy;
    4270           0 :         line.point[2].x = self->maxx;
    4271           0 :         line.point[2].y = self->maxy;
    4272           0 :         line.point[3].x = self->maxx;
    4273           0 :         line.point[3].y = self->miny;
    4274           0 :         line.point[4].x = line.point[0].x;
    4275           0 :         line.point[4].y = line.point[0].y;
    4276             :   
    4277           0 :         line.numpoints = 5;
    4278             :   
    4279           0 :         msAddLine(shape, &line);
    4280           0 :         msComputeBounds(shape);
    4281             :         
    4282           0 :         free(line.point);
    4283             : 
    4284           0 :         return shape;
    4285             :     }
    4286           0 : SWIGINTERN char *rectObj_toString(rectObj *self){
    4287             :         char buffer[256];
    4288           0 :         char fmt[]="{ 'minx': %.16g , 'miny': %.16g , 'maxx': %.16g , 'maxy': %.16g }";
    4289           0 :         msRectToFormattedString(self, (char *) &fmt, (char *) &buffer, 256);
    4290           0 :         return msStrdup(buffer);
    4291             :     }
    4292             : SWIGINTERN pointObj *new_pointObj(double x,double y,double z,double m){
    4293             :         pointObj *p;
    4294           0 :         p = (pointObj *)calloc(1,sizeof(pointObj));
    4295           0 :         if (!p) return NULL;
    4296           0 :         p->x = x;
    4297           0 :         p->y = y;
    4298             : 
    4299             : 
    4300             : 
    4301             : 
    4302             :         return p;
    4303             :     }
    4304             : SWIGINTERN void delete_pointObj(pointObj *self){
    4305           0 :         free(self);
    4306             :     }
    4307             : SWIGINTERN int pointObj_project(pointObj *self,projectionObj *projin,projectionObj *projout){
    4308           0 :         return msProjectPoint(projin, projout, self);
    4309             :     }
    4310             : SWIGINTERN int pointObj_draw(pointObj *self,mapObj *map,layerObj *layer,imageObj *image,int classindex,char *text){
    4311           0 :         return msDrawPoint(map, layer, self, image, classindex, text);
    4312             :     }
    4313             : SWIGINTERN double pointObj_distanceToPoint(pointObj *self,pointObj *point){
    4314           0 :         return msDistancePointToPoint(self, point);
    4315             :     }
    4316             : SWIGINTERN double pointObj_distanceToSegment(pointObj *self,pointObj *a,pointObj *b){
    4317           1 :         return msDistancePointToSegment(self, a, b);
    4318             :     }
    4319             : SWIGINTERN double pointObj_distanceToShape(pointObj *self,shapeObj *shape){
    4320           0 :         return msDistancePointToShape(self, shape);
    4321             :     }
    4322             : SWIGINTERN int pointObj_setXY(pointObj *self,double x,double y,double m){
    4323           0 :         self->x = x;
    4324           0 :         self->y = y;
    4325             : 
    4326             : 
    4327             : 
    4328             : 
    4329             :         return MS_SUCCESS;
    4330             :     }
    4331             : SWIGINTERN int pointObj_setXYZ(pointObj *self,double x,double y,double z,double m){
    4332           0 :         self->x = x;
    4333           0 :         self->y = y;
    4334             : 
    4335             : 
    4336             : 
    4337             : 
    4338             :         return MS_SUCCESS;
    4339             :     }
    4340             : SWIGINTERN int pointObj_setXYZM(pointObj *self,double x,double y,double z,double m){
    4341           0 :         self->x = x;
    4342           0 :         self->y = y;
    4343             : 
    4344             : 
    4345             : 
    4346             : 
    4347             :         return MS_SUCCESS;
    4348             :     }
    4349           0 : SWIGINTERN char *pointObj_toString(pointObj *self){
    4350             :         char buffer[256];
    4351             :         const char *fmt;
    4352             : 
    4353             : 
    4354             : 
    4355             : 
    4356             : 
    4357             : 
    4358             : 
    4359             :         fmt = "{ 'x': %.16g, 'y': %.16g }";
    4360             : 
    4361             : 
    4362           0 :         msPointToFormattedString(self, fmt, (char *) &buffer, 256);
    4363           0 :         return msStrdup(buffer);
    4364             :     }
    4365           0 : SWIGINTERN shapeObj *pointObj_toShape(pointObj *self){
    4366             :       shapeObj *shape;
    4367             : 
    4368           0 :       shape = (shapeObj *) malloc(sizeof(shapeObj));
    4369           0 :       msInitShape(shape);
    4370             :     
    4371           0 :       shape->type = MS_SHAPE_POINT;
    4372           0 :       shape->line = (lineObj *) malloc(sizeof(lineObj));
    4373           0 :       shape->numlines = 1;
    4374           0 :       shape->line[0].point = (pointObj *) malloc(sizeof(pointObj));
    4375           0 :       shape->line[0].numpoints = 1;
    4376             : 
    4377           0 :       shape->line[0].point[0].x = self->x;
    4378           0 :       shape->line[0].point[0].y = self->y;
    4379             : 
    4380             : 
    4381             : 
    4382             : 
    4383             : 
    4384           0 :       return shape;
    4385             :     }
    4386             : SWIGINTERN lineObj *new_lineObj(void){
    4387             :         lineObj *line;
    4388             : 
    4389           1 :         line = (lineObj *)malloc(sizeof(lineObj));
    4390           1 :         if (!line)
    4391             :             return(NULL);
    4392             : 
    4393           1 :         line->numpoints=0;
    4394           1 :         line->point=NULL;
    4395             : 
    4396             :         return line;
    4397             :     }
    4398             : SWIGINTERN void delete_lineObj(lineObj *self){
    4399           1 :         free(self->point);
    4400           1 :         free(self);   
    4401             :     }
    4402             : SWIGINTERN int lineObj_project(lineObj *self,projectionObj *projin,projectionObj *projout){
    4403           0 :         return msProjectLine(projin, projout, self);
    4404             :     }
    4405             : SWIGINTERN pointObj *lineObj_get(lineObj *self,int i){
    4406           1 :         if (i<0 || i>=self->numpoints)
    4407             :             return NULL;
    4408             :         else
    4409           1 :             return &(self->point[i]);
    4410             :     }
    4411           1 : SWIGINTERN int lineObj_add(lineObj *self,pointObj *p){
    4412           1 :         if (self->numpoints == 0) { /* new */  
    4413           1 :         self->point = (pointObj *)malloc(sizeof(pointObj));
    4414           1 :         if (!self->point)
    4415             :             return MS_FAILURE;
    4416             :         } else { /* extend array */
    4417           1 :             self->point = (pointObj *)realloc(self->point, 
    4418           1 :                                       sizeof(pointObj)*(self->numpoints+1));
    4419           1 :         if (!self->point)
    4420             :             return MS_FAILURE;
    4421             :         }
    4422             : 
    4423           1 :         self->point[self->numpoints].x = p->x;
    4424           1 :         self->point[self->numpoints].y = p->y;
    4425           1 :         self->numpoints++;
    4426             : 
    4427             :         return MS_SUCCESS;
    4428             :     }
    4429             : SWIGINTERN int lineObj_set(lineObj *self,int i,pointObj *p){
    4430           0 :         if (i<0 || i>=self->numpoints)
    4431             :             return MS_FAILURE;
    4432             : 
    4433           0 :         self->point[i].x = p->x;
    4434           0 :         self->point[i].y = p->y;
    4435             :         return MS_SUCCESS;
    4436             :     }
    4437           1 : SWIGINTERN shapeObj *new_shapeObj(int type){
    4438             :         shapeObj *shape;
    4439             : 
    4440           1 :     shape = (shapeObj *)malloc(sizeof(shapeObj));
    4441           1 :         if (!shape)
    4442             :             return NULL;
    4443             : 
    4444           1 :         msInitShape(shape);
    4445           1 :         if(type >= 0) shape->type = type;
    4446             :         
    4447             :         return shape;
    4448             :     }
    4449             : SWIGINTERN void delete_shapeObj(shapeObj *self){
    4450           1 :         msFreeShape(self);
    4451           1 :         free(self);   
    4452             :     }
    4453             : SWIGINTERN shapeObj *shapeObj_fromWKT(char *wkt){
    4454             :     shapeObj *shape;
    4455             :         
    4456           1 :         if(!wkt) return NULL;
    4457             : 
    4458           1 :         shape = msShapeFromWKT(wkt);
    4459           1 :     if(!shape) return NULL;
    4460             : 
    4461             :     return shape;
    4462             :     }
    4463             : SWIGINTERN int shapeObj_project(shapeObj *self,projectionObj *projin,projectionObj *projout){
    4464           0 :         return msProjectShape(projin, projout, self);
    4465             :     }
    4466             : SWIGINTERN lineObj *shapeObj_get(shapeObj *self,int i){
    4467           1 :         if (i<0 || i>=self->numlines)
    4468             :             return NULL;
    4469             :         else
    4470           1 :             return &(self->line[i]);
    4471             :     }
    4472             : SWIGINTERN int shapeObj_add(shapeObj *self,lineObj *line){
    4473           1 :         return msAddLine(self, line);
    4474             :     }
    4475             : SWIGINTERN int shapeObj_draw(shapeObj *self,mapObj *map,layerObj *layer,imageObj *image){
    4476           0 :         return msDrawShape(map, layer, self, image, -1, MS_DRAWMODE_FEATURES|MS_DRAWMODE_LABELS);
    4477             :     }
    4478             : SWIGINTERN void shapeObj_setBounds(shapeObj *self){    
    4479           0 :         msComputeBounds(self);
    4480             :         return;
    4481             :     }
    4482           0 : SWIGINTERN shapeObj *shapeObj_clone(shapeObj *self){
    4483             :         shapeObj *shape;
    4484           0 :         shape = (shapeObj *)malloc(sizeof(shapeObj));
    4485           0 :         if (!shape)
    4486             :             return NULL;
    4487           0 :         msInitShape(shape);
    4488           0 :         shape->type = self->type;
    4489           0 :         msCopyShape(self, shape);
    4490           0 :         return shape;
    4491             :     }
    4492             : SWIGINTERN int shapeObj_copy(shapeObj *self,shapeObj *dest){
    4493           0 :         return(msCopyShape(self, dest));
    4494             :     }
    4495             : SWIGINTERN char *shapeObj_toWKT(shapeObj *self){
    4496           1 :         return msShapeToWKT(self);
    4497             :     }
    4498           0 : SWIGINTERN shapeObj *shapeObj_buffer(shapeObj *self,double width){ return msGEOSBuffer(self, width); }
    4499           0 : SWIGINTERN shapeObj *shapeObj_simplify(shapeObj *self,double tolerance){ return msGEOSSimplify(self, tolerance); }
    4500           0 : SWIGINTERN shapeObj *shapeObj_topologyPreservingSimplify(shapeObj *self,double tolerance){ return msGEOSTopologyPreservingSimplify(self, tolerance); }
    4501           0 : SWIGINTERN shapeObj *shapeObj_convexHull(shapeObj *self){ return msGEOSConvexHull(self); }
    4502           0 : SWIGINTERN shapeObj *shapeObj_boundary(shapeObj *self){ return msGEOSBoundary(self); }
    4503           0 : SWIGINTERN pointObj *shapeObj_getCentroid(shapeObj *self){ return msGEOSGetCentroid(self); }
    4504           0 : SWIGINTERN shapeObj *shapeObj_Union(shapeObj *self,shapeObj *shape){ return msGEOSUnion(self, shape); }
    4505           0 : SWIGINTERN shapeObj *shapeObj_intersection(shapeObj *self,shapeObj *shape){ return msGEOSIntersection(self, shape); }
    4506           0 : SWIGINTERN shapeObj *shapeObj_difference(shapeObj *self,shapeObj *shape){ return msGEOSDifference(self, shape); }
    4507           0 : SWIGINTERN shapeObj *shapeObj_symDifference(shapeObj *self,shapeObj *shape){ return msGEOSSymDifference(self, shape); }
    4508           0 : SWIGINTERN int shapeObj_contains__SWIG_0(shapeObj *self,shapeObj *shape){ return msGEOSContains(self, shape); }
    4509           0 : SWIGINTERN int shapeObj_overlaps(shapeObj *self,shapeObj *shape){ return msGEOSOverlaps(self, shape); }
    4510           1 : SWIGINTERN int shapeObj_within(shapeObj *self,shapeObj *shape){ return msGEOSWithin(self, shape); }
    4511           0 : SWIGINTERN int shapeObj_crosses(shapeObj *self,shapeObj *shape){ return msGEOSCrosses(self, shape); }
    4512           0 : SWIGINTERN int shapeObj_intersects(shapeObj *self,shapeObj *shape){ return msGEOSIntersects(self, shape); }
    4513           0 : SWIGINTERN int shapeObj_touches(shapeObj *self,shapeObj *shape){ return msGEOSTouches(self, shape); }
    4514           0 : SWIGINTERN int shapeObj_equals(shapeObj *self,shapeObj *shape){ return msGEOSEquals(self, shape); }
    4515           0 : SWIGINTERN int shapeObj_disjoint(shapeObj *self,shapeObj *shape){ return msGEOSDisjoint(self, shape); }
    4516           0 : SWIGINTERN double shapeObj_getArea(shapeObj *self){ return msGEOSArea(self); }
    4517           0 : SWIGINTERN double shapeObj_getLength(shapeObj *self){ return msGEOSLength(self); }
    4518             : SWIGINTERN char *shapeObj_getValue(shapeObj *self,int i){
    4519           0 :         if (i >= 0 && i < self->numvalues && self->values)
    4520           0 :             return (self->values[i]);
    4521             :         else
    4522             :             return NULL;
    4523             :     }
    4524             : SWIGINTERN int shapeObj_contains__SWIG_1(shapeObj *self,pointObj *point){
    4525           0 :         if (self->type == MS_SHAPE_POLYGON)
    4526           0 :             return msIntersectPointPolygon(point, self);
    4527             :         
    4528             :         return -1;
    4529             :     }
    4530             : SWIGINTERN double shapeObj_distanceToPoint(shapeObj *self,pointObj *point){
    4531           0 :         return msDistancePointToShape(point, self); /* should there be a GEOS version of this? */
    4532             :     }
    4533             : SWIGINTERN double shapeObj_distanceToShape(shapeObj *self,shapeObj *shape){
    4534           0 :         return msGEOSDistance(self, shape); /* note this calls msDistanceShapeToShape() if GEOS support is not present */
    4535             :     }
    4536           0 : SWIGINTERN pointObj *shapeObj_getLabelPoint(shapeObj *self){
    4537           0 :         pointObj *point = (pointObj *)calloc(1, sizeof(pointObj));
    4538           0 :         if (point == NULL) {
    4539           0 :             msSetError(2, "Failed to allocate memory for point", "labelPoint()");
    4540           0 :             return NULL;
    4541             :         }
    4542             : 
    4543           0 :         if(self->type == MS_SHAPE_POLYGON && msPolygonLabelPoint(self, point, -1) == MS_SUCCESS)
    4544             :             return point;
    4545             : 
    4546           0 :         free(point);
    4547           0 :         return NULL;
    4548             :     }
    4549           0 : SWIGINTERN int shapeObj_setValue(shapeObj *self,int i,char *value){
    4550           0 :         if (!self->values || !value)
    4551             :         {
    4552           0 :             msSetError(19, "Can't set value", "setValue()");
    4553             :             return MS_FAILURE;
    4554             :         }
    4555           0 :         if (i >= 0 && i < self->numvalues)
    4556             :         {
    4557           0 :             msFree(self->values[i]);
    4558           0 :             self->values[i] = msStrdup(value);
    4559           0 :             if (!self->values[i])
    4560             :             {
    4561             :                 return MS_FAILURE;
    4562             :             }
    4563             :             else return MS_SUCCESS;
    4564             :         }
    4565             :         else
    4566             :         {
    4567           0 :             msSetError(19, "Invalid value index", 
    4568             :                                   "setValue()");
    4569             :             return MS_FAILURE;
    4570             :         }
    4571             :     }
    4572           0 : SWIGINTERN void shapeObj_initValues(shapeObj *self,int numvalues){
    4573             :         int i;
    4574             :         
    4575           0 :         if(self->values) msFreeCharArray(self->values, self->numvalues);
    4576           0 :         self->values = NULL;
    4577           0 :         self->numvalues = 0;
    4578             :         
    4579             :         /* Allocate memory for the values */
    4580           0 :         if (numvalues > 0) {
    4581           0 :             if ((self->values = (char **)malloc(sizeof(char *)*numvalues)) == NULL) {
    4582           0 :                 msSetError(2, "Failed to allocate memory for values", "shapeObj()");
    4583             :                 return;
    4584             :             } else {
    4585           0 :                 for (i=0; i<numvalues; i++) self->values[i] = msStrdup("");
    4586             :             }
    4587           0 :             self->numvalues = numvalues;
    4588             :         }
    4589             :     }
    4590             : 
    4591             : SWIGINTERNINLINE SV *
    4592           0 : SWIG_From_unsigned_SS_long  SWIG_PERL_DECL_ARGS_1(unsigned long value)
    4593             : {
    4594             :   SV *sv;
    4595             :   if (UVSIZE >= sizeof(value) || value <= UV_MAX)
    4596           0 :     sv = newSVuv(value);
    4597             :   else
    4598             :     sv = newSVpvf("%lu", value);
    4599           0 :   return sv_2mortal(sv);
    4600             : }
    4601             : 
    4602             : 
    4603             : SWIGINTERNINLINE SV *
    4604             : SWIG_From_unsigned_SS_int  SWIG_PERL_DECL_ARGS_1(unsigned int value)
    4605             : {    
    4606           0 :   return SWIG_From_unsigned_SS_long  SWIG_PERL_CALL_ARGS_1(value);
    4607             : }
    4608             : 
    4609             : SWIGINTERN char *DBFInfo_getFieldName(DBFInfo *self,int iField){
    4610             :         static char pszFieldName[1000];
    4611             :         int pnWidth;
    4612             :         int pnDecimals;
    4613           0 :         msDBFGetFieldInfo(self, iField, &pszFieldName[0], &pnWidth, 
    4614             :                           &pnDecimals);
    4615             :         return pszFieldName;
    4616             :     }
    4617           0 : SWIGINTERN int DBFInfo_getFieldWidth(DBFInfo *self,int iField){
    4618             :         char pszFieldName[1000];
    4619             :         int pnWidth;
    4620             :         int pnDecimals;
    4621           0 :         msDBFGetFieldInfo(self, iField, &pszFieldName[0], &pnWidth,
    4622             :                           &pnDecimals);
    4623           0 :         return pnWidth;
    4624             :     }
    4625           0 : SWIGINTERN int DBFInfo_getFieldDecimals(DBFInfo *self,int iField){
    4626             :         char pszFieldName[1000];
    4627             :         int pnWidth;
    4628             :         int pnDecimals;
    4629           0 :         msDBFGetFieldInfo(self, iField, &pszFieldName[0], &pnWidth,
    4630             :                           &pnDecimals);
    4631           0 :         return pnDecimals;
    4632             :     }
    4633             : SWIGINTERN int DBFInfo_getFieldType(DBFInfo *self,int iField){
    4634           0 :         return msDBFGetFieldInfo(self, iField, NULL, NULL, NULL);
    4635             :     }
    4636           1 : SWIGINTERN shapefileObj *new_shapefileObj(char *filename,int type){    
    4637             :         shapefileObj *shapefile;
    4638             :         int status;
    4639             : 
    4640           1 :         shapefile = (shapefileObj *)malloc(sizeof(shapefileObj));
    4641           1 :         if (!shapefile)
    4642             :             return NULL;
    4643             : 
    4644           1 :         if (type == -1)
    4645           1 :             status = msShapefileOpen(shapefile, "rb", filename, 1);
    4646           1 :         else if (type == -2)
    4647           0 :             status = msShapefileOpen(shapefile, "rb+", filename, 1);
    4648             :         else
    4649           1 :             status = msShapefileCreate(shapefile, filename, type);
    4650             : 
    4651           1 :         if (status == -1) {
    4652           0 :             msShapefileClose(shapefile);
    4653           0 :             free(shapefile);
    4654           0 :             return NULL;
    4655             :         }
    4656             :  
    4657             :         return(shapefile);
    4658             :     }
    4659             : SWIGINTERN void delete_shapefileObj(shapefileObj *self){
    4660           1 :         msShapefileClose(self);
    4661           1 :         free(self);  
    4662             :     }
    4663           1 : SWIGINTERN int shapefileObj_get(shapefileObj *self,int i,shapeObj *shape){
    4664           1 :         if (i<0 || i>=self->numshapes)
    4665             :             return MS_FAILURE;
    4666             : 
    4667           1 :         msFreeShape(shape); /* frees all lines and points before re-filling */
    4668           1 :         msSHPReadShape(self->hSHP, i, shape);
    4669             : 
    4670             :         return MS_SUCCESS;
    4671             :     }
    4672           1 : SWIGINTERN shapeObj *shapefileObj_getShape(shapefileObj *self,int i){
    4673             :         shapeObj *shape;
    4674           1 :         shape = (shapeObj *)malloc(sizeof(shapeObj));
    4675           1 :         if (!shape)
    4676             :             return NULL;
    4677           1 :         msInitShape(shape);
    4678           1 :         shape->type = self->type;
    4679           1 :         msSHPReadShape(self->hSHP, i, shape);
    4680             :         return shape;
    4681             : 
    4682             :     }
    4683             : SWIGINTERN int shapefileObj_getPoint(shapefileObj *self,int i,pointObj *point){
    4684           0 :         if (i<0 || i>=self->numshapes)
    4685             :             return MS_FAILURE;
    4686             : 
    4687           0 :         msSHPReadPoint(self->hSHP, i, point);
    4688             :         return MS_SUCCESS;
    4689             :     }
    4690           0 : SWIGINTERN int shapefileObj_getTransformed(shapefileObj *self,mapObj *map,int i,shapeObj *shape){
    4691           0 :         if (i<0 || i>=self->numshapes)
    4692             :             return MS_FAILURE;
    4693             : 
    4694           0 :         msFreeShape(shape); /* frees all lines and points before re-filling */
    4695           0 :         msSHPReadShape(self->hSHP, i, shape);
    4696           0 :         msTransformShapeSimplify(shape, map->extent, map->cellsize);
    4697             : 
    4698             :         return MS_SUCCESS;
    4699             :     }
    4700             : SWIGINTERN void shapefileObj_getExtent(shapefileObj *self,int i,rectObj *rect){
    4701           0 :         msSHPReadBounds(self->hSHP, i, rect);
    4702             :     }
    4703           1 : SWIGINTERN int shapefileObj_add(shapefileObj *self,shapeObj *shape){
    4704             :         /* Trap NULL or empty shapes -- bug 1201 */
    4705           1 :         if (!shape) 
    4706             :         {
    4707           0 :             msSetError(19, "Can't add NULL shape", "shapefileObj::add");
    4708             :             return MS_FAILURE;
    4709             :         }
    4710           1 :         else if (!shape->line)
    4711             :         {
    4712           0 :             msSetError(19, "Can't add empty shape", "shapefileObj::add");
    4713             :             return MS_FAILURE;
    4714             :         }
    4715             : 
    4716           1 :         return msSHPWriteShape(self->hSHP, shape);
    4717             :     }
    4718             : SWIGINTERN int shapefileObj_addPoint(shapefileObj *self,pointObj *point){    
    4719           0 :         return msSHPWritePoint(self->hSHP, point);
    4720             :     }
    4721             : SWIGINTERN DBFInfo *shapefileObj_getDBF(shapefileObj *self){
    4722             :         return self->hDBF;
    4723             :     }
    4724           0 : SWIGINTERN projectionObj *new_projectionObj(char *proj4){
    4725             :         int status;
    4726             :         projectionObj *proj=NULL;
    4727             : 
    4728           0 :         proj = (projectionObj *)malloc(sizeof(projectionObj));
    4729           0 :         if (!proj) return NULL;
    4730           0 :         msInitProjection(proj);
    4731             : 
    4732           0 :         status = msLoadProjectionString(proj, proj4);
    4733           0 :         if (status == -1) {
    4734           0 :             msFreeProjection(proj);
    4735           0 :             free(proj);
    4736           0 :             return NULL;
    4737             :         }
    4738             : 
    4739             :         return proj;
    4740             :     }
    4741             : SWIGINTERN void delete_projectionObj(projectionObj *self){
    4742           0 :         msFreeProjection(self);
    4743           0 :         free(self);
    4744             :     }
    4745             : SWIGINTERN int projectionObj_setWKTProjection(projectionObj *self,char *wkt){
    4746             :         /* no debug output here */
    4747           0 :         return msOGCWKT2ProjectionObj(wkt, self, 0);
    4748             :     }
    4749             : SWIGINTERN int projectionObj_getUnits(projectionObj *self){
    4750           0 :       return GetMapserverUnitUsingProj(self);
    4751             :     }
    4752           0 : SWIGINTERN colorObj *new_colorObj(int red,int green,int blue,int alpha){
    4753             :         colorObj *color;
    4754             :         
    4755             :         /* Check colors */
    4756           0 :         if (red > 255 || green > 255 || blue > 255 || alpha>255 ||
    4757           0 :             red<-1 || green<-1 || blue<-1 || alpha<0 ) {
    4758           0 :             msSetError(12, "Invalid color", "colorObj()");
    4759           0 :             return NULL;
    4760             :         }
    4761             :     
    4762           0 :         color = (colorObj *)calloc(1, sizeof(colorObj));
    4763           0 :         if (!color)
    4764             :             return(NULL);
    4765             :     
    4766           0 :         MS_INIT_COLOR(*color, red, green, blue, alpha);
    4767             : 
    4768           0 :         return(color);
    4769             :     }
    4770             : SWIGINTERN void delete_colorObj(colorObj *self){
    4771           0 :         free(self);
    4772             :     }
    4773           0 : SWIGINTERN int colorObj_setRGB(colorObj *self,int red,int green,int blue,int alpha){
    4774             :         /* Check colors */
    4775           0 :         if (red > 255 || green > 255 || blue > 255 || alpha > 255) {
    4776           0 :             msSetError(12, "Invalid color index.", "setRGB()");
    4777           0 :             return MS_FAILURE;
    4778             :         }
    4779             :     
    4780           0 :         MS_INIT_COLOR(*self, red, green, blue, alpha);
    4781           0 :         return MS_SUCCESS;
    4782             :     }
    4783           0 : SWIGINTERN int colorObj_setHex(colorObj *self,char *psHexColor){
    4784             :         int red, green, blue, alpha = 255;
    4785           0 :         if (psHexColor && (strlen(psHexColor) == 7 || strlen(psHexColor) == 9) && psHexColor[0] == '#') {
    4786           0 :             red = msHexToInt(psHexColor+1);
    4787           0 :             green = msHexToInt(psHexColor+3);
    4788           0 :             blue= msHexToInt(psHexColor+5);
    4789           0 :             if (strlen(psHexColor) == 9) {
    4790           0 :                 alpha = msHexToInt(psHexColor+7);
    4791             :             }
    4792           0 :             if (red > 255 || green > 255 || blue > 255 || alpha > 255) {
    4793           0 :                 msSetError(12, "Invalid color index.", "setHex()");
    4794           0 :                 return MS_FAILURE;
    4795             :             }
    4796             : 
    4797           0 :             MS_INIT_COLOR(*self, red, green, blue, alpha);
    4798           0 :             return MS_SUCCESS;
    4799             :         }
    4800             :         else {
    4801           0 :             msSetError(12, "Invalid hex color.", "setHex()");
    4802           0 :             return MS_FAILURE;
    4803             :         }
    4804             :     }
    4805           0 : SWIGINTERN char *colorObj_toHex(colorObj *self){
    4806             :         char *hexcolor;
    4807             : 
    4808           0 :         if (!self) 
    4809             :         {
    4810           0 :             msSetError(12, "Can't express NULL color as hex",
    4811             :                        "toHex()");
    4812           0 :             return NULL;
    4813             :         }
    4814           0 :         if (self->red < 0 || self->green < 0 || self->blue < 0) 
    4815             :         {
    4816           0 :             msSetError(12, "Can't express invalid color as hex",
    4817             :                        "toHex()");
    4818           0 :             return NULL;
    4819             :         }
    4820           0 :         if (self->alpha == 255) {
    4821           0 :           hexcolor = msSmallMalloc(8);
    4822           0 :           snprintf(hexcolor, 8, "#%02x%02x%02x",
    4823             :                    self->red, self->green, self->blue);
    4824           0 :         } else if (self->alpha >= 0) {
    4825           0 :           hexcolor = msSmallMalloc(10);
    4826           0 :           snprintf(hexcolor, 10, "#%02x%02x%02x%02x",
    4827             :                    self->red, self->green, self->blue, self->alpha);
    4828             :         } else {
    4829           0 :            msSetError(12, "Can't express color with invalid alpha as hex",
    4830             :                       "toHex()");
    4831           0 :            return NULL;
    4832             :         }
    4833             :         return hexcolor;
    4834             :     }
    4835           0 : SWIGINTERN struct symbolObj *new_symbolObj(char *symbolname,char const *imagefile){
    4836             :         symbolObj *symbol;
    4837           0 :         symbol = (symbolObj *) malloc(sizeof(symbolObj));
    4838           0 :         initSymbol(symbol);
    4839           0 :         symbol->name = msStrdup(symbolname);
    4840           0 :         if (imagefile) {
    4841           0 :             msLoadImageSymbol(symbol, imagefile);
    4842             :         }
    4843           0 :         return symbol;
    4844             :     }
    4845           0 : SWIGINTERN void delete_symbolObj(struct symbolObj *self){
    4846           0 :         if (self) {
    4847           0 :             if (msFreeSymbol(self)==MS_SUCCESS) {
    4848           0 :                 free(self);
    4849             :                 self=NULL;
    4850             :             }
    4851             :         }
    4852           0 :     }
    4853             : SWIGINTERN int symbolObj_setImagepath(struct symbolObj *self,char const *imagefile){
    4854           0 :         return msLoadImageSymbol(self, imagefile);
    4855             :     }
    4856           0 : SWIGINTERN int symbolObj_setPoints(struct symbolObj *self,lineObj *line){
    4857             :         int i;
    4858           0 :     self->sizex = 0;
    4859           0 :     self->sizey = 0;
    4860           0 :         for (i=0; i<line->numpoints; i++) {
    4861           0 :             MS_COPYPOINT(&(self->points[i]), &(line->point[i]));
    4862           0 :         self->sizex = MS_MAX(self->sizex, self->points[i].x);
    4863           0 :         self->sizey = MS_MAX(self->sizey, self->points[i].y);
    4864             :         }
    4865           0 :         self->numpoints = line->numpoints;
    4866           0 :         return self->numpoints;
    4867             :     }
    4868           0 : SWIGINTERN lineObj *symbolObj_getPoints(struct symbolObj *self){
    4869             :         int i;
    4870             :         lineObj *line;
    4871           0 :         line = (lineObj *) malloc(sizeof(lineObj));
    4872           0 :         line->point = (pointObj *) malloc(sizeof(pointObj)*(self->numpoints));
    4873           0 :         for (i=0; i<self->numpoints; i++) {
    4874           0 :             line->point[i].x = self->points[i].x;
    4875           0 :             line->point[i].y = self->points[i].y;
    4876             :         }
    4877           0 :         line->numpoints = self->numpoints;
    4878           0 :         return line;
    4879             :     }
    4880           0 : SWIGINTERN imageObj *symbolObj_getImage(struct symbolObj *self,outputFormatObj *input_format){
    4881             :         imageObj *image = NULL;
    4882             :         outputFormatObj *format = NULL;
    4883             :         rendererVTableObj *renderer = NULL;
    4884             : 
    4885           0 :         if (input_format)
    4886             :         {
    4887             :             format = input_format;
    4888             :         }
    4889             :         else 
    4890             :         {
    4891           0 :             format = msCreateDefaultOutputFormat(NULL, "AGG/PNG", "aggpng");
    4892           0 :             if (format)
    4893           0 :                 msInitializeRendererVTable(format);
    4894             :         }
    4895             :         
    4896           0 :         if (format == NULL) 
    4897             :         {
    4898           0 :             msSetError(15, "Could not create output format",
    4899             :                        "getImage()");
    4900           0 :             return NULL;
    4901             :         }
    4902             : 
    4903           0 :         renderer = format->vtable;
    4904           0 :         msPreloadImageSymbol(renderer, self);
    4905           0 :         if (self->pixmap_buffer) 
    4906             :         {
    4907           0 :             image = msImageCreate(self->pixmap_buffer->width, self->pixmap_buffer->height, format, NULL, NULL,
    4908             :                                   MS_DEFAULT_RESOLUTION, MS_DEFAULT_RESOLUTION, NULL);
    4909           0 :             if(!image) {
    4910           0 :               msSetError(15, "Could not create image",
    4911             :                        "getImage()");
    4912           0 :               return NULL;
    4913             :             }
    4914           0 :             if(MS_SUCCESS != renderer->mergeRasterBuffer(image, self->pixmap_buffer, 1.0, 0, 0, 0, 0,
    4915           0 :                                         self->pixmap_buffer->width, self->pixmap_buffer->height)) {
    4916           0 :               msSetError(15, "Could not merge symbol image",
    4917             :                        "getImage()");
    4918           0 :               msFreeImage(image);
    4919           0 :               return NULL;
    4920             :             }
    4921             :         }
    4922             : 
    4923             :         return image;
    4924             :     }
    4925           0 : SWIGINTERN int symbolObj_setImage(struct symbolObj *self,imageObj *image){
    4926             :         rendererVTableObj *renderer = NULL;
    4927             :         
    4928           0 :         renderer = image->format->vtable;
    4929             :         
    4930           0 :         if (self->pixmap_buffer) {
    4931           0 :             msFreeRasterBuffer(self->pixmap_buffer);
    4932           0 :             free(self->pixmap_buffer);
    4933             :         }
    4934             :         
    4935           0 :         self->pixmap_buffer = (rasterBufferObj*)malloc(sizeof(rasterBufferObj));
    4936           0 :         if (!self->pixmap_buffer) {
    4937           0 :             msSetError(2, NULL, "setImage()");
    4938             :             return MS_FAILURE;
    4939             :         }
    4940           0 :         self->type = MS_SYMBOL_PIXMAP;
    4941           0 :         return renderer->getRasterBufferCopy(image, self->pixmap_buffer);
    4942             :     }
    4943             : SWIGINTERN hashTableObj *new_hashTableObj(void){
    4944             : 
    4945           0 :         return msCreateHashTable();
    4946             :     }
    4947             : SWIGINTERN void delete_hashTableObj(hashTableObj *self){
    4948           1 :         msFreeHashTable(self);
    4949             :     }
    4950             : SWIGINTERN int hashTableObj_set(hashTableObj *self,char *key,char *value){
    4951           0 :         if (msInsertHashTable(self, key, value) == NULL) {
    4952             :             return MS_FAILURE;
    4953             :         }
    4954             :         return MS_SUCCESS;
    4955             :     }
    4956           1 : SWIGINTERN char *hashTableObj_get(hashTableObj *self,char *key,char *default_value){
    4957             :         char *value = NULL;
    4958           1 :         if (!key) {
    4959           0 :             msSetError(16, "NULL key", "get");
    4960             :         }
    4961             :      
    4962           1 :         value = (char *) msLookupHashTable(self, key);
    4963           1 :         if (!value) {
    4964             :             return default_value;
    4965             :         }
    4966           1 :         return value;
    4967             :     }
    4968             : SWIGINTERN int hashTableObj_remove(hashTableObj *self,char *key){
    4969           0 :         return msRemoveHashTable(self, key);
    4970             :     }
    4971             : SWIGINTERN void hashTableObj_clear(hashTableObj *self){
    4972           0 :         msFreeHashItems(self);
    4973           0 :         initHashTable(self);
    4974             :     }
    4975             : SWIGINTERN char const *hashTableObj_nextKey(hashTableObj *self,char *prevkey){
    4976           0 :         return msNextKeyFromHashTable(self, (const char *) prevkey);
    4977             :     }
    4978             : SWIGINTERN struct errorObj *new_errorObj(void){    
    4979           0 :         return msGetErrorObj();
    4980             :     }
    4981             : SWIGINTERN void delete_errorObj(struct errorObj *self){}
    4982           0 : SWIGINTERN errorObj *errorObj_next(struct errorObj *self){
    4983             :         errorObj *ep;
    4984             : 
    4985           0 :         if (self == NULL || self->next == NULL) return NULL;
    4986             : 
    4987           0 :         ep = msGetErrorObj();
    4988           0 :         while (ep != self) {
    4989             :             /* We reached end of list of active errorObj and 
    4990             :                didn't find the errorObj... this is bad! */
    4991           0 :             if (ep->next == NULL) return NULL;
    4992             :             ep = ep->next;
    4993             :         }
    4994             :     
    4995           0 :         return ep->next;
    4996             :     }
    4997             : 
    4998           1 : static char *msGetEnvURL( const char *key, void *thread_context )
    4999             : {
    5000           1 :     if( strcmp(key,"REQUEST_METHOD") == 0 )
    5001             :         return "GET";
    5002             : 
    5003           1 :     if( strcmp(key,"QUERY_STRING") == 0 )
    5004             :         return (char *) thread_context;
    5005             : 
    5006           1 :     return NULL;
    5007             : }
    5008             : 
    5009           1 : SWIGINTERN cgiRequestObj *new_cgiRequestObj(void){
    5010             :         cgiRequestObj *request;
    5011             : 
    5012           1 :         request = msAllocCgiObj();
    5013           1 :         if (!request) {
    5014           0 :             msSetError(13, "Failed to initialize object","OWSRequest()");
    5015           0 :             return NULL;
    5016             :         }
    5017             :         
    5018             :         return request;
    5019             :     }
    5020             : SWIGINTERN void delete_cgiRequestObj(cgiRequestObj *self){
    5021           1 :         msFreeCgiObj(self);
    5022             :     }
    5023             : SWIGINTERN int cgiRequestObj_loadParams(cgiRequestObj *self){
    5024           0 :         self->NumParams = loadParams( self, NULL, NULL, 0, NULL);
    5025             :         return self->NumParams;
    5026             :     }
    5027             : SWIGINTERN int cgiRequestObj_loadParamsFromURL(cgiRequestObj *self,char const *url){
    5028           1 :         self->NumParams = loadParams( self, msGetEnvURL, NULL, 0, (void*)url );
    5029             :         return self->NumParams;
    5030             :     }
    5031           0 : SWIGINTERN void cgiRequestObj_setParameter(cgiRequestObj *self,char *name,char *value){
    5032             :         int i;
    5033             :         
    5034           0 :         if (self->NumParams == 100) {
    5035           0 :             msSetError(31, "Maximum number of items, %d, has been reached", "setItem()", 100);
    5036             :         }
    5037             :         
    5038           0 :         for (i=0; i<self->NumParams; i++) {
    5039           0 :             if (strcasecmp(self->ParamNames[i], name) == 0) {
    5040           0 :                 free(self->ParamValues[i]);
    5041           0 :                 self->ParamValues[i] = msStrdup(value);
    5042           0 :                 break;
    5043             :             }
    5044             :         }
    5045           0 :         if (i == self->NumParams) {
    5046           0 :             self->ParamNames[self->NumParams] = msStrdup(name);
    5047           0 :             self->ParamValues[self->NumParams] = msStrdup(value);
    5048           0 :             self->NumParams++;
    5049             :         }
    5050           0 :     }
    5051           0 : SWIGINTERN void cgiRequestObj_addParameter(cgiRequestObj *self,char *name,char *value){
    5052           0 :         if (self->NumParams == 100) {
    5053           0 :             msSetError(31, "Maximum number of items, %d, has been reached", "addParameter()", 100);
    5054             :         }
    5055           0 :         self->ParamNames[self->NumParams] = msStrdup(name);
    5056           0 :         self->ParamValues[self->NumParams] = msStrdup(value);
    5057           0 :         self->NumParams++;
    5058           0 :     }
    5059           1 : SWIGINTERN char *cgiRequestObj_getName(cgiRequestObj *self,int index){
    5060           1 :         if (index < 0 || index >= self->NumParams) {
    5061           0 :             msSetError(31, "Invalid index, valid range is [0, %d]", "getName()", self->NumParams-1);
    5062             :             return NULL;
    5063             :         }
    5064           1 :         return self->ParamNames[index];
    5065             :     }
    5066           1 : SWIGINTERN char *cgiRequestObj_getValue(cgiRequestObj *self,int index){
    5067           1 :         if (index < 0 || index >= self->NumParams) {
    5068           0 :             msSetError(31, "Invalid index, valid range is [0, %d]", "getValue()", self->NumParams-1);
    5069             :             return NULL;
    5070             :         }
    5071           1 :         return self->ParamValues[index];
    5072             :     }
    5073           1 : SWIGINTERN char *cgiRequestObj_getValueByName(cgiRequestObj *self,char const *name){
    5074             :         int i;
    5075           1 :         for (i=0; i<self->NumParams; i++) {
    5076           1 :             if (strcasecmp(self->ParamNames[i], name) == 0) {
    5077           1 :                 return self->ParamValues[i];
    5078             :             }
    5079             :         }
    5080             :         return NULL;
    5081             :     }
    5082             : 
    5083             : 
    5084           0 : const char *msIO_getStdoutBufferString() {
    5085           0 :     msIOContext *ctx = msIO_getHandler( (FILE *) "stdout" );
    5086             :     msIOBuffer  *buf;
    5087             : 
    5088           0 :     if( ctx == NULL || ctx->write_channel == MS_FALSE 
    5089           0 :         || strcmp(ctx->label,"buffer") != 0 )
    5090             :     {
    5091           0 :         msSetError( MS_MISCERR, "Can't identify msIO buffer.",
    5092             :                     "msIO_getStdoutBufferString" );
    5093           0 :         return "";
    5094             :     }
    5095             : 
    5096           0 :     buf = (msIOBuffer *) ctx->cbData;
    5097             : 
    5098             :     /* write one zero byte and backtrack if it isn't already there */
    5099           0 :     if( buf->data_len == 0 || buf->data[buf->data_offset] != '\0' ) {
    5100           0 :         msIO_bufferWrite( buf, "", 1 );
    5101           0 :         buf->data_offset--;
    5102             :     }
    5103             : 
    5104           0 :     return (const char *) (buf->data);
    5105             : }
    5106             : 
    5107           1 : gdBuffer msIO_getStdoutBufferBytes() {
    5108           1 :     msIOContext *ctx = msIO_getHandler( (FILE *) "stdout" );
    5109             :     msIOBuffer  *buf;
    5110             :     gdBuffer     gdBuf;
    5111             : 
    5112           1 :     if( ctx == NULL || ctx->write_channel == MS_FALSE 
    5113           1 :         || strcmp(ctx->label,"buffer") != 0 )
    5114             :     {
    5115           0 :         msSetError( MS_MISCERR, "Can't identify msIO buffer.",
    5116             :                         "msIO_getStdoutBufferString" );
    5117             :         gdBuf.data = (unsigned char*)"";
    5118             :         gdBuf.size = 0;
    5119             :         gdBuf.owns_data = MS_FALSE;
    5120           0 :         return gdBuf;
    5121             :     }
    5122             : 
    5123           1 :     buf = (msIOBuffer *) ctx->cbData;
    5124             : 
    5125           1 :     gdBuf.data = buf->data;
    5126           1 :     gdBuf.size = buf->data_offset;
    5127             :     gdBuf.owns_data = MS_TRUE;
    5128             : 
    5129             :     /* we are seizing ownership of the buffer contents */
    5130           1 :     buf->data_offset = 0;
    5131           1 :     buf->data_len = 0;
    5132           1 :     buf->data = NULL;
    5133             : 
    5134           1 :     return gdBuf;
    5135             : }
    5136             : 
    5137             : 
    5138             : #ifdef __cplusplus
    5139             : extern "C" {
    5140             : #endif
    5141             : 
    5142             : #ifdef PERL_OBJECT
    5143             : #define MAGIC_CLASS _wrap_mapscript_var::
    5144             : class _wrap_mapscript_var : public CPerlObj {
    5145             : public:
    5146             : #else
    5147             : #define MAGIC_CLASS
    5148             : #endif
    5149             : SWIGCLASS_STATIC int swig_magic_readonly(pTHX_ SV *SWIGUNUSEDPARM(sv), MAGIC *SWIGUNUSEDPARM(mg)) {
    5150             :     MAGIC_PPERL
    5151             :     croak("Value is read-only.");
    5152             :     return 0;
    5153             : }
    5154             : 
    5155             : 
    5156             : #ifdef PERL_OBJECT
    5157             : };
    5158             : #endif
    5159             : 
    5160             : #ifdef __cplusplus
    5161             : }
    5162             : #endif
    5163             : 
    5164             : #ifdef __cplusplus
    5165             : extern "C" {
    5166             : #endif
    5167           0 : XS(_wrap_new_intarray) {
    5168             :   {
    5169             :     size_t arg1 ;
    5170             :     size_t val1 ;
    5171             :     int ecode1 = 0 ;
    5172             :     int argvi = 0;
    5173             :     intarray *result = 0 ;
    5174           0 :     dXSARGS;
    5175             :     
    5176           0 :     if ((items < 1) || (items > 1)) {
    5177           0 :       SWIG_croak("Usage: new_intarray(nelements);");
    5178             :     }
    5179           0 :     ecode1 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
    5180           0 :     if (!SWIG_IsOK(ecode1)) {
    5181           0 :       SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_intarray" "', argument " "1"" of type '" "size_t""'");
    5182             :     } 
    5183             :     arg1 = (size_t)(val1);
    5184             :     result = (intarray *)new_intarray(arg1);
    5185           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_intarray, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    5186             :     
    5187           0 :     XSRETURN(argvi);
    5188           0 :   fail:
    5189             :     
    5190           0 :     SWIG_croak_null();
    5191             :   }
    5192             : }
    5193             : 
    5194             : 
    5195           0 : XS(_wrap_delete_intarray) {
    5196             :   {
    5197             :     intarray *arg1 = (intarray *) 0 ;
    5198           0 :     void *argp1 = 0 ;
    5199             :     int res1 = 0 ;
    5200             :     int argvi = 0;
    5201           0 :     dXSARGS;
    5202             :     
    5203           0 :     if ((items < 1) || (items > 1)) {
    5204           0 :       SWIG_croak("Usage: delete_intarray(self);");
    5205             :     }
    5206           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_intarray, SWIG_POINTER_DISOWN |  0 );
    5207           0 :     if (!SWIG_IsOK(res1)) {
    5208           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_intarray" "', argument " "1"" of type '" "intarray *""'"); 
    5209             :     }
    5210           0 :     arg1 = (intarray *)(argp1);
    5211             :     delete_intarray(arg1);
    5212           0 :     ST(argvi) = sv_newmortal();
    5213             :     
    5214           0 :     XSRETURN(argvi);
    5215           0 :   fail:
    5216             :     
    5217           0 :     SWIG_croak_null();
    5218             :   }
    5219             : }
    5220             : 
    5221             : 
    5222           0 : XS(_wrap_intarray_getitem) {
    5223             :   {
    5224             :     intarray *arg1 = (intarray *) 0 ;
    5225             :     size_t arg2 ;
    5226           0 :     void *argp1 = 0 ;
    5227             :     int res1 = 0 ;
    5228             :     size_t val2 ;
    5229             :     int ecode2 = 0 ;
    5230             :     int argvi = 0;
    5231             :     int result;
    5232           0 :     dXSARGS;
    5233             :     
    5234           0 :     if ((items < 2) || (items > 2)) {
    5235           0 :       SWIG_croak("Usage: intarray_getitem(self,index);");
    5236             :     }
    5237           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_intarray, 0 |  0 );
    5238           0 :     if (!SWIG_IsOK(res1)) {
    5239           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "intarray_getitem" "', argument " "1"" of type '" "intarray *""'"); 
    5240             :     }
    5241           0 :     arg1 = (intarray *)(argp1);
    5242           0 :     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    5243           0 :     if (!SWIG_IsOK(ecode2)) {
    5244           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "intarray_getitem" "', argument " "2"" of type '" "size_t""'");
    5245             :     } 
    5246             :     arg2 = (size_t)(val2);
    5247             :     result = (int)intarray_getitem(arg1,arg2);
    5248           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
    5249             :     
    5250             :     
    5251           0 :     XSRETURN(argvi);
    5252           0 :   fail:
    5253             :     
    5254             :     
    5255           0 :     SWIG_croak_null();
    5256             :   }
    5257             : }
    5258             : 
    5259             : 
    5260           0 : XS(_wrap_intarray_setitem) {
    5261             :   {
    5262             :     intarray *arg1 = (intarray *) 0 ;
    5263             :     size_t arg2 ;
    5264             :     int arg3 ;
    5265           0 :     void *argp1 = 0 ;
    5266             :     int res1 = 0 ;
    5267             :     size_t val2 ;
    5268             :     int ecode2 = 0 ;
    5269             :     int val3 ;
    5270             :     int ecode3 = 0 ;
    5271             :     int argvi = 0;
    5272           0 :     dXSARGS;
    5273             :     
    5274           0 :     if ((items < 3) || (items > 3)) {
    5275           0 :       SWIG_croak("Usage: intarray_setitem(self,index,value);");
    5276             :     }
    5277           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_intarray, 0 |  0 );
    5278           0 :     if (!SWIG_IsOK(res1)) {
    5279           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "intarray_setitem" "', argument " "1"" of type '" "intarray *""'"); 
    5280             :     }
    5281           0 :     arg1 = (intarray *)(argp1);
    5282           0 :     ecode2 = SWIG_AsVal_size_t SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    5283           0 :     if (!SWIG_IsOK(ecode2)) {
    5284           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "intarray_setitem" "', argument " "2"" of type '" "size_t""'");
    5285             :     } 
    5286             :     arg2 = (size_t)(val2);
    5287           0 :     ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
    5288           0 :     if (!SWIG_IsOK(ecode3)) {
    5289           0 :       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "intarray_setitem" "', argument " "3"" of type '" "int""'");
    5290             :     } 
    5291             :     arg3 = (int)(val3);
    5292             :     intarray_setitem(arg1,arg2,arg3);
    5293           0 :     ST(argvi) = sv_newmortal();
    5294             :     
    5295             :     
    5296             :     
    5297           0 :     XSRETURN(argvi);
    5298           0 :   fail:
    5299             :     
    5300             :     
    5301             :     
    5302           0 :     SWIG_croak_null();
    5303             :   }
    5304             : }
    5305             : 
    5306             : 
    5307           0 : XS(_wrap_intarray_cast) {
    5308             :   {
    5309             :     intarray *arg1 = (intarray *) 0 ;
    5310           0 :     void *argp1 = 0 ;
    5311             :     int res1 = 0 ;
    5312             :     int argvi = 0;
    5313             :     int *result = 0 ;
    5314           0 :     dXSARGS;
    5315             :     
    5316           0 :     if ((items < 1) || (items > 1)) {
    5317           0 :       SWIG_croak("Usage: intarray_cast(self);");
    5318             :     }
    5319           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_intarray, 0 |  0 );
    5320           0 :     if (!SWIG_IsOK(res1)) {
    5321           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "intarray_cast" "', argument " "1"" of type '" "intarray *""'"); 
    5322             :     }
    5323           0 :     arg1 = (intarray *)(argp1);
    5324             :     result = (int *)intarray_cast(arg1);
    5325           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int, 0 | 0); argvi++ ;
    5326             :     
    5327           0 :     XSRETURN(argvi);
    5328           0 :   fail:
    5329             :     
    5330           0 :     SWIG_croak_null();
    5331             :   }
    5332             : }
    5333             : 
    5334             : 
    5335           0 : XS(_wrap_intarray_frompointer) {
    5336             :   {
    5337             :     int *arg1 = (int *) 0 ;
    5338           0 :     void *argp1 = 0 ;
    5339             :     int res1 = 0 ;
    5340             :     int argvi = 0;
    5341             :     intarray *result = 0 ;
    5342           0 :     dXSARGS;
    5343             :     
    5344           0 :     if ((items < 1) || (items > 1)) {
    5345           0 :       SWIG_croak("Usage: intarray_frompointer(t);");
    5346             :     }
    5347           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_int, 0 |  0 );
    5348           0 :     if (!SWIG_IsOK(res1)) {
    5349           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "intarray_frompointer" "', argument " "1"" of type '" "int *""'"); 
    5350             :     }
    5351           0 :     arg1 = (int *)(argp1);
    5352             :     result = (intarray *)intarray_frompointer(arg1);
    5353           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_intarray, 0 | SWIG_SHADOW); argvi++ ;
    5354             :     
    5355           0 :     XSRETURN(argvi);
    5356           0 :   fail:
    5357             :     
    5358           0 :     SWIG_croak_null();
    5359             :   }
    5360             : }
    5361             : 
    5362             : 
    5363           0 : XS(_wrap_CompositingFilter_filter_set) {
    5364             :   {
    5365             :     struct _CompositingFilter *arg1 = (struct _CompositingFilter *) 0 ;
    5366             :     char *arg2 = (char *) 0 ;
    5367           0 :     void *argp1 = 0 ;
    5368             :     int res1 = 0 ;
    5369             :     int res2 ;
    5370           0 :     char *buf2 = 0 ;
    5371           0 :     int alloc2 = 0 ;
    5372             :     int argvi = 0;
    5373           0 :     dXSARGS;
    5374             :     
    5375           0 :     if ((items < 2) || (items > 2)) {
    5376           0 :       SWIG_croak("Usage: CompositingFilter_filter_set(self,filter);");
    5377             :     }
    5378           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__CompositingFilter, 0 |  0 );
    5379           0 :     if (!SWIG_IsOK(res1)) {
    5380           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CompositingFilter_filter_set" "', argument " "1"" of type '" "struct _CompositingFilter *""'"); 
    5381             :     }
    5382           0 :     arg1 = (struct _CompositingFilter *)(argp1);
    5383           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    5384           0 :     if (!SWIG_IsOK(res2)) {
    5385           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CompositingFilter_filter_set" "', argument " "2"" of type '" "char *""'");
    5386             :     }
    5387           0 :     arg2 = (char *)(buf2);
    5388             :     {
    5389           0 :       if (arg1->filter) free((char*)arg1->filter);
    5390           0 :       if (arg2) {
    5391           0 :         arg1->filter = (char *) malloc(strlen(arg2)+1);
    5392             :         strcpy((char*)arg1->filter,arg2);
    5393             :       } else {
    5394           0 :         arg1->filter = 0;
    5395             :       }
    5396             :     }
    5397           0 :     ST(argvi) = sv_newmortal();
    5398             :     
    5399           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    5400           0 :     XSRETURN(argvi);
    5401           0 :   fail:
    5402             :     
    5403           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    5404           0 :     SWIG_croak_null();
    5405             :   }
    5406             : }
    5407             : 
    5408             : 
    5409           0 : XS(_wrap_CompositingFilter_filter_get) {
    5410             :   {
    5411             :     struct _CompositingFilter *arg1 = (struct _CompositingFilter *) 0 ;
    5412           0 :     void *argp1 = 0 ;
    5413             :     int res1 = 0 ;
    5414             :     int argvi = 0;
    5415             :     char *result = 0 ;
    5416           0 :     dXSARGS;
    5417             :     
    5418           0 :     if ((items < 1) || (items > 1)) {
    5419           0 :       SWIG_croak("Usage: CompositingFilter_filter_get(self);");
    5420             :     }
    5421           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__CompositingFilter, 0 |  0 );
    5422           0 :     if (!SWIG_IsOK(res1)) {
    5423           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CompositingFilter_filter_get" "', argument " "1"" of type '" "struct _CompositingFilter *""'"); 
    5424             :     }
    5425           0 :     arg1 = (struct _CompositingFilter *)(argp1);
    5426           0 :     result = (char *) ((arg1)->filter);
    5427           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
    5428             :     
    5429           0 :     XSRETURN(argvi);
    5430           0 :   fail:
    5431             :     
    5432           0 :     SWIG_croak_null();
    5433             :   }
    5434             : }
    5435             : 
    5436             : 
    5437           0 : XS(_wrap_CompositingFilter_next_set) {
    5438             :   {
    5439             :     struct _CompositingFilter *arg1 = (struct _CompositingFilter *) 0 ;
    5440             :     struct _CompositingFilter *arg2 = (struct _CompositingFilter *) 0 ;
    5441           0 :     void *argp1 = 0 ;
    5442             :     int res1 = 0 ;
    5443           0 :     void *argp2 = 0 ;
    5444             :     int res2 = 0 ;
    5445             :     int argvi = 0;
    5446           0 :     dXSARGS;
    5447             :     
    5448           0 :     if ((items < 2) || (items > 2)) {
    5449           0 :       SWIG_croak("Usage: CompositingFilter_next_set(self,next);");
    5450             :     }
    5451           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__CompositingFilter, 0 |  0 );
    5452           0 :     if (!SWIG_IsOK(res1)) {
    5453           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CompositingFilter_next_set" "', argument " "1"" of type '" "struct _CompositingFilter *""'"); 
    5454             :     }
    5455           0 :     arg1 = (struct _CompositingFilter *)(argp1);
    5456           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p__CompositingFilter, SWIG_POINTER_DISOWN |  0 );
    5457           0 :     if (!SWIG_IsOK(res2)) {
    5458           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "CompositingFilter_next_set" "', argument " "2"" of type '" "struct _CompositingFilter *""'"); 
    5459             :     }
    5460           0 :     arg2 = (struct _CompositingFilter *)(argp2);
    5461           0 :     if (arg1) (arg1)->next = arg2;
    5462           0 :     ST(argvi) = sv_newmortal();
    5463             :     
    5464             :     
    5465           0 :     XSRETURN(argvi);
    5466           0 :   fail:
    5467             :     
    5468             :     
    5469           0 :     SWIG_croak_null();
    5470             :   }
    5471             : }
    5472             : 
    5473             : 
    5474           0 : XS(_wrap_CompositingFilter_next_get) {
    5475             :   {
    5476             :     struct _CompositingFilter *arg1 = (struct _CompositingFilter *) 0 ;
    5477           0 :     void *argp1 = 0 ;
    5478             :     int res1 = 0 ;
    5479             :     int argvi = 0;
    5480             :     struct _CompositingFilter *result = 0 ;
    5481           0 :     dXSARGS;
    5482             :     
    5483           0 :     if ((items < 1) || (items > 1)) {
    5484           0 :       SWIG_croak("Usage: CompositingFilter_next_get(self);");
    5485             :     }
    5486           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__CompositingFilter, 0 |  0 );
    5487           0 :     if (!SWIG_IsOK(res1)) {
    5488           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CompositingFilter_next_get" "', argument " "1"" of type '" "struct _CompositingFilter *""'"); 
    5489             :     }
    5490           0 :     arg1 = (struct _CompositingFilter *)(argp1);
    5491           0 :     result = (struct _CompositingFilter *) ((arg1)->next);
    5492           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__CompositingFilter, 0 | SWIG_SHADOW); argvi++ ;
    5493             :     
    5494           0 :     XSRETURN(argvi);
    5495           0 :   fail:
    5496             :     
    5497           0 :     SWIG_croak_null();
    5498             :   }
    5499             : }
    5500             : 
    5501             : 
    5502           0 : XS(_wrap_new_CompositingFilter) {
    5503             :   {
    5504             :     int argvi = 0;
    5505             :     struct _CompositingFilter *result = 0 ;
    5506           0 :     dXSARGS;
    5507             :     
    5508           0 :     if ((items < 0) || (items > 0)) {
    5509           0 :       SWIG_croak("Usage: new_CompositingFilter();");
    5510             :     }
    5511           0 :     result = (struct _CompositingFilter *)calloc(1, sizeof(struct _CompositingFilter));
    5512           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__CompositingFilter, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    5513           0 :     XSRETURN(argvi);
    5514             :   fail:
    5515           0 :     SWIG_croak_null();
    5516             :   }
    5517             : }
    5518             : 
    5519             : 
    5520           0 : XS(_wrap_delete_CompositingFilter) {
    5521             :   {
    5522             :     struct _CompositingFilter *arg1 = (struct _CompositingFilter *) 0 ;
    5523           0 :     void *argp1 = 0 ;
    5524             :     int res1 = 0 ;
    5525             :     int argvi = 0;
    5526           0 :     dXSARGS;
    5527             :     
    5528           0 :     if ((items < 1) || (items > 1)) {
    5529           0 :       SWIG_croak("Usage: delete_CompositingFilter(self);");
    5530             :     }
    5531           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__CompositingFilter, SWIG_POINTER_DISOWN |  0 );
    5532           0 :     if (!SWIG_IsOK(res1)) {
    5533           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_CompositingFilter" "', argument " "1"" of type '" "struct _CompositingFilter *""'"); 
    5534             :     }
    5535           0 :     arg1 = (struct _CompositingFilter *)(argp1);
    5536           0 :     free((char *) arg1);
    5537           0 :     ST(argvi) = sv_newmortal();
    5538             :     
    5539           0 :     XSRETURN(argvi);
    5540           0 :   fail:
    5541             :     
    5542           0 :     SWIG_croak_null();
    5543             :   }
    5544             : }
    5545             : 
    5546             : 
    5547           0 : XS(_wrap_LayerCompositer_comp_op_set) {
    5548             :   {
    5549             :     struct _LayerCompositer *arg1 = (struct _LayerCompositer *) 0 ;
    5550             :     CompositingOperation arg2 ;
    5551           0 :     void *argp1 = 0 ;
    5552             :     int res1 = 0 ;
    5553             :     int val2 ;
    5554             :     int ecode2 = 0 ;
    5555             :     int argvi = 0;
    5556           0 :     dXSARGS;
    5557             :     
    5558           0 :     if ((items < 2) || (items > 2)) {
    5559           0 :       SWIG_croak("Usage: LayerCompositer_comp_op_set(self,comp_op);");
    5560             :     }
    5561           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__LayerCompositer, 0 |  0 );
    5562           0 :     if (!SWIG_IsOK(res1)) {
    5563           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayerCompositer_comp_op_set" "', argument " "1"" of type '" "struct _LayerCompositer *""'"); 
    5564             :     }
    5565           0 :     arg1 = (struct _LayerCompositer *)(argp1);
    5566           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    5567           0 :     if (!SWIG_IsOK(ecode2)) {
    5568           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LayerCompositer_comp_op_set" "', argument " "2"" of type '" "CompositingOperation""'");
    5569             :     } 
    5570           0 :     arg2 = (CompositingOperation)(val2);
    5571           0 :     if (arg1) (arg1)->comp_op = arg2;
    5572           0 :     ST(argvi) = sv_newmortal();
    5573             :     
    5574             :     
    5575           0 :     XSRETURN(argvi);
    5576           0 :   fail:
    5577             :     
    5578             :     
    5579           0 :     SWIG_croak_null();
    5580             :   }
    5581             : }
    5582             : 
    5583             : 
    5584           0 : XS(_wrap_LayerCompositer_comp_op_get) {
    5585             :   {
    5586             :     struct _LayerCompositer *arg1 = (struct _LayerCompositer *) 0 ;
    5587           0 :     void *argp1 = 0 ;
    5588             :     int res1 = 0 ;
    5589             :     int argvi = 0;
    5590             :     CompositingOperation result;
    5591           0 :     dXSARGS;
    5592             :     
    5593           0 :     if ((items < 1) || (items > 1)) {
    5594           0 :       SWIG_croak("Usage: LayerCompositer_comp_op_get(self);");
    5595             :     }
    5596           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__LayerCompositer, 0 |  0 );
    5597           0 :     if (!SWIG_IsOK(res1)) {
    5598           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayerCompositer_comp_op_get" "', argument " "1"" of type '" "struct _LayerCompositer *""'"); 
    5599             :     }
    5600           0 :     arg1 = (struct _LayerCompositer *)(argp1);
    5601           0 :     result = (CompositingOperation) ((arg1)->comp_op);
    5602           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
    5603             :     
    5604           0 :     XSRETURN(argvi);
    5605           0 :   fail:
    5606             :     
    5607           0 :     SWIG_croak_null();
    5608             :   }
    5609             : }
    5610             : 
    5611             : 
    5612           0 : XS(_wrap_LayerCompositer_opacity_set) {
    5613             :   {
    5614             :     struct _LayerCompositer *arg1 = (struct _LayerCompositer *) 0 ;
    5615             :     int arg2 ;
    5616           0 :     void *argp1 = 0 ;
    5617             :     int res1 = 0 ;
    5618             :     int val2 ;
    5619             :     int ecode2 = 0 ;
    5620             :     int argvi = 0;
    5621           0 :     dXSARGS;
    5622             :     
    5623           0 :     if ((items < 2) || (items > 2)) {
    5624           0 :       SWIG_croak("Usage: LayerCompositer_opacity_set(self,opacity);");
    5625             :     }
    5626           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__LayerCompositer, 0 |  0 );
    5627           0 :     if (!SWIG_IsOK(res1)) {
    5628           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayerCompositer_opacity_set" "', argument " "1"" of type '" "struct _LayerCompositer *""'"); 
    5629             :     }
    5630           0 :     arg1 = (struct _LayerCompositer *)(argp1);
    5631           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    5632           0 :     if (!SWIG_IsOK(ecode2)) {
    5633           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LayerCompositer_opacity_set" "', argument " "2"" of type '" "int""'");
    5634             :     } 
    5635             :     arg2 = (int)(val2);
    5636           0 :     if (arg1) (arg1)->opacity = arg2;
    5637           0 :     ST(argvi) = sv_newmortal();
    5638             :     
    5639             :     
    5640           0 :     XSRETURN(argvi);
    5641           0 :   fail:
    5642             :     
    5643             :     
    5644           0 :     SWIG_croak_null();
    5645             :   }
    5646             : }
    5647             : 
    5648             : 
    5649           0 : XS(_wrap_LayerCompositer_opacity_get) {
    5650             :   {
    5651             :     struct _LayerCompositer *arg1 = (struct _LayerCompositer *) 0 ;
    5652           0 :     void *argp1 = 0 ;
    5653             :     int res1 = 0 ;
    5654             :     int argvi = 0;
    5655             :     int result;
    5656           0 :     dXSARGS;
    5657             :     
    5658           0 :     if ((items < 1) || (items > 1)) {
    5659           0 :       SWIG_croak("Usage: LayerCompositer_opacity_get(self);");
    5660             :     }
    5661           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__LayerCompositer, 0 |  0 );
    5662           0 :     if (!SWIG_IsOK(res1)) {
    5663           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayerCompositer_opacity_get" "', argument " "1"" of type '" "struct _LayerCompositer *""'"); 
    5664             :     }
    5665           0 :     arg1 = (struct _LayerCompositer *)(argp1);
    5666           0 :     result = (int) ((arg1)->opacity);
    5667           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
    5668             :     
    5669           0 :     XSRETURN(argvi);
    5670           0 :   fail:
    5671             :     
    5672           0 :     SWIG_croak_null();
    5673             :   }
    5674             : }
    5675             : 
    5676             : 
    5677           0 : XS(_wrap_LayerCompositer_filter_set) {
    5678             :   {
    5679             :     struct _LayerCompositer *arg1 = (struct _LayerCompositer *) 0 ;
    5680             :     CompositingFilter *arg2 = (CompositingFilter *) 0 ;
    5681           0 :     void *argp1 = 0 ;
    5682             :     int res1 = 0 ;
    5683           0 :     void *argp2 = 0 ;
    5684             :     int res2 = 0 ;
    5685             :     int argvi = 0;
    5686           0 :     dXSARGS;
    5687             :     
    5688           0 :     if ((items < 2) || (items > 2)) {
    5689           0 :       SWIG_croak("Usage: LayerCompositer_filter_set(self,filter);");
    5690             :     }
    5691           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__LayerCompositer, 0 |  0 );
    5692           0 :     if (!SWIG_IsOK(res1)) {
    5693           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayerCompositer_filter_set" "', argument " "1"" of type '" "struct _LayerCompositer *""'"); 
    5694             :     }
    5695           0 :     arg1 = (struct _LayerCompositer *)(argp1);
    5696           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p__CompositingFilter, SWIG_POINTER_DISOWN |  0 );
    5697           0 :     if (!SWIG_IsOK(res2)) {
    5698           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayerCompositer_filter_set" "', argument " "2"" of type '" "CompositingFilter *""'"); 
    5699             :     }
    5700           0 :     arg2 = (CompositingFilter *)(argp2);
    5701           0 :     if (arg1) (arg1)->filter = arg2;
    5702           0 :     ST(argvi) = sv_newmortal();
    5703             :     
    5704             :     
    5705           0 :     XSRETURN(argvi);
    5706           0 :   fail:
    5707             :     
    5708             :     
    5709           0 :     SWIG_croak_null();
    5710             :   }
    5711             : }
    5712             : 
    5713             : 
    5714           0 : XS(_wrap_LayerCompositer_filter_get) {
    5715             :   {
    5716             :     struct _LayerCompositer *arg1 = (struct _LayerCompositer *) 0 ;
    5717           0 :     void *argp1 = 0 ;
    5718             :     int res1 = 0 ;
    5719             :     int argvi = 0;
    5720             :     CompositingFilter *result = 0 ;
    5721           0 :     dXSARGS;
    5722             :     
    5723           0 :     if ((items < 1) || (items > 1)) {
    5724           0 :       SWIG_croak("Usage: LayerCompositer_filter_get(self);");
    5725             :     }
    5726           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__LayerCompositer, 0 |  0 );
    5727           0 :     if (!SWIG_IsOK(res1)) {
    5728           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayerCompositer_filter_get" "', argument " "1"" of type '" "struct _LayerCompositer *""'"); 
    5729             :     }
    5730           0 :     arg1 = (struct _LayerCompositer *)(argp1);
    5731           0 :     result = (CompositingFilter *) ((arg1)->filter);
    5732           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__CompositingFilter, 0 | SWIG_SHADOW); argvi++ ;
    5733             :     
    5734           0 :     XSRETURN(argvi);
    5735           0 :   fail:
    5736             :     
    5737           0 :     SWIG_croak_null();
    5738             :   }
    5739             : }
    5740             : 
    5741             : 
    5742           0 : XS(_wrap_LayerCompositer_next_set) {
    5743             :   {
    5744             :     struct _LayerCompositer *arg1 = (struct _LayerCompositer *) 0 ;
    5745             :     struct _LayerCompositer *arg2 = (struct _LayerCompositer *) 0 ;
    5746           0 :     void *argp1 = 0 ;
    5747             :     int res1 = 0 ;
    5748           0 :     void *argp2 = 0 ;
    5749             :     int res2 = 0 ;
    5750             :     int argvi = 0;
    5751           0 :     dXSARGS;
    5752             :     
    5753           0 :     if ((items < 2) || (items > 2)) {
    5754           0 :       SWIG_croak("Usage: LayerCompositer_next_set(self,next);");
    5755             :     }
    5756           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__LayerCompositer, 0 |  0 );
    5757           0 :     if (!SWIG_IsOK(res1)) {
    5758           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayerCompositer_next_set" "', argument " "1"" of type '" "struct _LayerCompositer *""'"); 
    5759             :     }
    5760           0 :     arg1 = (struct _LayerCompositer *)(argp1);
    5761           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p__LayerCompositer, SWIG_POINTER_DISOWN |  0 );
    5762           0 :     if (!SWIG_IsOK(res2)) {
    5763           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LayerCompositer_next_set" "', argument " "2"" of type '" "struct _LayerCompositer *""'"); 
    5764             :     }
    5765           0 :     arg2 = (struct _LayerCompositer *)(argp2);
    5766           0 :     if (arg1) (arg1)->next = arg2;
    5767           0 :     ST(argvi) = sv_newmortal();
    5768             :     
    5769             :     
    5770           0 :     XSRETURN(argvi);
    5771           0 :   fail:
    5772             :     
    5773             :     
    5774           0 :     SWIG_croak_null();
    5775             :   }
    5776             : }
    5777             : 
    5778             : 
    5779           0 : XS(_wrap_LayerCompositer_next_get) {
    5780             :   {
    5781             :     struct _LayerCompositer *arg1 = (struct _LayerCompositer *) 0 ;
    5782           0 :     void *argp1 = 0 ;
    5783             :     int res1 = 0 ;
    5784             :     int argvi = 0;
    5785             :     struct _LayerCompositer *result = 0 ;
    5786           0 :     dXSARGS;
    5787             :     
    5788           0 :     if ((items < 1) || (items > 1)) {
    5789           0 :       SWIG_croak("Usage: LayerCompositer_next_get(self);");
    5790             :     }
    5791           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__LayerCompositer, 0 |  0 );
    5792           0 :     if (!SWIG_IsOK(res1)) {
    5793           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LayerCompositer_next_get" "', argument " "1"" of type '" "struct _LayerCompositer *""'"); 
    5794             :     }
    5795           0 :     arg1 = (struct _LayerCompositer *)(argp1);
    5796           0 :     result = (struct _LayerCompositer *) ((arg1)->next);
    5797           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__LayerCompositer, 0 | SWIG_SHADOW); argvi++ ;
    5798             :     
    5799           0 :     XSRETURN(argvi);
    5800           0 :   fail:
    5801             :     
    5802           0 :     SWIG_croak_null();
    5803             :   }
    5804             : }
    5805             : 
    5806             : 
    5807           0 : XS(_wrap_new_LayerCompositer) {
    5808             :   {
    5809             :     int argvi = 0;
    5810             :     struct _LayerCompositer *result = 0 ;
    5811           0 :     dXSARGS;
    5812             :     
    5813           0 :     if ((items < 0) || (items > 0)) {
    5814           0 :       SWIG_croak("Usage: new_LayerCompositer();");
    5815             :     }
    5816           0 :     result = (struct _LayerCompositer *)calloc(1, sizeof(struct _LayerCompositer));
    5817           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__LayerCompositer, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    5818           0 :     XSRETURN(argvi);
    5819             :   fail:
    5820           0 :     SWIG_croak_null();
    5821             :   }
    5822             : }
    5823             : 
    5824             : 
    5825           0 : XS(_wrap_delete_LayerCompositer) {
    5826             :   {
    5827             :     struct _LayerCompositer *arg1 = (struct _LayerCompositer *) 0 ;
    5828           0 :     void *argp1 = 0 ;
    5829             :     int res1 = 0 ;
    5830             :     int argvi = 0;
    5831           0 :     dXSARGS;
    5832             :     
    5833           0 :     if ((items < 1) || (items > 1)) {
    5834           0 :       SWIG_croak("Usage: delete_LayerCompositer(self);");
    5835             :     }
    5836           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p__LayerCompositer, SWIG_POINTER_DISOWN |  0 );
    5837           0 :     if (!SWIG_IsOK(res1)) {
    5838           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_LayerCompositer" "', argument " "1"" of type '" "struct _LayerCompositer *""'"); 
    5839             :     }
    5840           0 :     arg1 = (struct _LayerCompositer *)(argp1);
    5841           0 :     free((char *) arg1);
    5842           0 :     ST(argvi) = sv_newmortal();
    5843             :     
    5844           0 :     XSRETURN(argvi);
    5845           0 :   fail:
    5846             :     
    5847           0 :     SWIG_croak_null();
    5848             :   }
    5849             : }
    5850             : 
    5851             : 
    5852           0 : XS(_wrap_fontSetObj_filename_get) {
    5853             :   {
    5854             :     fontSetObj *arg1 = (fontSetObj *) 0 ;
    5855           0 :     void *argp1 = 0 ;
    5856             :     int res1 = 0 ;
    5857             :     int argvi = 0;
    5858             :     char *result = 0 ;
    5859           0 :     dXSARGS;
    5860             :     
    5861           0 :     if ((items < 1) || (items > 1)) {
    5862           0 :       SWIG_croak("Usage: fontSetObj_filename_get(self);");
    5863             :     }
    5864           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_fontSetObj, 0 |  0 );
    5865           0 :     if (!SWIG_IsOK(res1)) {
    5866           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fontSetObj_filename_get" "', argument " "1"" of type '" "fontSetObj *""'"); 
    5867             :     }
    5868           0 :     arg1 = (fontSetObj *)(argp1);
    5869           0 :     result = (char *) ((arg1)->filename);
    5870           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
    5871             :     
    5872           0 :     XSRETURN(argvi);
    5873           0 :   fail:
    5874             :     
    5875           0 :     SWIG_croak_null();
    5876             :   }
    5877             : }
    5878             : 
    5879             : 
    5880           0 : XS(_wrap_fontSetObj_numfonts_get) {
    5881             :   {
    5882             :     fontSetObj *arg1 = (fontSetObj *) 0 ;
    5883           0 :     void *argp1 = 0 ;
    5884             :     int res1 = 0 ;
    5885             :     int argvi = 0;
    5886             :     int result;
    5887           0 :     dXSARGS;
    5888             :     
    5889           0 :     if ((items < 1) || (items > 1)) {
    5890           0 :       SWIG_croak("Usage: fontSetObj_numfonts_get(self);");
    5891             :     }
    5892           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_fontSetObj, 0 |  0 );
    5893           0 :     if (!SWIG_IsOK(res1)) {
    5894           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fontSetObj_numfonts_get" "', argument " "1"" of type '" "fontSetObj *""'"); 
    5895             :     }
    5896           0 :     arg1 = (fontSetObj *)(argp1);
    5897           0 :     result = (int) ((arg1)->numfonts);
    5898           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
    5899             :     
    5900           0 :     XSRETURN(argvi);
    5901           0 :   fail:
    5902             :     
    5903           0 :     SWIG_croak_null();
    5904             :   }
    5905             : }
    5906             : 
    5907             : 
    5908           0 : XS(_wrap_fontSetObj_fonts_get) {
    5909             :   {
    5910             :     fontSetObj *arg1 = (fontSetObj *) 0 ;
    5911           0 :     void *argp1 = 0 ;
    5912             :     int res1 = 0 ;
    5913             :     int argvi = 0;
    5914             :     hashTableObj *result = 0 ;
    5915           0 :     dXSARGS;
    5916             :     
    5917           0 :     if ((items < 1) || (items > 1)) {
    5918           0 :       SWIG_croak("Usage: fontSetObj_fonts_get(self);");
    5919             :     }
    5920           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_fontSetObj, 0 |  0 );
    5921           0 :     if (!SWIG_IsOK(res1)) {
    5922           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "fontSetObj_fonts_get" "', argument " "1"" of type '" "fontSetObj *""'"); 
    5923             :     }
    5924           0 :     arg1 = (fontSetObj *)(argp1);
    5925           0 :     result = (hashTableObj *)& ((arg1)->fonts);
    5926           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_hashTableObj, 0 | SWIG_SHADOW); argvi++ ;
    5927             :     
    5928           0 :     XSRETURN(argvi);
    5929           0 :   fail:
    5930             :     
    5931           0 :     SWIG_croak_null();
    5932             :   }
    5933             : }
    5934             : 
    5935             : 
    5936           0 : XS(_wrap_new_fontSetObj) {
    5937             :   {
    5938             :     int argvi = 0;
    5939             :     fontSetObj *result = 0 ;
    5940           0 :     dXSARGS;
    5941             :     
    5942           0 :     if ((items < 0) || (items > 0)) {
    5943           0 :       SWIG_croak("Usage: new_fontSetObj();");
    5944             :     }
    5945           0 :     result = (fontSetObj *)calloc(1, sizeof(fontSetObj));
    5946           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_fontSetObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    5947           0 :     XSRETURN(argvi);
    5948             :   fail:
    5949           0 :     SWIG_croak_null();
    5950             :   }
    5951             : }
    5952             : 
    5953             : 
    5954           0 : XS(_wrap_delete_fontSetObj) {
    5955             :   {
    5956             :     fontSetObj *arg1 = (fontSetObj *) 0 ;
    5957           0 :     void *argp1 = 0 ;
    5958             :     int res1 = 0 ;
    5959             :     int argvi = 0;
    5960           0 :     dXSARGS;
    5961             :     
    5962           0 :     if ((items < 1) || (items > 1)) {
    5963           0 :       SWIG_croak("Usage: delete_fontSetObj(self);");
    5964             :     }
    5965           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_fontSetObj, SWIG_POINTER_DISOWN |  0 );
    5966           0 :     if (!SWIG_IsOK(res1)) {
    5967           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_fontSetObj" "', argument " "1"" of type '" "fontSetObj *""'"); 
    5968             :     }
    5969           0 :     arg1 = (fontSetObj *)(argp1);
    5970           0 :     free((char *) arg1);
    5971           0 :     ST(argvi) = sv_newmortal();
    5972             :     
    5973           0 :     XSRETURN(argvi);
    5974           0 :   fail:
    5975             :     
    5976           0 :     SWIG_croak_null();
    5977             :   }
    5978             : }
    5979             : 
    5980             : 
    5981           0 : XS(_wrap_clusterObj_maxdistance_set) {
    5982             :   {
    5983             :     clusterObj *arg1 = (clusterObj *) 0 ;
    5984             :     double arg2 ;
    5985           0 :     void *argp1 = 0 ;
    5986             :     int res1 = 0 ;
    5987             :     double val2 ;
    5988             :     int ecode2 = 0 ;
    5989             :     int argvi = 0;
    5990           0 :     dXSARGS;
    5991             :     
    5992           0 :     if ((items < 2) || (items > 2)) {
    5993           0 :       SWIG_croak("Usage: clusterObj_maxdistance_set(self,maxdistance);");
    5994             :     }
    5995           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_clusterObj, 0 |  0 );
    5996           0 :     if (!SWIG_IsOK(res1)) {
    5997           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "clusterObj_maxdistance_set" "', argument " "1"" of type '" "clusterObj *""'"); 
    5998             :     }
    5999           0 :     arg1 = (clusterObj *)(argp1);
    6000           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    6001           0 :     if (!SWIG_IsOK(ecode2)) {
    6002           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "clusterObj_maxdistance_set" "', argument " "2"" of type '" "double""'");
    6003             :     } 
    6004           0 :     arg2 = (double)(val2);
    6005           0 :     if (arg1) (arg1)->maxdistance = arg2;
    6006           0 :     ST(argvi) = sv_newmortal();
    6007             :     
    6008             :     
    6009           0 :     XSRETURN(argvi);
    6010           0 :   fail:
    6011             :     
    6012             :     
    6013           0 :     SWIG_croak_null();
    6014             :   }
    6015             : }
    6016             : 
    6017             : 
    6018           0 : XS(_wrap_clusterObj_maxdistance_get) {
    6019             :   {
    6020             :     clusterObj *arg1 = (clusterObj *) 0 ;
    6021           0 :     void *argp1 = 0 ;
    6022             :     int res1 = 0 ;
    6023             :     int argvi = 0;
    6024             :     double result;
    6025           0 :     dXSARGS;
    6026             :     
    6027           0 :     if ((items < 1) || (items > 1)) {
    6028           0 :       SWIG_croak("Usage: clusterObj_maxdistance_get(self);");
    6029             :     }
    6030           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_clusterObj, 0 |  0 );
    6031           0 :     if (!SWIG_IsOK(res1)) {
    6032           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "clusterObj_maxdistance_get" "', argument " "1"" of type '" "clusterObj *""'"); 
    6033             :     }
    6034           0 :     arg1 = (clusterObj *)(argp1);
    6035           0 :     result = (double) ((arg1)->maxdistance);
    6036           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
    6037             :     
    6038           0 :     XSRETURN(argvi);
    6039           0 :   fail:
    6040             :     
    6041           0 :     SWIG_croak_null();
    6042             :   }
    6043             : }
    6044             : 
    6045             : 
    6046           0 : XS(_wrap_clusterObj_buffer_set) {
    6047             :   {
    6048             :     clusterObj *arg1 = (clusterObj *) 0 ;
    6049             :     double arg2 ;
    6050           0 :     void *argp1 = 0 ;
    6051             :     int res1 = 0 ;
    6052             :     double val2 ;
    6053             :     int ecode2 = 0 ;
    6054             :     int argvi = 0;
    6055           0 :     dXSARGS;
    6056             :     
    6057           0 :     if ((items < 2) || (items > 2)) {
    6058           0 :       SWIG_croak("Usage: clusterObj_buffer_set(self,buffer);");
    6059             :     }
    6060           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_clusterObj, 0 |  0 );
    6061           0 :     if (!SWIG_IsOK(res1)) {
    6062           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "clusterObj_buffer_set" "', argument " "1"" of type '" "clusterObj *""'"); 
    6063             :     }
    6064           0 :     arg1 = (clusterObj *)(argp1);
    6065           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    6066           0 :     if (!SWIG_IsOK(ecode2)) {
    6067           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "clusterObj_buffer_set" "', argument " "2"" of type '" "double""'");
    6068             :     } 
    6069           0 :     arg2 = (double)(val2);
    6070           0 :     if (arg1) (arg1)->buffer = arg2;
    6071           0 :     ST(argvi) = sv_newmortal();
    6072             :     
    6073             :     
    6074           0 :     XSRETURN(argvi);
    6075           0 :   fail:
    6076             :     
    6077             :     
    6078           0 :     SWIG_croak_null();
    6079             :   }
    6080             : }
    6081             : 
    6082             : 
    6083           0 : XS(_wrap_clusterObj_buffer_get) {
    6084             :   {
    6085             :     clusterObj *arg1 = (clusterObj *) 0 ;
    6086           0 :     void *argp1 = 0 ;
    6087             :     int res1 = 0 ;
    6088             :     int argvi = 0;
    6089             :     double result;
    6090           0 :     dXSARGS;
    6091             :     
    6092           0 :     if ((items < 1) || (items > 1)) {
    6093           0 :       SWIG_croak("Usage: clusterObj_buffer_get(self);");
    6094             :     }
    6095           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_clusterObj, 0 |  0 );
    6096           0 :     if (!SWIG_IsOK(res1)) {
    6097           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "clusterObj_buffer_get" "', argument " "1"" of type '" "clusterObj *""'"); 
    6098             :     }
    6099           0 :     arg1 = (clusterObj *)(argp1);
    6100           0 :     result = (double) ((arg1)->buffer);
    6101           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
    6102             :     
    6103           0 :     XSRETURN(argvi);
    6104           0 :   fail:
    6105             :     
    6106           0 :     SWIG_croak_null();
    6107             :   }
    6108             : }
    6109             : 
    6110             : 
    6111           0 : XS(_wrap_clusterObj_region_set) {
    6112             :   {
    6113             :     clusterObj *arg1 = (clusterObj *) 0 ;
    6114             :     char *arg2 = (char *) 0 ;
    6115           0 :     void *argp1 = 0 ;
    6116             :     int res1 = 0 ;
    6117             :     int res2 ;
    6118           0 :     char *buf2 = 0 ;
    6119           0 :     int alloc2 = 0 ;
    6120             :     int argvi = 0;
    6121           0 :     dXSARGS;
    6122             :     
    6123           0 :     if ((items < 2) || (items > 2)) {
    6124           0 :       SWIG_croak("Usage: clusterObj_region_set(self,region);");
    6125             :     }
    6126           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_clusterObj, 0 |  0 );
    6127           0 :     if (!SWIG_IsOK(res1)) {
    6128           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "clusterObj_region_set" "', argument " "1"" of type '" "clusterObj *""'"); 
    6129             :     }
    6130           0 :     arg1 = (clusterObj *)(argp1);
    6131           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    6132           0 :     if (!SWIG_IsOK(res2)) {
    6133           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "clusterObj_region_set" "', argument " "2"" of type '" "char *""'");
    6134             :     }
    6135           0 :     arg2 = (char *)(buf2);
    6136             :     {
    6137           0 :       if (arg1->region) free((char*)arg1->region);
    6138           0 :       if (arg2) {
    6139           0 :         arg1->region = (char *) malloc(strlen(arg2)+1);
    6140             :         strcpy((char*)arg1->region,arg2);
    6141             :       } else {
    6142           0 :         arg1->region = 0;
    6143             :       }
    6144             :     }
    6145           0 :     ST(argvi) = sv_newmortal();
    6146             :     
    6147           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    6148           0 :     XSRETURN(argvi);
    6149           0 :   fail:
    6150             :     
    6151           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    6152           0 :     SWIG_croak_null();
    6153             :   }
    6154             : }
    6155             : 
    6156             : 
    6157           0 : XS(_wrap_clusterObj_region_get) {
    6158             :   {
    6159             :     clusterObj *arg1 = (clusterObj *) 0 ;
    6160           0 :     void *argp1 = 0 ;
    6161             :     int res1 = 0 ;
    6162             :     int argvi = 0;
    6163             :     char *result = 0 ;
    6164           0 :     dXSARGS;
    6165             :     
    6166           0 :     if ((items < 1) || (items > 1)) {
    6167           0 :       SWIG_croak("Usage: clusterObj_region_get(self);");
    6168             :     }
    6169           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_clusterObj, 0 |  0 );
    6170           0 :     if (!SWIG_IsOK(res1)) {
    6171           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "clusterObj_region_get" "', argument " "1"" of type '" "clusterObj *""'"); 
    6172             :     }
    6173           0 :     arg1 = (clusterObj *)(argp1);
    6174           0 :     result = (char *) ((arg1)->region);
    6175           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
    6176             :     
    6177           0 :     XSRETURN(argvi);
    6178           0 :   fail:
    6179             :     
    6180           0 :     SWIG_croak_null();
    6181             :   }
    6182             : }
    6183             : 
    6184             : 
    6185           0 : XS(_wrap_clusterObj_updateFromString) {
    6186             :   {
    6187             :     clusterObj *arg1 = (clusterObj *) 0 ;
    6188             :     char *arg2 = (char *) 0 ;
    6189           0 :     void *argp1 = 0 ;
    6190             :     int res1 = 0 ;
    6191             :     int res2 ;
    6192           0 :     char *buf2 = 0 ;
    6193           0 :     int alloc2 = 0 ;
    6194             :     int argvi = 0;
    6195             :     int result;
    6196           0 :     dXSARGS;
    6197             :     
    6198           0 :     if ((items < 2) || (items > 2)) {
    6199           0 :       SWIG_croak("Usage: clusterObj_updateFromString(self,snippet);");
    6200             :     }
    6201           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_clusterObj, 0 |  0 );
    6202           0 :     if (!SWIG_IsOK(res1)) {
    6203           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "clusterObj_updateFromString" "', argument " "1"" of type '" "clusterObj *""'"); 
    6204             :     }
    6205           0 :     arg1 = (clusterObj *)(argp1);
    6206           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    6207           0 :     if (!SWIG_IsOK(res2)) {
    6208           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "clusterObj_updateFromString" "', argument " "2"" of type '" "char *""'");
    6209             :     }
    6210           0 :     arg2 = (char *)(buf2);
    6211             :     result = (int)clusterObj_updateFromString(arg1,arg2);
    6212           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
    6213             :     
    6214           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    6215           0 :     XSRETURN(argvi);
    6216           0 :   fail:
    6217             :     
    6218           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    6219           0 :     SWIG_croak_null();
    6220             :   }
    6221             : }
    6222             : 
    6223             : 
    6224           0 : XS(_wrap_clusterObj_convertToString) {
    6225             :   {
    6226             :     clusterObj *arg1 = (clusterObj *) 0 ;
    6227           0 :     void *argp1 = 0 ;
    6228             :     int res1 = 0 ;
    6229             :     int argvi = 0;
    6230             :     char *result = 0 ;
    6231           0 :     dXSARGS;
    6232             :     
    6233           0 :     if ((items < 1) || (items > 1)) {
    6234           0 :       SWIG_croak("Usage: clusterObj_convertToString(self);");
    6235             :     }
    6236           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_clusterObj, 0 |  0 );
    6237           0 :     if (!SWIG_IsOK(res1)) {
    6238           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "clusterObj_convertToString" "', argument " "1"" of type '" "clusterObj *""'"); 
    6239             :     }
    6240           0 :     arg1 = (clusterObj *)(argp1);
    6241             :     result = (char *)clusterObj_convertToString(arg1);
    6242           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
    6243             :     
    6244           0 :     free((char*)result);
    6245           0 :     XSRETURN(argvi);
    6246           0 :   fail:
    6247             :     
    6248           0 :     SWIG_croak_null();
    6249             :   }
    6250             : }
    6251             : 
    6252             : 
    6253           0 : XS(_wrap_clusterObj_setGroup) {
    6254             :   {
    6255             :     clusterObj *arg1 = (clusterObj *) 0 ;
    6256             :     char *arg2 = (char *) 0 ;
    6257           0 :     void *argp1 = 0 ;
    6258             :     int res1 = 0 ;
    6259             :     int res2 ;
    6260           0 :     char *buf2 = 0 ;
    6261           0 :     int alloc2 = 0 ;
    6262             :     int argvi = 0;
    6263             :     int result;
    6264           0 :     dXSARGS;
    6265             :     
    6266           0 :     if ((items < 2) || (items > 2)) {
    6267           0 :       SWIG_croak("Usage: clusterObj_setGroup(self,group);");
    6268             :     }
    6269           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_clusterObj, 0 |  0 );
    6270           0 :     if (!SWIG_IsOK(res1)) {
    6271           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "clusterObj_setGroup" "', argument " "1"" of type '" "clusterObj *""'"); 
    6272             :     }
    6273           0 :     arg1 = (clusterObj *)(argp1);
    6274           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    6275           0 :     if (!SWIG_IsOK(res2)) {
    6276           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "clusterObj_setGroup" "', argument " "2"" of type '" "char *""'");
    6277             :     }
    6278           0 :     arg2 = (char *)(buf2);
    6279           0 :     result = (int)clusterObj_setGroup(arg1,arg2);
    6280           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
    6281             :     
    6282           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    6283           0 :     XSRETURN(argvi);
    6284           0 :   fail:
    6285             :     
    6286           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    6287           0 :     SWIG_croak_null();
    6288             :   }
    6289             : }
    6290             : 
    6291             : 
    6292           0 : XS(_wrap_clusterObj_getGroupString) {
    6293             :   {
    6294             :     clusterObj *arg1 = (clusterObj *) 0 ;
    6295           0 :     void *argp1 = 0 ;
    6296             :     int res1 = 0 ;
    6297             :     int argvi = 0;
    6298             :     char *result = 0 ;
    6299           0 :     dXSARGS;
    6300             :     
    6301           0 :     if ((items < 1) || (items > 1)) {
    6302           0 :       SWIG_croak("Usage: clusterObj_getGroupString(self);");
    6303             :     }
    6304           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_clusterObj, 0 |  0 );
    6305           0 :     if (!SWIG_IsOK(res1)) {
    6306           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "clusterObj_getGroupString" "', argument " "1"" of type '" "clusterObj *""'"); 
    6307             :     }
    6308           0 :     arg1 = (clusterObj *)(argp1);
    6309             :     result = (char *)clusterObj_getGroupString(arg1);
    6310           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
    6311             :     
    6312           0 :     free((char*)result);
    6313           0 :     XSRETURN(argvi);
    6314           0 :   fail:
    6315             :     
    6316           0 :     SWIG_croak_null();
    6317             :   }
    6318             : }
    6319             : 
    6320             : 
    6321           0 : XS(_wrap_clusterObj_setFilter) {
    6322             :   {
    6323             :     clusterObj *arg1 = (clusterObj *) 0 ;
    6324             :     char *arg2 = (char *) 0 ;
    6325           0 :     void *argp1 = 0 ;
    6326             :     int res1 = 0 ;
    6327             :     int res2 ;
    6328           0 :     char *buf2 = 0 ;
    6329           0 :     int alloc2 = 0 ;
    6330             :     int argvi = 0;
    6331             :     int result;
    6332           0 :     dXSARGS;
    6333             :     
    6334           0 :     if ((items < 2) || (items > 2)) {
    6335           0 :       SWIG_croak("Usage: clusterObj_setFilter(self,filter);");
    6336             :     }
    6337           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_clusterObj, 0 |  0 );
    6338           0 :     if (!SWIG_IsOK(res1)) {
    6339           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "clusterObj_setFilter" "', argument " "1"" of type '" "clusterObj *""'"); 
    6340             :     }
    6341           0 :     arg1 = (clusterObj *)(argp1);
    6342           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    6343           0 :     if (!SWIG_IsOK(res2)) {
    6344           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "clusterObj_setFilter" "', argument " "2"" of type '" "char *""'");
    6345             :     }
    6346           0 :     arg2 = (char *)(buf2);
    6347           0 :     result = (int)clusterObj_setFilter(arg1,arg2);
    6348           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
    6349             :     
    6350           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    6351           0 :     XSRETURN(argvi);
    6352           0 :   fail:
    6353             :     
    6354           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    6355           0 :     SWIG_croak_null();
    6356             :   }
    6357             : }
    6358             : 
    6359             : 
    6360           0 : XS(_wrap_clusterObj_getFilterString) {
    6361             :   {
    6362             :     clusterObj *arg1 = (clusterObj *) 0 ;
    6363           0 :     void *argp1 = 0 ;
    6364             :     int res1 = 0 ;
    6365             :     int argvi = 0;
    6366             :     char *result = 0 ;
    6367           0 :     dXSARGS;
    6368             :     
    6369           0 :     if ((items < 1) || (items > 1)) {
    6370           0 :       SWIG_croak("Usage: clusterObj_getFilterString(self);");
    6371             :     }
    6372           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_clusterObj, 0 |  0 );
    6373           0 :     if (!SWIG_IsOK(res1)) {
    6374           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "clusterObj_getFilterString" "', argument " "1"" of type '" "clusterObj *""'"); 
    6375             :     }
    6376           0 :     arg1 = (clusterObj *)(argp1);
    6377             :     result = (char *)clusterObj_getFilterString(arg1);
    6378           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
    6379             :     
    6380           0 :     free((char*)result);
    6381           0 :     XSRETURN(argvi);
    6382           0 :   fail:
    6383             :     
    6384           0 :     SWIG_croak_null();
    6385             :   }
    6386             : }
    6387             : 
    6388             : 
    6389           0 : XS(_wrap_new_clusterObj) {
    6390             :   {
    6391             :     int argvi = 0;
    6392             :     clusterObj *result = 0 ;
    6393           0 :     dXSARGS;
    6394             :     
    6395           0 :     if ((items < 0) || (items > 0)) {
    6396           0 :       SWIG_croak("Usage: new_clusterObj();");
    6397             :     }
    6398           0 :     result = (clusterObj *)calloc(1, sizeof(clusterObj));
    6399           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_clusterObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    6400           0 :     XSRETURN(argvi);
    6401             :   fail:
    6402           0 :     SWIG_croak_null();
    6403             :   }
    6404             : }
    6405             : 
    6406             : 
    6407           0 : XS(_wrap_delete_clusterObj) {
    6408             :   {
    6409             :     clusterObj *arg1 = (clusterObj *) 0 ;
    6410           0 :     void *argp1 = 0 ;
    6411             :     int res1 = 0 ;
    6412             :     int argvi = 0;
    6413           0 :     dXSARGS;
    6414             :     
    6415           0 :     if ((items < 1) || (items > 1)) {
    6416           0 :       SWIG_croak("Usage: delete_clusterObj(self);");
    6417             :     }
    6418           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_clusterObj, SWIG_POINTER_DISOWN |  0 );
    6419           0 :     if (!SWIG_IsOK(res1)) {
    6420           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_clusterObj" "', argument " "1"" of type '" "clusterObj *""'"); 
    6421             :     }
    6422           0 :     arg1 = (clusterObj *)(argp1);
    6423           0 :     free((char *) arg1);
    6424           0 :     ST(argvi) = sv_newmortal();
    6425             :     
    6426           0 :     XSRETURN(argvi);
    6427           0 :   fail:
    6428             :     
    6429           0 :     SWIG_croak_null();
    6430             :   }
    6431             : }
    6432             : 
    6433             : 
    6434           0 : XS(_wrap_outputFormatObj_numformatoptions_get) {
    6435             :   {
    6436             :     outputFormatObj *arg1 = (outputFormatObj *) 0 ;
    6437           0 :     void *argp1 = 0 ;
    6438             :     int res1 = 0 ;
    6439             :     int argvi = 0;
    6440             :     int result;
    6441           0 :     dXSARGS;
    6442             :     
    6443           0 :     if ((items < 1) || (items > 1)) {
    6444           0 :       SWIG_croak("Usage: outputFormatObj_numformatoptions_get(self);");
    6445             :     }
    6446           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 |  0 );
    6447           0 :     if (!SWIG_IsOK(res1)) {
    6448           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_numformatoptions_get" "', argument " "1"" of type '" "outputFormatObj *""'"); 
    6449             :     }
    6450           0 :     arg1 = (outputFormatObj *)(argp1);
    6451           0 :     result = (int) ((arg1)->numformatoptions);
    6452           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
    6453             :     
    6454           0 :     XSRETURN(argvi);
    6455           0 :   fail:
    6456             :     
    6457           0 :     SWIG_croak_null();
    6458             :   }
    6459             : }
    6460             : 
    6461             : 
    6462           0 : XS(_wrap_outputFormatObj_name_set) {
    6463             :   {
    6464             :     outputFormatObj *arg1 = (outputFormatObj *) 0 ;
    6465             :     char *arg2 = (char *) 0 ;
    6466           0 :     void *argp1 = 0 ;
    6467             :     int res1 = 0 ;
    6468             :     int res2 ;
    6469           0 :     char *buf2 = 0 ;
    6470           0 :     int alloc2 = 0 ;
    6471             :     int argvi = 0;
    6472           0 :     dXSARGS;
    6473             :     
    6474           0 :     if ((items < 2) || (items > 2)) {
    6475           0 :       SWIG_croak("Usage: outputFormatObj_name_set(self,name);");
    6476             :     }
    6477           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 |  0 );
    6478           0 :     if (!SWIG_IsOK(res1)) {
    6479           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_name_set" "', argument " "1"" of type '" "outputFormatObj *""'"); 
    6480             :     }
    6481           0 :     arg1 = (outputFormatObj *)(argp1);
    6482           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    6483           0 :     if (!SWIG_IsOK(res2)) {
    6484           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "outputFormatObj_name_set" "', argument " "2"" of type '" "char *""'");
    6485             :     }
    6486           0 :     arg2 = (char *)(buf2);
    6487             :     {
    6488           0 :       if (arg1->name) free((char*)arg1->name);
    6489           0 :       if (arg2) {
    6490           0 :         arg1->name = (char *) malloc(strlen(arg2)+1);
    6491             :         strcpy((char*)arg1->name,arg2);
    6492             :       } else {
    6493           0 :         arg1->name = 0;
    6494             :       }
    6495             :     }
    6496           0 :     ST(argvi) = sv_newmortal();
    6497             :     
    6498           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    6499           0 :     XSRETURN(argvi);
    6500           0 :   fail:
    6501             :     
    6502           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    6503           0 :     SWIG_croak_null();
    6504             :   }
    6505             : }
    6506             : 
    6507             : 
    6508           0 : XS(_wrap_outputFormatObj_name_get) {
    6509             :   {
    6510             :     outputFormatObj *arg1 = (outputFormatObj *) 0 ;
    6511           0 :     void *argp1 = 0 ;
    6512             :     int res1 = 0 ;
    6513             :     int argvi = 0;
    6514             :     char *result = 0 ;
    6515           0 :     dXSARGS;
    6516             :     
    6517           0 :     if ((items < 1) || (items > 1)) {
    6518           0 :       SWIG_croak("Usage: outputFormatObj_name_get(self);");
    6519             :     }
    6520           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 |  0 );
    6521           0 :     if (!SWIG_IsOK(res1)) {
    6522           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_name_get" "', argument " "1"" of type '" "outputFormatObj *""'"); 
    6523             :     }
    6524           0 :     arg1 = (outputFormatObj *)(argp1);
    6525           0 :     result = (char *) ((arg1)->name);
    6526           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
    6527             :     
    6528           0 :     XSRETURN(argvi);
    6529           0 :   fail:
    6530             :     
    6531           0 :     SWIG_croak_null();
    6532             :   }
    6533             : }
    6534             : 
    6535             : 
    6536           0 : XS(_wrap_outputFormatObj_mimetype_set) {
    6537             :   {
    6538             :     outputFormatObj *arg1 = (outputFormatObj *) 0 ;
    6539             :     char *arg2 = (char *) 0 ;
    6540           0 :     void *argp1 = 0 ;
    6541             :     int res1 = 0 ;
    6542             :     int res2 ;
    6543           0 :     char *buf2 = 0 ;
    6544           0 :     int alloc2 = 0 ;
    6545             :     int argvi = 0;
    6546           0 :     dXSARGS;
    6547             :     
    6548           0 :     if ((items < 2) || (items > 2)) {
    6549           0 :       SWIG_croak("Usage: outputFormatObj_mimetype_set(self,mimetype);");
    6550             :     }
    6551           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 |  0 );
    6552           0 :     if (!SWIG_IsOK(res1)) {
    6553           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_mimetype_set" "', argument " "1"" of type '" "outputFormatObj *""'"); 
    6554             :     }
    6555           0 :     arg1 = (outputFormatObj *)(argp1);
    6556           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    6557           0 :     if (!SWIG_IsOK(res2)) {
    6558           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "outputFormatObj_mimetype_set" "', argument " "2"" of type '" "char *""'");
    6559             :     }
    6560           0 :     arg2 = (char *)(buf2);
    6561             :     {
    6562           0 :       if (arg1->mimetype) free((char*)arg1->mimetype);
    6563           0 :       if (arg2) {
    6564           0 :         arg1->mimetype = (char *) malloc(strlen(arg2)+1);
    6565             :         strcpy((char*)arg1->mimetype,arg2);
    6566             :       } else {
    6567           0 :         arg1->mimetype = 0;
    6568             :       }
    6569             :     }
    6570           0 :     ST(argvi) = sv_newmortal();
    6571             :     
    6572           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    6573           0 :     XSRETURN(argvi);
    6574           0 :   fail:
    6575             :     
    6576           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    6577           0 :     SWIG_croak_null();
    6578             :   }
    6579             : }
    6580             : 
    6581             : 
    6582           0 : XS(_wrap_outputFormatObj_mimetype_get) {
    6583             :   {
    6584             :     outputFormatObj *arg1 = (outputFormatObj *) 0 ;
    6585           0 :     void *argp1 = 0 ;
    6586             :     int res1 = 0 ;
    6587             :     int argvi = 0;
    6588             :     char *result = 0 ;
    6589           0 :     dXSARGS;
    6590             :     
    6591           0 :     if ((items < 1) || (items > 1)) {
    6592           0 :       SWIG_croak("Usage: outputFormatObj_mimetype_get(self);");
    6593             :     }
    6594           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 |  0 );
    6595           0 :     if (!SWIG_IsOK(res1)) {
    6596           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_mimetype_get" "', argument " "1"" of type '" "outputFormatObj *""'"); 
    6597             :     }
    6598           0 :     arg1 = (outputFormatObj *)(argp1);
    6599           0 :     result = (char *) ((arg1)->mimetype);
    6600           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
    6601             :     
    6602           0 :     XSRETURN(argvi);
    6603           0 :   fail:
    6604             :     
    6605           0 :     SWIG_croak_null();
    6606             :   }
    6607             : }
    6608             : 
    6609             : 
    6610           0 : XS(_wrap_outputFormatObj_driver_set) {
    6611             :   {
    6612             :     outputFormatObj *arg1 = (outputFormatObj *) 0 ;
    6613             :     char *arg2 = (char *) 0 ;
    6614           0 :     void *argp1 = 0 ;
    6615             :     int res1 = 0 ;
    6616             :     int res2 ;
    6617           0 :     char *buf2 = 0 ;
    6618           0 :     int alloc2 = 0 ;
    6619             :     int argvi = 0;
    6620           0 :     dXSARGS;
    6621             :     
    6622           0 :     if ((items < 2) || (items > 2)) {
    6623           0 :       SWIG_croak("Usage: outputFormatObj_driver_set(self,driver);");
    6624             :     }
    6625           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 |  0 );
    6626           0 :     if (!SWIG_IsOK(res1)) {
    6627           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_driver_set" "', argument " "1"" of type '" "outputFormatObj *""'"); 
    6628             :     }
    6629           0 :     arg1 = (outputFormatObj *)(argp1);
    6630           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    6631           0 :     if (!SWIG_IsOK(res2)) {
    6632           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "outputFormatObj_driver_set" "', argument " "2"" of type '" "char *""'");
    6633             :     }
    6634           0 :     arg2 = (char *)(buf2);
    6635             :     {
    6636           0 :       if (arg1->driver) free((char*)arg1->driver);
    6637           0 :       if (arg2) {
    6638           0 :         arg1->driver = (char *) malloc(strlen(arg2)+1);
    6639             :         strcpy((char*)arg1->driver,arg2);
    6640             :       } else {
    6641           0 :         arg1->driver = 0;
    6642             :       }
    6643             :     }
    6644           0 :     ST(argvi) = sv_newmortal();
    6645             :     
    6646           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    6647           0 :     XSRETURN(argvi);
    6648           0 :   fail:
    6649             :     
    6650           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    6651           0 :     SWIG_croak_null();
    6652             :   }
    6653             : }
    6654             : 
    6655             : 
    6656           0 : XS(_wrap_outputFormatObj_driver_get) {
    6657             :   {
    6658             :     outputFormatObj *arg1 = (outputFormatObj *) 0 ;
    6659           0 :     void *argp1 = 0 ;
    6660             :     int res1 = 0 ;
    6661             :     int argvi = 0;
    6662             :     char *result = 0 ;
    6663           0 :     dXSARGS;
    6664             :     
    6665           0 :     if ((items < 1) || (items > 1)) {
    6666           0 :       SWIG_croak("Usage: outputFormatObj_driver_get(self);");
    6667             :     }
    6668           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 |  0 );
    6669           0 :     if (!SWIG_IsOK(res1)) {
    6670           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_driver_get" "', argument " "1"" of type '" "outputFormatObj *""'"); 
    6671             :     }
    6672           0 :     arg1 = (outputFormatObj *)(argp1);
    6673           0 :     result = (char *) ((arg1)->driver);
    6674           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
    6675             :     
    6676           0 :     XSRETURN(argvi);
    6677           0 :   fail:
    6678             :     
    6679           0 :     SWIG_croak_null();
    6680             :   }
    6681             : }
    6682             : 
    6683             : 
    6684           0 : XS(_wrap_outputFormatObj_extension_set) {
    6685             :   {
    6686             :     outputFormatObj *arg1 = (outputFormatObj *) 0 ;
    6687             :     char *arg2 = (char *) 0 ;
    6688           0 :     void *argp1 = 0 ;
    6689             :     int res1 = 0 ;
    6690             :     int res2 ;
    6691           0 :     char *buf2 = 0 ;
    6692           0 :     int alloc2 = 0 ;
    6693             :     int argvi = 0;
    6694           0 :     dXSARGS;
    6695             :     
    6696           0 :     if ((items < 2) || (items > 2)) {
    6697           0 :       SWIG_croak("Usage: outputFormatObj_extension_set(self,extension);");
    6698             :     }
    6699           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 |  0 );
    6700           0 :     if (!SWIG_IsOK(res1)) {
    6701           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_extension_set" "', argument " "1"" of type '" "outputFormatObj *""'"); 
    6702             :     }
    6703           0 :     arg1 = (outputFormatObj *)(argp1);
    6704           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    6705           0 :     if (!SWIG_IsOK(res2)) {
    6706           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "outputFormatObj_extension_set" "', argument " "2"" of type '" "char *""'");
    6707             :     }
    6708           0 :     arg2 = (char *)(buf2);
    6709             :     {
    6710           0 :       if (arg1->extension) free((char*)arg1->extension);
    6711           0 :       if (arg2) {
    6712           0 :         arg1->extension = (char *) malloc(strlen(arg2)+1);
    6713             :         strcpy((char*)arg1->extension,arg2);
    6714             :       } else {
    6715           0 :         arg1->extension = 0;
    6716             :       }
    6717             :     }
    6718           0 :     ST(argvi) = sv_newmortal();
    6719             :     
    6720           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    6721           0 :     XSRETURN(argvi);
    6722           0 :   fail:
    6723             :     
    6724           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    6725           0 :     SWIG_croak_null();
    6726             :   }
    6727             : }
    6728             : 
    6729             : 
    6730           0 : XS(_wrap_outputFormatObj_extension_get) {
    6731             :   {
    6732             :     outputFormatObj *arg1 = (outputFormatObj *) 0 ;
    6733           0 :     void *argp1 = 0 ;
    6734             :     int res1 = 0 ;
    6735             :     int argvi = 0;
    6736             :     char *result = 0 ;
    6737           0 :     dXSARGS;
    6738             :     
    6739           0 :     if ((items < 1) || (items > 1)) {
    6740           0 :       SWIG_croak("Usage: outputFormatObj_extension_get(self);");
    6741             :     }
    6742           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 |  0 );
    6743           0 :     if (!SWIG_IsOK(res1)) {
    6744           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_extension_get" "', argument " "1"" of type '" "outputFormatObj *""'"); 
    6745             :     }
    6746           0 :     arg1 = (outputFormatObj *)(argp1);
    6747           0 :     result = (char *) ((arg1)->extension);
    6748           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
    6749             :     
    6750           0 :     XSRETURN(argvi);
    6751           0 :   fail:
    6752             :     
    6753           0 :     SWIG_croak_null();
    6754             :   }
    6755             : }
    6756             : 
    6757             : 
    6758           0 : XS(_wrap_outputFormatObj_renderer_set) {
    6759             :   {
    6760             :     outputFormatObj *arg1 = (outputFormatObj *) 0 ;
    6761             :     int arg2 ;
    6762           0 :     void *argp1 = 0 ;
    6763             :     int res1 = 0 ;
    6764             :     int val2 ;
    6765             :     int ecode2 = 0 ;
    6766             :     int argvi = 0;
    6767           0 :     dXSARGS;
    6768             :     
    6769           0 :     if ((items < 2) || (items > 2)) {
    6770           0 :       SWIG_croak("Usage: outputFormatObj_renderer_set(self,renderer);");
    6771             :     }
    6772           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 |  0 );
    6773           0 :     if (!SWIG_IsOK(res1)) {
    6774           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_renderer_set" "', argument " "1"" of type '" "outputFormatObj *""'"); 
    6775             :     }
    6776           0 :     arg1 = (outputFormatObj *)(argp1);
    6777           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    6778           0 :     if (!SWIG_IsOK(ecode2)) {
    6779           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "outputFormatObj_renderer_set" "', argument " "2"" of type '" "int""'");
    6780             :     } 
    6781             :     arg2 = (int)(val2);
    6782           0 :     if (arg1) (arg1)->renderer = arg2;
    6783           0 :     ST(argvi) = sv_newmortal();
    6784             :     
    6785             :     
    6786           0 :     XSRETURN(argvi);
    6787           0 :   fail:
    6788             :     
    6789             :     
    6790           0 :     SWIG_croak_null();
    6791             :   }
    6792             : }
    6793             : 
    6794             : 
    6795           0 : XS(_wrap_outputFormatObj_renderer_get) {
    6796             :   {
    6797             :     outputFormatObj *arg1 = (outputFormatObj *) 0 ;
    6798           0 :     void *argp1 = 0 ;
    6799             :     int res1 = 0 ;
    6800             :     int argvi = 0;
    6801             :     int result;
    6802           0 :     dXSARGS;
    6803             :     
    6804           0 :     if ((items < 1) || (items > 1)) {
    6805           0 :       SWIG_croak("Usage: outputFormatObj_renderer_get(self);");
    6806             :     }
    6807           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 |  0 );
    6808           0 :     if (!SWIG_IsOK(res1)) {
    6809           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_renderer_get" "', argument " "1"" of type '" "outputFormatObj *""'"); 
    6810             :     }
    6811           0 :     arg1 = (outputFormatObj *)(argp1);
    6812           0 :     result = (int) ((arg1)->renderer);
    6813           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
    6814             :     
    6815           0 :     XSRETURN(argvi);
    6816           0 :   fail:
    6817             :     
    6818           0 :     SWIG_croak_null();
    6819             :   }
    6820             : }
    6821             : 
    6822             : 
    6823           0 : XS(_wrap_outputFormatObj_imagemode_set) {
    6824             :   {
    6825             :     outputFormatObj *arg1 = (outputFormatObj *) 0 ;
    6826             :     int arg2 ;
    6827           0 :     void *argp1 = 0 ;
    6828             :     int res1 = 0 ;
    6829             :     int val2 ;
    6830             :     int ecode2 = 0 ;
    6831             :     int argvi = 0;
    6832           0 :     dXSARGS;
    6833             :     
    6834           0 :     if ((items < 2) || (items > 2)) {
    6835           0 :       SWIG_croak("Usage: outputFormatObj_imagemode_set(self,imagemode);");
    6836             :     }
    6837           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 |  0 );
    6838           0 :     if (!SWIG_IsOK(res1)) {
    6839           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_imagemode_set" "', argument " "1"" of type '" "outputFormatObj *""'"); 
    6840             :     }
    6841           0 :     arg1 = (outputFormatObj *)(argp1);
    6842           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    6843           0 :     if (!SWIG_IsOK(ecode2)) {
    6844           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "outputFormatObj_imagemode_set" "', argument " "2"" of type '" "int""'");
    6845             :     } 
    6846             :     arg2 = (int)(val2);
    6847           0 :     if (arg1) (arg1)->imagemode = arg2;
    6848           0 :     ST(argvi) = sv_newmortal();
    6849             :     
    6850             :     
    6851           0 :     XSRETURN(argvi);
    6852           0 :   fail:
    6853             :     
    6854             :     
    6855           0 :     SWIG_croak_null();
    6856             :   }
    6857             : }
    6858             : 
    6859             : 
    6860           0 : XS(_wrap_outputFormatObj_imagemode_get) {
    6861             :   {
    6862             :     outputFormatObj *arg1 = (outputFormatObj *) 0 ;
    6863           0 :     void *argp1 = 0 ;
    6864             :     int res1 = 0 ;
    6865             :     int argvi = 0;
    6866             :     int result;
    6867           0 :     dXSARGS;
    6868             :     
    6869           0 :     if ((items < 1) || (items > 1)) {
    6870           0 :       SWIG_croak("Usage: outputFormatObj_imagemode_get(self);");
    6871             :     }
    6872           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 |  0 );
    6873           0 :     if (!SWIG_IsOK(res1)) {
    6874           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_imagemode_get" "', argument " "1"" of type '" "outputFormatObj *""'"); 
    6875             :     }
    6876           0 :     arg1 = (outputFormatObj *)(argp1);
    6877           0 :     result = (int) ((arg1)->imagemode);
    6878           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
    6879             :     
    6880           0 :     XSRETURN(argvi);
    6881           0 :   fail:
    6882             :     
    6883           0 :     SWIG_croak_null();
    6884             :   }
    6885             : }
    6886             : 
    6887             : 
    6888           0 : XS(_wrap_outputFormatObj_transparent_set) {
    6889             :   {
    6890             :     outputFormatObj *arg1 = (outputFormatObj *) 0 ;
    6891             :     int arg2 ;
    6892           0 :     void *argp1 = 0 ;
    6893             :     int res1 = 0 ;
    6894             :     int val2 ;
    6895             :     int ecode2 = 0 ;
    6896             :     int argvi = 0;
    6897           0 :     dXSARGS;
    6898             :     
    6899           0 :     if ((items < 2) || (items > 2)) {
    6900           0 :       SWIG_croak("Usage: outputFormatObj_transparent_set(self,transparent);");
    6901             :     }
    6902           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 |  0 );
    6903           0 :     if (!SWIG_IsOK(res1)) {
    6904           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_transparent_set" "', argument " "1"" of type '" "outputFormatObj *""'"); 
    6905             :     }
    6906           0 :     arg1 = (outputFormatObj *)(argp1);
    6907           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    6908           0 :     if (!SWIG_IsOK(ecode2)) {
    6909           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "outputFormatObj_transparent_set" "', argument " "2"" of type '" "int""'");
    6910             :     } 
    6911             :     arg2 = (int)(val2);
    6912           0 :     if (arg1) (arg1)->transparent = arg2;
    6913           0 :     ST(argvi) = sv_newmortal();
    6914             :     
    6915             :     
    6916           0 :     XSRETURN(argvi);
    6917           0 :   fail:
    6918             :     
    6919             :     
    6920           0 :     SWIG_croak_null();
    6921             :   }
    6922             : }
    6923             : 
    6924             : 
    6925           0 : XS(_wrap_outputFormatObj_transparent_get) {
    6926             :   {
    6927             :     outputFormatObj *arg1 = (outputFormatObj *) 0 ;
    6928           0 :     void *argp1 = 0 ;
    6929             :     int res1 = 0 ;
    6930             :     int argvi = 0;
    6931             :     int result;
    6932           0 :     dXSARGS;
    6933             :     
    6934           0 :     if ((items < 1) || (items > 1)) {
    6935           0 :       SWIG_croak("Usage: outputFormatObj_transparent_get(self);");
    6936             :     }
    6937           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 |  0 );
    6938           0 :     if (!SWIG_IsOK(res1)) {
    6939           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_transparent_get" "', argument " "1"" of type '" "outputFormatObj *""'"); 
    6940             :     }
    6941           0 :     arg1 = (outputFormatObj *)(argp1);
    6942           0 :     result = (int) ((arg1)->transparent);
    6943           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
    6944             :     
    6945           0 :     XSRETURN(argvi);
    6946           0 :   fail:
    6947             :     
    6948           0 :     SWIG_croak_null();
    6949             :   }
    6950             : }
    6951             : 
    6952             : 
    6953           0 : XS(_wrap_outputFormatObj_bands_set) {
    6954             :   {
    6955             :     outputFormatObj *arg1 = (outputFormatObj *) 0 ;
    6956             :     int arg2 ;
    6957           0 :     void *argp1 = 0 ;
    6958             :     int res1 = 0 ;
    6959             :     int val2 ;
    6960             :     int ecode2 = 0 ;
    6961             :     int argvi = 0;
    6962           0 :     dXSARGS;
    6963             :     
    6964           0 :     if ((items < 2) || (items > 2)) {
    6965           0 :       SWIG_croak("Usage: outputFormatObj_bands_set(self,bands);");
    6966             :     }
    6967           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 |  0 );
    6968           0 :     if (!SWIG_IsOK(res1)) {
    6969           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_bands_set" "', argument " "1"" of type '" "outputFormatObj *""'"); 
    6970             :     }
    6971           0 :     arg1 = (outputFormatObj *)(argp1);
    6972           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    6973           0 :     if (!SWIG_IsOK(ecode2)) {
    6974           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "outputFormatObj_bands_set" "', argument " "2"" of type '" "int""'");
    6975             :     } 
    6976             :     arg2 = (int)(val2);
    6977           0 :     if (arg1) (arg1)->bands = arg2;
    6978           0 :     ST(argvi) = sv_newmortal();
    6979             :     
    6980             :     
    6981           0 :     XSRETURN(argvi);
    6982           0 :   fail:
    6983             :     
    6984             :     
    6985           0 :     SWIG_croak_null();
    6986             :   }
    6987             : }
    6988             : 
    6989             : 
    6990           0 : XS(_wrap_outputFormatObj_bands_get) {
    6991             :   {
    6992             :     outputFormatObj *arg1 = (outputFormatObj *) 0 ;
    6993           0 :     void *argp1 = 0 ;
    6994             :     int res1 = 0 ;
    6995             :     int argvi = 0;
    6996             :     int result;
    6997           0 :     dXSARGS;
    6998             :     
    6999           0 :     if ((items < 1) || (items > 1)) {
    7000           0 :       SWIG_croak("Usage: outputFormatObj_bands_get(self);");
    7001             :     }
    7002           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 |  0 );
    7003           0 :     if (!SWIG_IsOK(res1)) {
    7004           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_bands_get" "', argument " "1"" of type '" "outputFormatObj *""'"); 
    7005             :     }
    7006           0 :     arg1 = (outputFormatObj *)(argp1);
    7007           0 :     result = (int) ((arg1)->bands);
    7008           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
    7009             :     
    7010           0 :     XSRETURN(argvi);
    7011           0 :   fail:
    7012             :     
    7013           0 :     SWIG_croak_null();
    7014             :   }
    7015             : }
    7016             : 
    7017             : 
    7018           0 : XS(_wrap_outputFormatObj_inmapfile_set) {
    7019             :   {
    7020             :     outputFormatObj *arg1 = (outputFormatObj *) 0 ;
    7021             :     int arg2 ;
    7022           0 :     void *argp1 = 0 ;
    7023             :     int res1 = 0 ;
    7024             :     int val2 ;
    7025             :     int ecode2 = 0 ;
    7026             :     int argvi = 0;
    7027           0 :     dXSARGS;
    7028             :     
    7029           0 :     if ((items < 2) || (items > 2)) {
    7030           0 :       SWIG_croak("Usage: outputFormatObj_inmapfile_set(self,inmapfile);");
    7031             :     }
    7032           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 |  0 );
    7033           0 :     if (!SWIG_IsOK(res1)) {
    7034           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_inmapfile_set" "', argument " "1"" of type '" "outputFormatObj *""'"); 
    7035             :     }
    7036           0 :     arg1 = (outputFormatObj *)(argp1);
    7037           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    7038           0 :     if (!SWIG_IsOK(ecode2)) {
    7039           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "outputFormatObj_inmapfile_set" "', argument " "2"" of type '" "int""'");
    7040             :     } 
    7041             :     arg2 = (int)(val2);
    7042           0 :     if (arg1) (arg1)->inmapfile = arg2;
    7043           0 :     ST(argvi) = sv_newmortal();
    7044             :     
    7045             :     
    7046           0 :     XSRETURN(argvi);
    7047           0 :   fail:
    7048             :     
    7049             :     
    7050           0 :     SWIG_croak_null();
    7051             :   }
    7052             : }
    7053             : 
    7054             : 
    7055           0 : XS(_wrap_outputFormatObj_inmapfile_get) {
    7056             :   {
    7057             :     outputFormatObj *arg1 = (outputFormatObj *) 0 ;
    7058           0 :     void *argp1 = 0 ;
    7059             :     int res1 = 0 ;
    7060             :     int argvi = 0;
    7061             :     int result;
    7062           0 :     dXSARGS;
    7063             :     
    7064           0 :     if ((items < 1) || (items > 1)) {
    7065           0 :       SWIG_croak("Usage: outputFormatObj_inmapfile_get(self);");
    7066             :     }
    7067           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 |  0 );
    7068           0 :     if (!SWIG_IsOK(res1)) {
    7069           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_inmapfile_get" "', argument " "1"" of type '" "outputFormatObj *""'"); 
    7070             :     }
    7071           0 :     arg1 = (outputFormatObj *)(argp1);
    7072           0 :     result = (int) ((arg1)->inmapfile);
    7073           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
    7074             :     
    7075           0 :     XSRETURN(argvi);
    7076           0 :   fail:
    7077             :     
    7078           0 :     SWIG_croak_null();
    7079             :   }
    7080             : }
    7081             : 
    7082             : 
    7083           0 : XS(_wrap_new_outputFormatObj) {
    7084             :   {
    7085             :     char *arg1 = (char *) 0 ;
    7086             :     char *arg2 = (char *) NULL ;
    7087             :     int res1 ;
    7088           0 :     char *buf1 = 0 ;
    7089           0 :     int alloc1 = 0 ;
    7090             :     int res2 ;
    7091           0 :     char *buf2 = 0 ;
    7092           0 :     int alloc2 = 0 ;
    7093             :     int argvi = 0;
    7094             :     outputFormatObj *result = 0 ;
    7095           0 :     dXSARGS;
    7096             :     
    7097           0 :     if ((items < 1) || (items > 2)) {
    7098           0 :       SWIG_croak("Usage: new_outputFormatObj(driver,name);");
    7099             :     }
    7100           0 :     res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
    7101           0 :     if (!SWIG_IsOK(res1)) {
    7102           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_outputFormatObj" "', argument " "1"" of type '" "char const *""'");
    7103             :     }
    7104           0 :     arg1 = (char *)(buf1);
    7105           0 :     if (items > 1) {
    7106           0 :       res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    7107           0 :       if (!SWIG_IsOK(res2)) {
    7108           0 :         SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_outputFormatObj" "', argument " "2"" of type '" "char *""'");
    7109             :       }
    7110           0 :       arg2 = (char *)(buf2);
    7111             :     }
    7112           0 :     result = (outputFormatObj *)new_outputFormatObj((char const *)arg1,arg2);
    7113           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_outputFormatObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    7114           0 :     if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
    7115           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    7116           0 :     XSRETURN(argvi);
    7117           0 :   fail:
    7118           0 :     if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
    7119           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    7120           0 :     SWIG_croak_null();
    7121             :   }
    7122             : }
    7123             : 
    7124             : 
    7125           0 : XS(_wrap_delete_outputFormatObj) {
    7126             :   {
    7127             :     outputFormatObj *arg1 = (outputFormatObj *) 0 ;
    7128           0 :     void *argp1 = 0 ;
    7129             :     int res1 = 0 ;
    7130             :     int argvi = 0;
    7131           0 :     dXSARGS;
    7132             :     
    7133           0 :     if ((items < 1) || (items > 1)) {
    7134           0 :       SWIG_croak("Usage: delete_outputFormatObj(self);");
    7135             :     }
    7136           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, SWIG_POINTER_DISOWN |  0 );
    7137           0 :     if (!SWIG_IsOK(res1)) {
    7138           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_outputFormatObj" "', argument " "1"" of type '" "outputFormatObj *""'"); 
    7139             :     }
    7140           0 :     arg1 = (outputFormatObj *)(argp1);
    7141             :     delete_outputFormatObj(arg1);
    7142           0 :     ST(argvi) = sv_newmortal();
    7143             :     
    7144           0 :     XSRETURN(argvi);
    7145           0 :   fail:
    7146             :     
    7147           0 :     SWIG_croak_null();
    7148             :   }
    7149             : }
    7150             : 
    7151             : 
    7152           0 : XS(_wrap_outputFormatObj_setExtension) {
    7153             :   {
    7154             :     outputFormatObj *arg1 = (outputFormatObj *) 0 ;
    7155             :     char *arg2 = (char *) 0 ;
    7156           0 :     void *argp1 = 0 ;
    7157             :     int res1 = 0 ;
    7158             :     int res2 ;
    7159           0 :     char *buf2 = 0 ;
    7160           0 :     int alloc2 = 0 ;
    7161             :     int argvi = 0;
    7162           0 :     dXSARGS;
    7163             :     
    7164           0 :     if ((items < 2) || (items > 2)) {
    7165           0 :       SWIG_croak("Usage: outputFormatObj_setExtension(self,extension);");
    7166             :     }
    7167           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 |  0 );
    7168           0 :     if (!SWIG_IsOK(res1)) {
    7169           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_setExtension" "', argument " "1"" of type '" "outputFormatObj *""'"); 
    7170             :     }
    7171           0 :     arg1 = (outputFormatObj *)(argp1);
    7172           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    7173           0 :     if (!SWIG_IsOK(res2)) {
    7174           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "outputFormatObj_setExtension" "', argument " "2"" of type '" "char const *""'");
    7175             :     }
    7176           0 :     arg2 = (char *)(buf2);
    7177             :     outputFormatObj_setExtension(arg1,(char const *)arg2);
    7178           0 :     ST(argvi) = sv_newmortal();
    7179             :     
    7180           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    7181           0 :     XSRETURN(argvi);
    7182           0 :   fail:
    7183             :     
    7184           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    7185           0 :     SWIG_croak_null();
    7186             :   }
    7187             : }
    7188             : 
    7189             : 
    7190           0 : XS(_wrap_outputFormatObj_setMimetype) {
    7191             :   {
    7192             :     outputFormatObj *arg1 = (outputFormatObj *) 0 ;
    7193             :     char *arg2 = (char *) 0 ;
    7194           0 :     void *argp1 = 0 ;
    7195             :     int res1 = 0 ;
    7196             :     int res2 ;
    7197           0 :     char *buf2 = 0 ;
    7198           0 :     int alloc2 = 0 ;
    7199             :     int argvi = 0;
    7200           0 :     dXSARGS;
    7201             :     
    7202           0 :     if ((items < 2) || (items > 2)) {
    7203           0 :       SWIG_croak("Usage: outputFormatObj_setMimetype(self,mimetype);");
    7204             :     }
    7205           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 |  0 );
    7206           0 :     if (!SWIG_IsOK(res1)) {
    7207           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_setMimetype" "', argument " "1"" of type '" "outputFormatObj *""'"); 
    7208             :     }
    7209           0 :     arg1 = (outputFormatObj *)(argp1);
    7210           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    7211           0 :     if (!SWIG_IsOK(res2)) {
    7212           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "outputFormatObj_setMimetype" "', argument " "2"" of type '" "char const *""'");
    7213             :     }
    7214           0 :     arg2 = (char *)(buf2);
    7215             :     outputFormatObj_setMimetype(arg1,(char const *)arg2);
    7216           0 :     ST(argvi) = sv_newmortal();
    7217             :     
    7218           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    7219           0 :     XSRETURN(argvi);
    7220           0 :   fail:
    7221             :     
    7222           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    7223           0 :     SWIG_croak_null();
    7224             :   }
    7225             : }
    7226             : 
    7227             : 
    7228           0 : XS(_wrap_outputFormatObj_setOption) {
    7229             :   {
    7230             :     outputFormatObj *arg1 = (outputFormatObj *) 0 ;
    7231             :     char *arg2 = (char *) 0 ;
    7232             :     char *arg3 = (char *) 0 ;
    7233           0 :     void *argp1 = 0 ;
    7234             :     int res1 = 0 ;
    7235             :     int res2 ;
    7236           0 :     char *buf2 = 0 ;
    7237           0 :     int alloc2 = 0 ;
    7238             :     int res3 ;
    7239           0 :     char *buf3 = 0 ;
    7240           0 :     int alloc3 = 0 ;
    7241             :     int argvi = 0;
    7242           0 :     dXSARGS;
    7243             :     
    7244           0 :     if ((items < 3) || (items > 3)) {
    7245           0 :       SWIG_croak("Usage: outputFormatObj_setOption(self,key,value);");
    7246             :     }
    7247           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 |  0 );
    7248           0 :     if (!SWIG_IsOK(res1)) {
    7249           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_setOption" "', argument " "1"" of type '" "outputFormatObj *""'"); 
    7250             :     }
    7251           0 :     arg1 = (outputFormatObj *)(argp1);
    7252           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    7253           0 :     if (!SWIG_IsOK(res2)) {
    7254           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "outputFormatObj_setOption" "', argument " "2"" of type '" "char const *""'");
    7255             :     }
    7256           0 :     arg2 = (char *)(buf2);
    7257           0 :     res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
    7258           0 :     if (!SWIG_IsOK(res3)) {
    7259           0 :       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "outputFormatObj_setOption" "', argument " "3"" of type '" "char const *""'");
    7260             :     }
    7261           0 :     arg3 = (char *)(buf3);
    7262             :     outputFormatObj_setOption(arg1,(char const *)arg2,(char const *)arg3);
    7263           0 :     ST(argvi) = sv_newmortal();
    7264             :     
    7265           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    7266           0 :     if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
    7267           0 :     XSRETURN(argvi);
    7268           0 :   fail:
    7269             :     
    7270           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    7271           0 :     if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
    7272           0 :     SWIG_croak_null();
    7273             :   }
    7274             : }
    7275             : 
    7276             : 
    7277           0 : XS(_wrap_outputFormatObj_validate) {
    7278             :   {
    7279             :     outputFormatObj *arg1 = (outputFormatObj *) 0 ;
    7280           0 :     void *argp1 = 0 ;
    7281             :     int res1 = 0 ;
    7282             :     int argvi = 0;
    7283             :     int result;
    7284           0 :     dXSARGS;
    7285             :     
    7286           0 :     if ((items < 1) || (items > 1)) {
    7287           0 :       SWIG_croak("Usage: outputFormatObj_validate(self);");
    7288             :     }
    7289           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 |  0 );
    7290           0 :     if (!SWIG_IsOK(res1)) {
    7291           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_validate" "', argument " "1"" of type '" "outputFormatObj *""'"); 
    7292             :     }
    7293           0 :     arg1 = (outputFormatObj *)(argp1);
    7294             :     result = (int)outputFormatObj_validate(arg1);
    7295           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
    7296             :     
    7297           0 :     XSRETURN(argvi);
    7298           0 :   fail:
    7299             :     
    7300           0 :     SWIG_croak_null();
    7301             :   }
    7302             : }
    7303             : 
    7304             : 
    7305           0 : XS(_wrap_outputFormatObj_getOption) {
    7306             :   {
    7307             :     outputFormatObj *arg1 = (outputFormatObj *) 0 ;
    7308             :     char *arg2 = (char *) 0 ;
    7309             :     char *arg3 = (char *) "" ;
    7310           0 :     void *argp1 = 0 ;
    7311             :     int res1 = 0 ;
    7312             :     int res2 ;
    7313           0 :     char *buf2 = 0 ;
    7314           0 :     int alloc2 = 0 ;
    7315             :     int res3 ;
    7316           0 :     char *buf3 = 0 ;
    7317           0 :     int alloc3 = 0 ;
    7318             :     int argvi = 0;
    7319             :     char *result = 0 ;
    7320           0 :     dXSARGS;
    7321             :     
    7322           0 :     if ((items < 2) || (items > 3)) {
    7323           0 :       SWIG_croak("Usage: outputFormatObj_getOption(self,key,value);");
    7324             :     }
    7325           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 |  0 );
    7326           0 :     if (!SWIG_IsOK(res1)) {
    7327           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_getOption" "', argument " "1"" of type '" "outputFormatObj *""'"); 
    7328             :     }
    7329           0 :     arg1 = (outputFormatObj *)(argp1);
    7330           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    7331           0 :     if (!SWIG_IsOK(res2)) {
    7332           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "outputFormatObj_getOption" "', argument " "2"" of type '" "char const *""'");
    7333             :     }
    7334           0 :     arg2 = (char *)(buf2);
    7335           0 :     if (items > 2) {
    7336           0 :       res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
    7337           0 :       if (!SWIG_IsOK(res3)) {
    7338           0 :         SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "outputFormatObj_getOption" "', argument " "3"" of type '" "char const *""'");
    7339             :       }
    7340           0 :       arg3 = (char *)(buf3);
    7341             :     }
    7342             :     result = (char *)outputFormatObj_getOption(arg1,(char const *)arg2,(char const *)arg3);
    7343           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
    7344             :     
    7345           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    7346           0 :     if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
    7347           0 :     free((char*)result);
    7348           0 :     XSRETURN(argvi);
    7349           0 :   fail:
    7350             :     
    7351           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    7352           0 :     if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
    7353           0 :     SWIG_croak_null();
    7354             :   }
    7355             : }
    7356             : 
    7357             : 
    7358           0 : XS(_wrap_outputFormatObj_getOptionAt) {
    7359             :   {
    7360             :     outputFormatObj *arg1 = (outputFormatObj *) 0 ;
    7361             :     int arg2 ;
    7362           0 :     void *argp1 = 0 ;
    7363             :     int res1 = 0 ;
    7364             :     int val2 ;
    7365             :     int ecode2 = 0 ;
    7366             :     int argvi = 0;
    7367             :     char *result = 0 ;
    7368           0 :     dXSARGS;
    7369             :     
    7370           0 :     if ((items < 2) || (items > 2)) {
    7371           0 :       SWIG_croak("Usage: outputFormatObj_getOptionAt(self,i);");
    7372             :     }
    7373           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 |  0 );
    7374           0 :     if (!SWIG_IsOK(res1)) {
    7375           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_getOptionAt" "', argument " "1"" of type '" "outputFormatObj *""'"); 
    7376             :     }
    7377           0 :     arg1 = (outputFormatObj *)(argp1);
    7378           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    7379           0 :     if (!SWIG_IsOK(ecode2)) {
    7380           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "outputFormatObj_getOptionAt" "', argument " "2"" of type '" "int""'");
    7381             :     } 
    7382             :     arg2 = (int)(val2);
    7383             :     result = (char *)outputFormatObj_getOptionAt(arg1,arg2);
    7384           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
    7385             :     
    7386             :     
    7387           0 :     free((char*)result);
    7388           0 :     XSRETURN(argvi);
    7389           0 :   fail:
    7390             :     
    7391             :     
    7392           0 :     SWIG_croak_null();
    7393             :   }
    7394             : }
    7395             : 
    7396             : 
    7397           0 : XS(_wrap_outputFormatObj_attachDevice) {
    7398             :   {
    7399             :     outputFormatObj *arg1 = (outputFormatObj *) 0 ;
    7400           0 :     void *arg2 = (void *) 0 ;
    7401           0 :     void *argp1 = 0 ;
    7402             :     int res1 = 0 ;
    7403             :     int res2 ;
    7404             :     int argvi = 0;
    7405           0 :     dXSARGS;
    7406             :     
    7407           0 :     if ((items < 2) || (items > 2)) {
    7408           0 :       SWIG_croak("Usage: outputFormatObj_attachDevice(self,device);");
    7409             :     }
    7410           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_outputFormatObj, 0 |  0 );
    7411           0 :     if (!SWIG_IsOK(res1)) {
    7412           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "outputFormatObj_attachDevice" "', argument " "1"" of type '" "outputFormatObj *""'"); 
    7413             :     }
    7414           0 :     arg1 = (outputFormatObj *)(argp1);
    7415           0 :     res2 = SWIG_ConvertPtr(ST(1),SWIG_as_voidptrptr(&arg2), 0, 0);
    7416           0 :     if (!SWIG_IsOK(res2)) {
    7417           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "outputFormatObj_attachDevice" "', argument " "2"" of type '" "void *""'"); 
    7418             :     }
    7419           0 :     outputFormatObj_attachDevice(arg1,arg2);
    7420           0 :     ST(argvi) = sv_newmortal();
    7421             :     
    7422             :     
    7423           0 :     XSRETURN(argvi);
    7424           0 :   fail:
    7425             :     
    7426             :     
    7427           0 :     SWIG_croak_null();
    7428             :   }
    7429             : }
    7430             : 
    7431             : 
    7432           0 : XS(_wrap_queryMapObj_height_set) {
    7433             :   {
    7434             :     queryMapObj *arg1 = (queryMapObj *) 0 ;
    7435             :     int arg2 ;
    7436           0 :     void *argp1 = 0 ;
    7437             :     int res1 = 0 ;
    7438             :     int val2 ;
    7439             :     int ecode2 = 0 ;
    7440             :     int argvi = 0;
    7441           0 :     dXSARGS;
    7442             :     
    7443           0 :     if ((items < 2) || (items > 2)) {
    7444           0 :       SWIG_croak("Usage: queryMapObj_height_set(self,height);");
    7445             :     }
    7446           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_queryMapObj, 0 |  0 );
    7447           0 :     if (!SWIG_IsOK(res1)) {
    7448           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "queryMapObj_height_set" "', argument " "1"" of type '" "queryMapObj *""'"); 
    7449             :     }
    7450           0 :     arg1 = (queryMapObj *)(argp1);
    7451           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    7452           0 :     if (!SWIG_IsOK(ecode2)) {
    7453           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "queryMapObj_height_set" "', argument " "2"" of type '" "int""'");
    7454             :     } 
    7455             :     arg2 = (int)(val2);
    7456           0 :     if (arg1) (arg1)->height = arg2;
    7457           0 :     ST(argvi) = sv_newmortal();
    7458             :     
    7459             :     
    7460           0 :     XSRETURN(argvi);
    7461           0 :   fail:
    7462             :     
    7463             :     
    7464           0 :     SWIG_croak_null();
    7465             :   }
    7466             : }
    7467             : 
    7468             : 
    7469           0 : XS(_wrap_queryMapObj_height_get) {
    7470             :   {
    7471             :     queryMapObj *arg1 = (queryMapObj *) 0 ;
    7472           0 :     void *argp1 = 0 ;
    7473             :     int res1 = 0 ;
    7474             :     int argvi = 0;
    7475             :     int result;
    7476           0 :     dXSARGS;
    7477             :     
    7478           0 :     if ((items < 1) || (items > 1)) {
    7479           0 :       SWIG_croak("Usage: queryMapObj_height_get(self);");
    7480             :     }
    7481           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_queryMapObj, 0 |  0 );
    7482           0 :     if (!SWIG_IsOK(res1)) {
    7483           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "queryMapObj_height_get" "', argument " "1"" of type '" "queryMapObj *""'"); 
    7484             :     }
    7485           0 :     arg1 = (queryMapObj *)(argp1);
    7486           0 :     result = (int) ((arg1)->height);
    7487           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
    7488             :     
    7489           0 :     XSRETURN(argvi);
    7490           0 :   fail:
    7491             :     
    7492           0 :     SWIG_croak_null();
    7493             :   }
    7494             : }
    7495             : 
    7496             : 
    7497           0 : XS(_wrap_queryMapObj_width_set) {
    7498             :   {
    7499             :     queryMapObj *arg1 = (queryMapObj *) 0 ;
    7500             :     int arg2 ;
    7501           0 :     void *argp1 = 0 ;
    7502             :     int res1 = 0 ;
    7503             :     int val2 ;
    7504             :     int ecode2 = 0 ;
    7505             :     int argvi = 0;
    7506           0 :     dXSARGS;
    7507             :     
    7508           0 :     if ((items < 2) || (items > 2)) {
    7509           0 :       SWIG_croak("Usage: queryMapObj_width_set(self,width);");
    7510             :     }
    7511           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_queryMapObj, 0 |  0 );
    7512           0 :     if (!SWIG_IsOK(res1)) {
    7513           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "queryMapObj_width_set" "', argument " "1"" of type '" "queryMapObj *""'"); 
    7514             :     }
    7515           0 :     arg1 = (queryMapObj *)(argp1);
    7516           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    7517           0 :     if (!SWIG_IsOK(ecode2)) {
    7518           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "queryMapObj_width_set" "', argument " "2"" of type '" "int""'");
    7519             :     } 
    7520             :     arg2 = (int)(val2);
    7521           0 :     if (arg1) (arg1)->width = arg2;
    7522           0 :     ST(argvi) = sv_newmortal();
    7523             :     
    7524             :     
    7525           0 :     XSRETURN(argvi);
    7526           0 :   fail:
    7527             :     
    7528             :     
    7529           0 :     SWIG_croak_null();
    7530             :   }
    7531             : }
    7532             : 
    7533             : 
    7534           0 : XS(_wrap_queryMapObj_width_get) {
    7535             :   {
    7536             :     queryMapObj *arg1 = (queryMapObj *) 0 ;
    7537           0 :     void *argp1 = 0 ;
    7538             :     int res1 = 0 ;
    7539             :     int argvi = 0;
    7540             :     int result;
    7541           0 :     dXSARGS;
    7542             :     
    7543           0 :     if ((items < 1) || (items > 1)) {
    7544           0 :       SWIG_croak("Usage: queryMapObj_width_get(self);");
    7545             :     }
    7546           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_queryMapObj, 0 |  0 );
    7547           0 :     if (!SWIG_IsOK(res1)) {
    7548           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "queryMapObj_width_get" "', argument " "1"" of type '" "queryMapObj *""'"); 
    7549             :     }
    7550           0 :     arg1 = (queryMapObj *)(argp1);
    7551           0 :     result = (int) ((arg1)->width);
    7552           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
    7553             :     
    7554           0 :     XSRETURN(argvi);
    7555           0 :   fail:
    7556             :     
    7557           0 :     SWIG_croak_null();
    7558             :   }
    7559             : }
    7560             : 
    7561             : 
    7562           0 : XS(_wrap_queryMapObj_status_set) {
    7563             :   {
    7564             :     queryMapObj *arg1 = (queryMapObj *) 0 ;
    7565             :     int arg2 ;
    7566           0 :     void *argp1 = 0 ;
    7567             :     int res1 = 0 ;
    7568             :     int val2 ;
    7569             :     int ecode2 = 0 ;
    7570             :     int argvi = 0;
    7571           0 :     dXSARGS;
    7572             :     
    7573           0 :     if ((items < 2) || (items > 2)) {
    7574           0 :       SWIG_croak("Usage: queryMapObj_status_set(self,status);");
    7575             :     }
    7576           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_queryMapObj, 0 |  0 );
    7577           0 :     if (!SWIG_IsOK(res1)) {
    7578           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "queryMapObj_status_set" "', argument " "1"" of type '" "queryMapObj *""'"); 
    7579             :     }
    7580           0 :     arg1 = (queryMapObj *)(argp1);
    7581           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    7582           0 :     if (!SWIG_IsOK(ecode2)) {
    7583           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "queryMapObj_status_set" "', argument " "2"" of type '" "int""'");
    7584             :     } 
    7585             :     arg2 = (int)(val2);
    7586           0 :     if (arg1) (arg1)->status = arg2;
    7587           0 :     ST(argvi) = sv_newmortal();
    7588             :     
    7589             :     
    7590           0 :     XSRETURN(argvi);
    7591           0 :   fail:
    7592             :     
    7593             :     
    7594           0 :     SWIG_croak_null();
    7595             :   }
    7596             : }
    7597             : 
    7598             : 
    7599           0 : XS(_wrap_queryMapObj_status_get) {
    7600             :   {
    7601             :     queryMapObj *arg1 = (queryMapObj *) 0 ;
    7602           0 :     void *argp1 = 0 ;
    7603             :     int res1 = 0 ;
    7604             :     int argvi = 0;
    7605             :     int result;
    7606           0 :     dXSARGS;
    7607             :     
    7608           0 :     if ((items < 1) || (items > 1)) {
    7609           0 :       SWIG_croak("Usage: queryMapObj_status_get(self);");
    7610             :     }
    7611           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_queryMapObj, 0 |  0 );
    7612           0 :     if (!SWIG_IsOK(res1)) {
    7613           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "queryMapObj_status_get" "', argument " "1"" of type '" "queryMapObj *""'"); 
    7614             :     }
    7615           0 :     arg1 = (queryMapObj *)(argp1);
    7616           0 :     result = (int) ((arg1)->status);
    7617           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
    7618             :     
    7619           0 :     XSRETURN(argvi);
    7620           0 :   fail:
    7621             :     
    7622           0 :     SWIG_croak_null();
    7623             :   }
    7624             : }
    7625             : 
    7626             : 
    7627           0 : XS(_wrap_queryMapObj_style_set) {
    7628             :   {
    7629             :     queryMapObj *arg1 = (queryMapObj *) 0 ;
    7630             :     int arg2 ;
    7631           0 :     void *argp1 = 0 ;
    7632             :     int res1 = 0 ;
    7633             :     int val2 ;
    7634             :     int ecode2 = 0 ;
    7635             :     int argvi = 0;
    7636           0 :     dXSARGS;
    7637             :     
    7638           0 :     if ((items < 2) || (items > 2)) {
    7639           0 :       SWIG_croak("Usage: queryMapObj_style_set(self,style);");
    7640             :     }
    7641           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_queryMapObj, 0 |  0 );
    7642           0 :     if (!SWIG_IsOK(res1)) {
    7643           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "queryMapObj_style_set" "', argument " "1"" of type '" "queryMapObj *""'"); 
    7644             :     }
    7645           0 :     arg1 = (queryMapObj *)(argp1);
    7646           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    7647           0 :     if (!SWIG_IsOK(ecode2)) {
    7648           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "queryMapObj_style_set" "', argument " "2"" of type '" "int""'");
    7649             :     } 
    7650             :     arg2 = (int)(val2);
    7651           0 :     if (arg1) (arg1)->style = arg2;
    7652           0 :     ST(argvi) = sv_newmortal();
    7653             :     
    7654             :     
    7655           0 :     XSRETURN(argvi);
    7656           0 :   fail:
    7657             :     
    7658             :     
    7659           0 :     SWIG_croak_null();
    7660             :   }
    7661             : }
    7662             : 
    7663             : 
    7664           0 : XS(_wrap_queryMapObj_style_get) {
    7665             :   {
    7666             :     queryMapObj *arg1 = (queryMapObj *) 0 ;
    7667           0 :     void *argp1 = 0 ;
    7668             :     int res1 = 0 ;
    7669             :     int argvi = 0;
    7670             :     int result;
    7671           0 :     dXSARGS;
    7672             :     
    7673           0 :     if ((items < 1) || (items > 1)) {
    7674           0 :       SWIG_croak("Usage: queryMapObj_style_get(self);");
    7675             :     }
    7676           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_queryMapObj, 0 |  0 );
    7677           0 :     if (!SWIG_IsOK(res1)) {
    7678           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "queryMapObj_style_get" "', argument " "1"" of type '" "queryMapObj *""'"); 
    7679             :     }
    7680           0 :     arg1 = (queryMapObj *)(argp1);
    7681           0 :     result = (int) ((arg1)->style);
    7682           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
    7683             :     
    7684           0 :     XSRETURN(argvi);
    7685           0 :   fail:
    7686             :     
    7687           0 :     SWIG_croak_null();
    7688             :   }
    7689             : }
    7690             : 
    7691             : 
    7692           0 : XS(_wrap_queryMapObj_color_set) {
    7693             :   {
    7694             :     queryMapObj *arg1 = (queryMapObj *) 0 ;
    7695             :     colorObj *arg2 = (colorObj *) 0 ;
    7696           0 :     void *argp1 = 0 ;
    7697             :     int res1 = 0 ;
    7698           0 :     void *argp2 = 0 ;
    7699             :     int res2 = 0 ;
    7700             :     int argvi = 0;
    7701           0 :     dXSARGS;
    7702             :     
    7703           0 :     if ((items < 2) || (items > 2)) {
    7704           0 :       SWIG_croak("Usage: queryMapObj_color_set(self,color);");
    7705             :     }
    7706           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_queryMapObj, 0 |  0 );
    7707           0 :     if (!SWIG_IsOK(res1)) {
    7708           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "queryMapObj_color_set" "', argument " "1"" of type '" "queryMapObj *""'"); 
    7709             :     }
    7710           0 :     arg1 = (queryMapObj *)(argp1);
    7711           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_colorObj, 0 |  0 );
    7712           0 :     if (!SWIG_IsOK(res2)) {
    7713           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "queryMapObj_color_set" "', argument " "2"" of type '" "colorObj *""'"); 
    7714             :     }
    7715           0 :     arg2 = (colorObj *)(argp2);
    7716           0 :     if (arg1) (arg1)->color = *arg2;
    7717           0 :     ST(argvi) = sv_newmortal();
    7718             :     
    7719             :     
    7720           0 :     XSRETURN(argvi);
    7721           0 :   fail:
    7722             :     
    7723             :     
    7724           0 :     SWIG_croak_null();
    7725             :   }
    7726             : }
    7727             : 
    7728             : 
    7729           0 : XS(_wrap_queryMapObj_color_get) {
    7730             :   {
    7731             :     queryMapObj *arg1 = (queryMapObj *) 0 ;
    7732           0 :     void *argp1 = 0 ;
    7733             :     int res1 = 0 ;
    7734             :     int argvi = 0;
    7735             :     colorObj *result = 0 ;
    7736           0 :     dXSARGS;
    7737             :     
    7738           0 :     if ((items < 1) || (items > 1)) {
    7739           0 :       SWIG_croak("Usage: queryMapObj_color_get(self);");
    7740             :     }
    7741           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_queryMapObj, 0 |  0 );
    7742           0 :     if (!SWIG_IsOK(res1)) {
    7743           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "queryMapObj_color_get" "', argument " "1"" of type '" "queryMapObj *""'"); 
    7744             :     }
    7745           0 :     arg1 = (queryMapObj *)(argp1);
    7746           0 :     result = (colorObj *)& ((arg1)->color);
    7747           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_colorObj, 0 | SWIG_SHADOW); argvi++ ;
    7748             :     
    7749           0 :     XSRETURN(argvi);
    7750           0 :   fail:
    7751             :     
    7752           0 :     SWIG_croak_null();
    7753             :   }
    7754             : }
    7755             : 
    7756             : 
    7757           0 : XS(_wrap_queryMapObj_updateFromString) {
    7758             :   {
    7759             :     queryMapObj *arg1 = (queryMapObj *) 0 ;
    7760             :     char *arg2 = (char *) 0 ;
    7761           0 :     void *argp1 = 0 ;
    7762             :     int res1 = 0 ;
    7763             :     int res2 ;
    7764           0 :     char *buf2 = 0 ;
    7765           0 :     int alloc2 = 0 ;
    7766             :     int argvi = 0;
    7767             :     int result;
    7768           0 :     dXSARGS;
    7769             :     
    7770           0 :     if ((items < 2) || (items > 2)) {
    7771           0 :       SWIG_croak("Usage: queryMapObj_updateFromString(self,snippet);");
    7772             :     }
    7773           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_queryMapObj, 0 |  0 );
    7774           0 :     if (!SWIG_IsOK(res1)) {
    7775           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "queryMapObj_updateFromString" "', argument " "1"" of type '" "queryMapObj *""'"); 
    7776             :     }
    7777           0 :     arg1 = (queryMapObj *)(argp1);
    7778           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    7779           0 :     if (!SWIG_IsOK(res2)) {
    7780           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "queryMapObj_updateFromString" "', argument " "2"" of type '" "char *""'");
    7781             :     }
    7782           0 :     arg2 = (char *)(buf2);
    7783             :     result = (int)queryMapObj_updateFromString(arg1,arg2);
    7784           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
    7785             :     
    7786           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    7787           0 :     XSRETURN(argvi);
    7788           0 :   fail:
    7789             :     
    7790           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    7791           0 :     SWIG_croak_null();
    7792             :   }
    7793             : }
    7794             : 
    7795             : 
    7796           0 : XS(_wrap_queryMapObj_convertToString) {
    7797             :   {
    7798             :     queryMapObj *arg1 = (queryMapObj *) 0 ;
    7799           0 :     void *argp1 = 0 ;
    7800             :     int res1 = 0 ;
    7801             :     int argvi = 0;
    7802             :     char *result = 0 ;
    7803           0 :     dXSARGS;
    7804             :     
    7805           0 :     if ((items < 1) || (items > 1)) {
    7806           0 :       SWIG_croak("Usage: queryMapObj_convertToString(self);");
    7807             :     }
    7808           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_queryMapObj, 0 |  0 );
    7809           0 :     if (!SWIG_IsOK(res1)) {
    7810           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "queryMapObj_convertToString" "', argument " "1"" of type '" "queryMapObj *""'"); 
    7811             :     }
    7812           0 :     arg1 = (queryMapObj *)(argp1);
    7813             :     result = (char *)queryMapObj_convertToString(arg1);
    7814           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
    7815             :     
    7816           0 :     free((char*)result);
    7817           0 :     XSRETURN(argvi);
    7818           0 :   fail:
    7819             :     
    7820           0 :     SWIG_croak_null();
    7821             :   }
    7822             : }
    7823             : 
    7824             : 
    7825           0 : XS(_wrap_new_queryMapObj) {
    7826             :   {
    7827             :     int argvi = 0;
    7828             :     queryMapObj *result = 0 ;
    7829           0 :     dXSARGS;
    7830             :     
    7831           0 :     if ((items < 0) || (items > 0)) {
    7832           0 :       SWIG_croak("Usage: new_queryMapObj();");
    7833             :     }
    7834           0 :     result = (queryMapObj *)calloc(1, sizeof(queryMapObj));
    7835           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_queryMapObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    7836           0 :     XSRETURN(argvi);
    7837             :   fail:
    7838           0 :     SWIG_croak_null();
    7839             :   }
    7840             : }
    7841             : 
    7842             : 
    7843           0 : XS(_wrap_delete_queryMapObj) {
    7844             :   {
    7845             :     queryMapObj *arg1 = (queryMapObj *) 0 ;
    7846           0 :     void *argp1 = 0 ;
    7847             :     int res1 = 0 ;
    7848             :     int argvi = 0;
    7849           0 :     dXSARGS;
    7850             :     
    7851           0 :     if ((items < 1) || (items > 1)) {
    7852           0 :       SWIG_croak("Usage: delete_queryMapObj(self);");
    7853             :     }
    7854           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_queryMapObj, SWIG_POINTER_DISOWN |  0 );
    7855           0 :     if (!SWIG_IsOK(res1)) {
    7856           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_queryMapObj" "', argument " "1"" of type '" "queryMapObj *""'"); 
    7857             :     }
    7858           0 :     arg1 = (queryMapObj *)(argp1);
    7859           0 :     free((char *) arg1);
    7860           0 :     ST(argvi) = sv_newmortal();
    7861             :     
    7862           0 :     XSRETURN(argvi);
    7863           0 :   fail:
    7864             :     
    7865           0 :     SWIG_croak_null();
    7866             :   }
    7867             : }
    7868             : 
    7869             : 
    7870           0 : XS(_wrap_webObj_log_set) {
    7871             :   {
    7872             :     webObj *arg1 = (webObj *) 0 ;
    7873             :     char *arg2 = (char *) 0 ;
    7874           0 :     void *argp1 = 0 ;
    7875             :     int res1 = 0 ;
    7876             :     int res2 ;
    7877           0 :     char *buf2 = 0 ;
    7878           0 :     int alloc2 = 0 ;
    7879             :     int argvi = 0;
    7880           0 :     dXSARGS;
    7881             :     
    7882           0 :     if ((items < 2) || (items > 2)) {
    7883           0 :       SWIG_croak("Usage: webObj_log_set(self,log);");
    7884             :     }
    7885           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 |  0 );
    7886           0 :     if (!SWIG_IsOK(res1)) {
    7887           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_log_set" "', argument " "1"" of type '" "webObj *""'"); 
    7888             :     }
    7889           0 :     arg1 = (webObj *)(argp1);
    7890           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    7891           0 :     if (!SWIG_IsOK(res2)) {
    7892           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "webObj_log_set" "', argument " "2"" of type '" "char *""'");
    7893             :     }
    7894           0 :     arg2 = (char *)(buf2);
    7895             :     {
    7896           0 :       if (arg1->log) free((char*)arg1->log);
    7897           0 :       if (arg2) {
    7898           0 :         arg1->log = (char *) malloc(strlen(arg2)+1);
    7899             :         strcpy((char*)arg1->log,arg2);
    7900             :       } else {
    7901           0 :         arg1->log = 0;
    7902             :       }
    7903             :     }
    7904           0 :     ST(argvi) = sv_newmortal();
    7905             :     
    7906           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    7907           0 :     XSRETURN(argvi);
    7908           0 :   fail:
    7909             :     
    7910           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    7911           0 :     SWIG_croak_null();
    7912             :   }
    7913             : }
    7914             : 
    7915             : 
    7916           0 : XS(_wrap_webObj_log_get) {
    7917             :   {
    7918             :     webObj *arg1 = (webObj *) 0 ;
    7919           0 :     void *argp1 = 0 ;
    7920             :     int res1 = 0 ;
    7921             :     int argvi = 0;
    7922             :     char *result = 0 ;
    7923           0 :     dXSARGS;
    7924             :     
    7925           0 :     if ((items < 1) || (items > 1)) {
    7926           0 :       SWIG_croak("Usage: webObj_log_get(self);");
    7927             :     }
    7928           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 |  0 );
    7929           0 :     if (!SWIG_IsOK(res1)) {
    7930           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_log_get" "', argument " "1"" of type '" "webObj *""'"); 
    7931             :     }
    7932           0 :     arg1 = (webObj *)(argp1);
    7933           0 :     result = (char *) ((arg1)->log);
    7934           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
    7935             :     
    7936           0 :     XSRETURN(argvi);
    7937           0 :   fail:
    7938             :     
    7939           0 :     SWIG_croak_null();
    7940             :   }
    7941             : }
    7942             : 
    7943             : 
    7944           0 : XS(_wrap_webObj_imagepath_set) {
    7945             :   {
    7946             :     webObj *arg1 = (webObj *) 0 ;
    7947             :     char *arg2 = (char *) 0 ;
    7948           0 :     void *argp1 = 0 ;
    7949             :     int res1 = 0 ;
    7950             :     int res2 ;
    7951           0 :     char *buf2 = 0 ;
    7952           0 :     int alloc2 = 0 ;
    7953             :     int argvi = 0;
    7954           0 :     dXSARGS;
    7955             :     
    7956           0 :     if ((items < 2) || (items > 2)) {
    7957           0 :       SWIG_croak("Usage: webObj_imagepath_set(self,imagepath);");
    7958             :     }
    7959           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 |  0 );
    7960           0 :     if (!SWIG_IsOK(res1)) {
    7961           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_imagepath_set" "', argument " "1"" of type '" "webObj *""'"); 
    7962             :     }
    7963           0 :     arg1 = (webObj *)(argp1);
    7964           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    7965           0 :     if (!SWIG_IsOK(res2)) {
    7966           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "webObj_imagepath_set" "', argument " "2"" of type '" "char *""'");
    7967             :     }
    7968           0 :     arg2 = (char *)(buf2);
    7969             :     {
    7970           0 :       if (arg1->imagepath) free((char*)arg1->imagepath);
    7971           0 :       if (arg2) {
    7972           0 :         arg1->imagepath = (char *) malloc(strlen(arg2)+1);
    7973             :         strcpy((char*)arg1->imagepath,arg2);
    7974             :       } else {
    7975           0 :         arg1->imagepath = 0;
    7976             :       }
    7977             :     }
    7978           0 :     ST(argvi) = sv_newmortal();
    7979             :     
    7980           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    7981           0 :     XSRETURN(argvi);
    7982           0 :   fail:
    7983             :     
    7984           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    7985           0 :     SWIG_croak_null();
    7986             :   }
    7987             : }
    7988             : 
    7989             : 
    7990           0 : XS(_wrap_webObj_imagepath_get) {
    7991             :   {
    7992             :     webObj *arg1 = (webObj *) 0 ;
    7993           0 :     void *argp1 = 0 ;
    7994             :     int res1 = 0 ;
    7995             :     int argvi = 0;
    7996             :     char *result = 0 ;
    7997           0 :     dXSARGS;
    7998             :     
    7999           0 :     if ((items < 1) || (items > 1)) {
    8000           0 :       SWIG_croak("Usage: webObj_imagepath_get(self);");
    8001             :     }
    8002           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 |  0 );
    8003           0 :     if (!SWIG_IsOK(res1)) {
    8004           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_imagepath_get" "', argument " "1"" of type '" "webObj *""'"); 
    8005             :     }
    8006           0 :     arg1 = (webObj *)(argp1);
    8007           0 :     result = (char *) ((arg1)->imagepath);
    8008           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
    8009             :     
    8010           0 :     XSRETURN(argvi);
    8011           0 :   fail:
    8012             :     
    8013           0 :     SWIG_croak_null();
    8014             :   }
    8015             : }
    8016             : 
    8017             : 
    8018           0 : XS(_wrap_webObj_imageurl_set) {
    8019             :   {
    8020             :     webObj *arg1 = (webObj *) 0 ;
    8021             :     char *arg2 = (char *) 0 ;
    8022           0 :     void *argp1 = 0 ;
    8023             :     int res1 = 0 ;
    8024             :     int res2 ;
    8025           0 :     char *buf2 = 0 ;
    8026           0 :     int alloc2 = 0 ;
    8027             :     int argvi = 0;
    8028           0 :     dXSARGS;
    8029             :     
    8030           0 :     if ((items < 2) || (items > 2)) {
    8031           0 :       SWIG_croak("Usage: webObj_imageurl_set(self,imageurl);");
    8032             :     }
    8033           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 |  0 );
    8034           0 :     if (!SWIG_IsOK(res1)) {
    8035           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_imageurl_set" "', argument " "1"" of type '" "webObj *""'"); 
    8036             :     }
    8037           0 :     arg1 = (webObj *)(argp1);
    8038           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    8039           0 :     if (!SWIG_IsOK(res2)) {
    8040           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "webObj_imageurl_set" "', argument " "2"" of type '" "char *""'");
    8041             :     }
    8042           0 :     arg2 = (char *)(buf2);
    8043             :     {
    8044           0 :       if (arg1->imageurl) free((char*)arg1->imageurl);
    8045           0 :       if (arg2) {
    8046           0 :         arg1->imageurl = (char *) malloc(strlen(arg2)+1);
    8047             :         strcpy((char*)arg1->imageurl,arg2);
    8048             :       } else {
    8049           0 :         arg1->imageurl = 0;
    8050             :       }
    8051             :     }
    8052           0 :     ST(argvi) = sv_newmortal();
    8053             :     
    8054           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    8055           0 :     XSRETURN(argvi);
    8056           0 :   fail:
    8057             :     
    8058           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    8059           0 :     SWIG_croak_null();
    8060             :   }
    8061             : }
    8062             : 
    8063             : 
    8064           0 : XS(_wrap_webObj_imageurl_get) {
    8065             :   {
    8066             :     webObj *arg1 = (webObj *) 0 ;
    8067           0 :     void *argp1 = 0 ;
    8068             :     int res1 = 0 ;
    8069             :     int argvi = 0;
    8070             :     char *result = 0 ;
    8071           0 :     dXSARGS;
    8072             :     
    8073           0 :     if ((items < 1) || (items > 1)) {
    8074           0 :       SWIG_croak("Usage: webObj_imageurl_get(self);");
    8075             :     }
    8076           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 |  0 );
    8077           0 :     if (!SWIG_IsOK(res1)) {
    8078           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_imageurl_get" "', argument " "1"" of type '" "webObj *""'"); 
    8079             :     }
    8080           0 :     arg1 = (webObj *)(argp1);
    8081           0 :     result = (char *) ((arg1)->imageurl);
    8082           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
    8083             :     
    8084           0 :     XSRETURN(argvi);
    8085           0 :   fail:
    8086             :     
    8087           0 :     SWIG_croak_null();
    8088             :   }
    8089             : }
    8090             : 
    8091             : 
    8092           0 : XS(_wrap_webObj_temppath_set) {
    8093             :   {
    8094             :     webObj *arg1 = (webObj *) 0 ;
    8095             :     char *arg2 = (char *) 0 ;
    8096           0 :     void *argp1 = 0 ;
    8097             :     int res1 = 0 ;
    8098             :     int res2 ;
    8099           0 :     char *buf2 = 0 ;
    8100           0 :     int alloc2 = 0 ;
    8101             :     int argvi = 0;
    8102           0 :     dXSARGS;
    8103             :     
    8104           0 :     if ((items < 2) || (items > 2)) {
    8105           0 :       SWIG_croak("Usage: webObj_temppath_set(self,temppath);");
    8106             :     }
    8107           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 |  0 );
    8108           0 :     if (!SWIG_IsOK(res1)) {
    8109           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_temppath_set" "', argument " "1"" of type '" "webObj *""'"); 
    8110             :     }
    8111           0 :     arg1 = (webObj *)(argp1);
    8112           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    8113           0 :     if (!SWIG_IsOK(res2)) {
    8114           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "webObj_temppath_set" "', argument " "2"" of type '" "char *""'");
    8115             :     }
    8116           0 :     arg2 = (char *)(buf2);
    8117             :     {
    8118           0 :       if (arg1->temppath) free((char*)arg1->temppath);
    8119           0 :       if (arg2) {
    8120           0 :         arg1->temppath = (char *) malloc(strlen(arg2)+1);
    8121             :         strcpy((char*)arg1->temppath,arg2);
    8122             :       } else {
    8123           0 :         arg1->temppath = 0;
    8124             :       }
    8125             :     }
    8126           0 :     ST(argvi) = sv_newmortal();
    8127             :     
    8128           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    8129           0 :     XSRETURN(argvi);
    8130           0 :   fail:
    8131             :     
    8132           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    8133           0 :     SWIG_croak_null();
    8134             :   }
    8135             : }
    8136             : 
    8137             : 
    8138           0 : XS(_wrap_webObj_temppath_get) {
    8139             :   {
    8140             :     webObj *arg1 = (webObj *) 0 ;
    8141           0 :     void *argp1 = 0 ;
    8142             :     int res1 = 0 ;
    8143             :     int argvi = 0;
    8144             :     char *result = 0 ;
    8145           0 :     dXSARGS;
    8146             :     
    8147           0 :     if ((items < 1) || (items > 1)) {
    8148           0 :       SWIG_croak("Usage: webObj_temppath_get(self);");
    8149             :     }
    8150           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 |  0 );
    8151           0 :     if (!SWIG_IsOK(res1)) {
    8152           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_temppath_get" "', argument " "1"" of type '" "webObj *""'"); 
    8153             :     }
    8154           0 :     arg1 = (webObj *)(argp1);
    8155           0 :     result = (char *) ((arg1)->temppath);
    8156           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
    8157             :     
    8158           0 :     XSRETURN(argvi);
    8159           0 :   fail:
    8160             :     
    8161           0 :     SWIG_croak_null();
    8162             :   }
    8163             : }
    8164             : 
    8165             : 
    8166           0 : XS(_wrap_webObj_map_get) {
    8167             :   {
    8168             :     webObj *arg1 = (webObj *) 0 ;
    8169           0 :     void *argp1 = 0 ;
    8170             :     int res1 = 0 ;
    8171             :     int argvi = 0;
    8172             :     struct mapObj *result = 0 ;
    8173           0 :     dXSARGS;
    8174             :     
    8175           0 :     if ((items < 1) || (items > 1)) {
    8176           0 :       SWIG_croak("Usage: webObj_map_get(self);");
    8177             :     }
    8178           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 |  0 );
    8179           0 :     if (!SWIG_IsOK(res1)) {
    8180           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_map_get" "', argument " "1"" of type '" "webObj *""'"); 
    8181             :     }
    8182           0 :     arg1 = (webObj *)(argp1);
    8183             :     {
    8184             :       /* Accessing map */
    8185           0 :       result = (struct mapObj *) ((arg1)->map);;
    8186           0 :       MS_REFCNT_INCR(result);
    8187             :     }
    8188           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mapObj, 0 | SWIG_SHADOW); argvi++ ;
    8189             :     
    8190           0 :     XSRETURN(argvi);
    8191           0 :   fail:
    8192             :     
    8193           0 :     SWIG_croak_null();
    8194             :   }
    8195             : }
    8196             : 
    8197             : 
    8198           0 : XS(_wrap_webObj_template_set) {
    8199             :   {
    8200             :     webObj *arg1 = (webObj *) 0 ;
    8201             :     char *arg2 = (char *) 0 ;
    8202           0 :     void *argp1 = 0 ;
    8203             :     int res1 = 0 ;
    8204             :     int res2 ;
    8205           0 :     char *buf2 = 0 ;
    8206           0 :     int alloc2 = 0 ;
    8207             :     int argvi = 0;
    8208           0 :     dXSARGS;
    8209             :     
    8210           0 :     if ((items < 2) || (items > 2)) {
    8211           0 :       SWIG_croak("Usage: webObj_template_set(self,template);");
    8212             :     }
    8213           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 |  0 );
    8214           0 :     if (!SWIG_IsOK(res1)) {
    8215           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_template_set" "', argument " "1"" of type '" "webObj *""'"); 
    8216             :     }
    8217           0 :     arg1 = (webObj *)(argp1);
    8218           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    8219           0 :     if (!SWIG_IsOK(res2)) {
    8220           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "webObj_template_set" "', argument " "2"" of type '" "char *""'");
    8221             :     }
    8222           0 :     arg2 = (char *)(buf2);
    8223             :     {
    8224           0 :       if (arg1->template) free((char*)arg1->template);
    8225           0 :       if (arg2) {
    8226           0 :         arg1->template = (char *) malloc(strlen(arg2)+1);
    8227             :         strcpy((char*)arg1->template,arg2);
    8228             :       } else {
    8229           0 :         arg1->template = 0;
    8230             :       }
    8231             :     }
    8232           0 :     ST(argvi) = sv_newmortal();
    8233             :     
    8234           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    8235           0 :     XSRETURN(argvi);
    8236           0 :   fail:
    8237             :     
    8238           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    8239           0 :     SWIG_croak_null();
    8240             :   }
    8241             : }
    8242             : 
    8243             : 
    8244           0 : XS(_wrap_webObj_template_get) {
    8245             :   {
    8246             :     webObj *arg1 = (webObj *) 0 ;
    8247           0 :     void *argp1 = 0 ;
    8248             :     int res1 = 0 ;
    8249             :     int argvi = 0;
    8250             :     char *result = 0 ;
    8251           0 :     dXSARGS;
    8252             :     
    8253           0 :     if ((items < 1) || (items > 1)) {
    8254           0 :       SWIG_croak("Usage: webObj_template_get(self);");
    8255             :     }
    8256           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 |  0 );
    8257           0 :     if (!SWIG_IsOK(res1)) {
    8258           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_template_get" "', argument " "1"" of type '" "webObj *""'"); 
    8259             :     }
    8260           0 :     arg1 = (webObj *)(argp1);
    8261           0 :     result = (char *) ((arg1)->template);
    8262           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
    8263             :     
    8264           0 :     XSRETURN(argvi);
    8265           0 :   fail:
    8266             :     
    8267           0 :     SWIG_croak_null();
    8268             :   }
    8269             : }
    8270             : 
    8271             : 
    8272           0 : XS(_wrap_webObj_header_set) {
    8273             :   {
    8274             :     webObj *arg1 = (webObj *) 0 ;
    8275             :     char *arg2 = (char *) 0 ;
    8276           0 :     void *argp1 = 0 ;
    8277             :     int res1 = 0 ;
    8278             :     int res2 ;
    8279           0 :     char *buf2 = 0 ;
    8280           0 :     int alloc2 = 0 ;
    8281             :     int argvi = 0;
    8282           0 :     dXSARGS;
    8283             :     
    8284           0 :     if ((items < 2) || (items > 2)) {
    8285           0 :       SWIG_croak("Usage: webObj_header_set(self,header);");
    8286             :     }
    8287           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 |  0 );
    8288           0 :     if (!SWIG_IsOK(res1)) {
    8289           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_header_set" "', argument " "1"" of type '" "webObj *""'"); 
    8290             :     }
    8291           0 :     arg1 = (webObj *)(argp1);
    8292           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    8293           0 :     if (!SWIG_IsOK(res2)) {
    8294           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "webObj_header_set" "', argument " "2"" of type '" "char *""'");
    8295             :     }
    8296           0 :     arg2 = (char *)(buf2);
    8297             :     {
    8298           0 :       if (arg1->header) free((char*)arg1->header);
    8299           0 :       if (arg2) {
    8300           0 :         arg1->header = (char *) malloc(strlen(arg2)+1);
    8301             :         strcpy((char*)arg1->header,arg2);
    8302             :       } else {
    8303           0 :         arg1->header = 0;
    8304             :       }
    8305             :     }
    8306           0 :     ST(argvi) = sv_newmortal();
    8307             :     
    8308           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    8309           0 :     XSRETURN(argvi);
    8310           0 :   fail:
    8311             :     
    8312           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    8313           0 :     SWIG_croak_null();
    8314             :   }
    8315             : }
    8316             : 
    8317             : 
    8318           0 : XS(_wrap_webObj_header_get) {
    8319             :   {
    8320             :     webObj *arg1 = (webObj *) 0 ;
    8321           0 :     void *argp1 = 0 ;
    8322             :     int res1 = 0 ;
    8323             :     int argvi = 0;
    8324             :     char *result = 0 ;
    8325           0 :     dXSARGS;
    8326             :     
    8327           0 :     if ((items < 1) || (items > 1)) {
    8328           0 :       SWIG_croak("Usage: webObj_header_get(self);");
    8329             :     }
    8330           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 |  0 );
    8331           0 :     if (!SWIG_IsOK(res1)) {
    8332           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_header_get" "', argument " "1"" of type '" "webObj *""'"); 
    8333             :     }
    8334           0 :     arg1 = (webObj *)(argp1);
    8335           0 :     result = (char *) ((arg1)->header);
    8336           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
    8337             :     
    8338           0 :     XSRETURN(argvi);
    8339           0 :   fail:
    8340             :     
    8341           0 :     SWIG_croak_null();
    8342             :   }
    8343             : }
    8344             : 
    8345             : 
    8346           0 : XS(_wrap_webObj_footer_set) {
    8347             :   {
    8348             :     webObj *arg1 = (webObj *) 0 ;
    8349             :     char *arg2 = (char *) 0 ;
    8350           0 :     void *argp1 = 0 ;
    8351             :     int res1 = 0 ;
    8352             :     int res2 ;
    8353           0 :     char *buf2 = 0 ;
    8354           0 :     int alloc2 = 0 ;
    8355             :     int argvi = 0;
    8356           0 :     dXSARGS;
    8357             :     
    8358           0 :     if ((items < 2) || (items > 2)) {
    8359           0 :       SWIG_croak("Usage: webObj_footer_set(self,footer);");
    8360             :     }
    8361           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 |  0 );
    8362           0 :     if (!SWIG_IsOK(res1)) {
    8363           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_footer_set" "', argument " "1"" of type '" "webObj *""'"); 
    8364             :     }
    8365           0 :     arg1 = (webObj *)(argp1);
    8366           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    8367           0 :     if (!SWIG_IsOK(res2)) {
    8368           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "webObj_footer_set" "', argument " "2"" of type '" "char *""'");
    8369             :     }
    8370           0 :     arg2 = (char *)(buf2);
    8371             :     {
    8372           0 :       if (arg1->footer) free((char*)arg1->footer);
    8373           0 :       if (arg2) {
    8374           0 :         arg1->footer = (char *) malloc(strlen(arg2)+1);
    8375             :         strcpy((char*)arg1->footer,arg2);
    8376             :       } else {
    8377           0 :         arg1->footer = 0;
    8378             :       }
    8379             :     }
    8380           0 :     ST(argvi) = sv_newmortal();
    8381             :     
    8382           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    8383           0 :     XSRETURN(argvi);
    8384           0 :   fail:
    8385             :     
    8386           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    8387           0 :     SWIG_croak_null();
    8388             :   }
    8389             : }
    8390             : 
    8391             : 
    8392           0 : XS(_wrap_webObj_footer_get) {
    8393             :   {
    8394             :     webObj *arg1 = (webObj *) 0 ;
    8395           0 :     void *argp1 = 0 ;
    8396             :     int res1 = 0 ;
    8397             :     int argvi = 0;
    8398             :     char *result = 0 ;
    8399           0 :     dXSARGS;
    8400             :     
    8401           0 :     if ((items < 1) || (items > 1)) {
    8402           0 :       SWIG_croak("Usage: webObj_footer_get(self);");
    8403             :     }
    8404           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 |  0 );
    8405           0 :     if (!SWIG_IsOK(res1)) {
    8406           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_footer_get" "', argument " "1"" of type '" "webObj *""'"); 
    8407             :     }
    8408           0 :     arg1 = (webObj *)(argp1);
    8409           0 :     result = (char *) ((arg1)->footer);
    8410           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
    8411             :     
    8412           0 :     XSRETURN(argvi);
    8413           0 :   fail:
    8414             :     
    8415           0 :     SWIG_croak_null();
    8416             :   }
    8417             : }
    8418             : 
    8419             : 
    8420           0 : XS(_wrap_webObj_empty_set) {
    8421             :   {
    8422             :     webObj *arg1 = (webObj *) 0 ;
    8423             :     char *arg2 = (char *) 0 ;
    8424           0 :     void *argp1 = 0 ;
    8425             :     int res1 = 0 ;
    8426             :     int res2 ;
    8427           0 :     char *buf2 = 0 ;
    8428           0 :     int alloc2 = 0 ;
    8429             :     int argvi = 0;
    8430           0 :     dXSARGS;
    8431             :     
    8432           0 :     if ((items < 2) || (items > 2)) {
    8433           0 :       SWIG_croak("Usage: webObj_empty_set(self,empty);");
    8434             :     }
    8435           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 |  0 );
    8436           0 :     if (!SWIG_IsOK(res1)) {
    8437           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_empty_set" "', argument " "1"" of type '" "webObj *""'"); 
    8438             :     }
    8439           0 :     arg1 = (webObj *)(argp1);
    8440           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    8441           0 :     if (!SWIG_IsOK(res2)) {
    8442           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "webObj_empty_set" "', argument " "2"" of type '" "char *""'");
    8443             :     }
    8444           0 :     arg2 = (char *)(buf2);
    8445             :     {
    8446           0 :       if (arg1->empty) free((char*)arg1->empty);
    8447           0 :       if (arg2) {
    8448           0 :         arg1->empty = (char *) malloc(strlen(arg2)+1);
    8449             :         strcpy((char*)arg1->empty,arg2);
    8450             :       } else {
    8451           0 :         arg1->empty = 0;
    8452             :       }
    8453             :     }
    8454           0 :     ST(argvi) = sv_newmortal();
    8455             :     
    8456           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    8457           0 :     XSRETURN(argvi);
    8458           0 :   fail:
    8459             :     
    8460           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    8461           0 :     SWIG_croak_null();
    8462             :   }
    8463             : }
    8464             : 
    8465             : 
    8466           0 : XS(_wrap_webObj_empty_get) {
    8467             :   {
    8468             :     webObj *arg1 = (webObj *) 0 ;
    8469           0 :     void *argp1 = 0 ;
    8470             :     int res1 = 0 ;
    8471             :     int argvi = 0;
    8472             :     char *result = 0 ;
    8473           0 :     dXSARGS;
    8474             :     
    8475           0 :     if ((items < 1) || (items > 1)) {
    8476           0 :       SWIG_croak("Usage: webObj_empty_get(self);");
    8477             :     }
    8478           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 |  0 );
    8479           0 :     if (!SWIG_IsOK(res1)) {
    8480           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_empty_get" "', argument " "1"" of type '" "webObj *""'"); 
    8481             :     }
    8482           0 :     arg1 = (webObj *)(argp1);
    8483           0 :     result = (char *) ((arg1)->empty);
    8484           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
    8485             :     
    8486           0 :     XSRETURN(argvi);
    8487           0 :   fail:
    8488             :     
    8489           0 :     SWIG_croak_null();
    8490             :   }
    8491             : }
    8492             : 
    8493             : 
    8494           0 : XS(_wrap_webObj_error_set) {
    8495             :   {
    8496             :     webObj *arg1 = (webObj *) 0 ;
    8497             :     char *arg2 = (char *) 0 ;
    8498           0 :     void *argp1 = 0 ;
    8499             :     int res1 = 0 ;
    8500             :     int res2 ;
    8501           0 :     char *buf2 = 0 ;
    8502           0 :     int alloc2 = 0 ;
    8503             :     int argvi = 0;
    8504           0 :     dXSARGS;
    8505             :     
    8506           0 :     if ((items < 2) || (items > 2)) {
    8507           0 :       SWIG_croak("Usage: webObj_error_set(self,error);");
    8508             :     }
    8509           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 |  0 );
    8510           0 :     if (!SWIG_IsOK(res1)) {
    8511           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_error_set" "', argument " "1"" of type '" "webObj *""'"); 
    8512             :     }
    8513           0 :     arg1 = (webObj *)(argp1);
    8514           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    8515           0 :     if (!SWIG_IsOK(res2)) {
    8516           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "webObj_error_set" "', argument " "2"" of type '" "char *""'");
    8517             :     }
    8518           0 :     arg2 = (char *)(buf2);
    8519             :     {
    8520           0 :       if (arg1->error) free((char*)arg1->error);
    8521           0 :       if (arg2) {
    8522           0 :         arg1->error = (char *) malloc(strlen(arg2)+1);
    8523             :         strcpy((char*)arg1->error,arg2);
    8524             :       } else {
    8525           0 :         arg1->error = 0;
    8526             :       }
    8527             :     }
    8528           0 :     ST(argvi) = sv_newmortal();
    8529             :     
    8530           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    8531           0 :     XSRETURN(argvi);
    8532           0 :   fail:
    8533             :     
    8534           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    8535           0 :     SWIG_croak_null();
    8536             :   }
    8537             : }
    8538             : 
    8539             : 
    8540           0 : XS(_wrap_webObj_error_get) {
    8541             :   {
    8542             :     webObj *arg1 = (webObj *) 0 ;
    8543           0 :     void *argp1 = 0 ;
    8544             :     int res1 = 0 ;
    8545             :     int argvi = 0;
    8546             :     char *result = 0 ;
    8547           0 :     dXSARGS;
    8548             :     
    8549           0 :     if ((items < 1) || (items > 1)) {
    8550           0 :       SWIG_croak("Usage: webObj_error_get(self);");
    8551             :     }
    8552           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 |  0 );
    8553           0 :     if (!SWIG_IsOK(res1)) {
    8554           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_error_get" "', argument " "1"" of type '" "webObj *""'"); 
    8555             :     }
    8556           0 :     arg1 = (webObj *)(argp1);
    8557           0 :     result = (char *) ((arg1)->error);
    8558           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
    8559             :     
    8560           0 :     XSRETURN(argvi);
    8561           0 :   fail:
    8562             :     
    8563           0 :     SWIG_croak_null();
    8564             :   }
    8565             : }
    8566             : 
    8567             : 
    8568           0 : XS(_wrap_webObj_extent_set) {
    8569             :   {
    8570             :     webObj *arg1 = (webObj *) 0 ;
    8571             :     rectObj *arg2 = (rectObj *) 0 ;
    8572           0 :     void *argp1 = 0 ;
    8573             :     int res1 = 0 ;
    8574           0 :     void *argp2 = 0 ;
    8575             :     int res2 = 0 ;
    8576             :     int argvi = 0;
    8577           0 :     dXSARGS;
    8578             :     
    8579           0 :     if ((items < 2) || (items > 2)) {
    8580           0 :       SWIG_croak("Usage: webObj_extent_set(self,extent);");
    8581             :     }
    8582           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 |  0 );
    8583           0 :     if (!SWIG_IsOK(res1)) {
    8584           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_extent_set" "', argument " "1"" of type '" "webObj *""'"); 
    8585             :     }
    8586           0 :     arg1 = (webObj *)(argp1);
    8587           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_rectObj, 0 |  0 );
    8588           0 :     if (!SWIG_IsOK(res2)) {
    8589           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "webObj_extent_set" "', argument " "2"" of type '" "rectObj *""'"); 
    8590             :     }
    8591           0 :     arg2 = (rectObj *)(argp2);
    8592           0 :     if (arg1) (arg1)->extent = *arg2;
    8593           0 :     ST(argvi) = sv_newmortal();
    8594             :     
    8595             :     
    8596           0 :     XSRETURN(argvi);
    8597           0 :   fail:
    8598             :     
    8599             :     
    8600           0 :     SWIG_croak_null();
    8601             :   }
    8602             : }
    8603             : 
    8604             : 
    8605           0 : XS(_wrap_webObj_extent_get) {
    8606             :   {
    8607             :     webObj *arg1 = (webObj *) 0 ;
    8608           0 :     void *argp1 = 0 ;
    8609             :     int res1 = 0 ;
    8610             :     int argvi = 0;
    8611             :     rectObj *result = 0 ;
    8612           0 :     dXSARGS;
    8613             :     
    8614           0 :     if ((items < 1) || (items > 1)) {
    8615           0 :       SWIG_croak("Usage: webObj_extent_get(self);");
    8616             :     }
    8617           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 |  0 );
    8618           0 :     if (!SWIG_IsOK(res1)) {
    8619           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_extent_get" "', argument " "1"" of type '" "webObj *""'"); 
    8620             :     }
    8621           0 :     arg1 = (webObj *)(argp1);
    8622           0 :     result = (rectObj *)& ((arg1)->extent);
    8623           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_rectObj, 0 | SWIG_SHADOW); argvi++ ;
    8624             :     
    8625           0 :     XSRETURN(argvi);
    8626           0 :   fail:
    8627             :     
    8628           0 :     SWIG_croak_null();
    8629             :   }
    8630             : }
    8631             : 
    8632             : 
    8633           0 : XS(_wrap_webObj_minscaledenom_set) {
    8634             :   {
    8635             :     webObj *arg1 = (webObj *) 0 ;
    8636             :     double arg2 ;
    8637           0 :     void *argp1 = 0 ;
    8638             :     int res1 = 0 ;
    8639             :     double val2 ;
    8640             :     int ecode2 = 0 ;
    8641             :     int argvi = 0;
    8642           0 :     dXSARGS;
    8643             :     
    8644           0 :     if ((items < 2) || (items > 2)) {
    8645           0 :       SWIG_croak("Usage: webObj_minscaledenom_set(self,minscaledenom);");
    8646             :     }
    8647           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 |  0 );
    8648           0 :     if (!SWIG_IsOK(res1)) {
    8649           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_minscaledenom_set" "', argument " "1"" of type '" "webObj *""'"); 
    8650             :     }
    8651           0 :     arg1 = (webObj *)(argp1);
    8652           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    8653           0 :     if (!SWIG_IsOK(ecode2)) {
    8654           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "webObj_minscaledenom_set" "', argument " "2"" of type '" "double""'");
    8655             :     } 
    8656           0 :     arg2 = (double)(val2);
    8657           0 :     if (arg1) (arg1)->minscaledenom = arg2;
    8658           0 :     ST(argvi) = sv_newmortal();
    8659             :     
    8660             :     
    8661           0 :     XSRETURN(argvi);
    8662           0 :   fail:
    8663             :     
    8664             :     
    8665           0 :     SWIG_croak_null();
    8666             :   }
    8667             : }
    8668             : 
    8669             : 
    8670           0 : XS(_wrap_webObj_minscaledenom_get) {
    8671             :   {
    8672             :     webObj *arg1 = (webObj *) 0 ;
    8673           0 :     void *argp1 = 0 ;
    8674             :     int res1 = 0 ;
    8675             :     int argvi = 0;
    8676             :     double result;
    8677           0 :     dXSARGS;
    8678             :     
    8679           0 :     if ((items < 1) || (items > 1)) {
    8680           0 :       SWIG_croak("Usage: webObj_minscaledenom_get(self);");
    8681             :     }
    8682           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 |  0 );
    8683           0 :     if (!SWIG_IsOK(res1)) {
    8684           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_minscaledenom_get" "', argument " "1"" of type '" "webObj *""'"); 
    8685             :     }
    8686           0 :     arg1 = (webObj *)(argp1);
    8687           0 :     result = (double) ((arg1)->minscaledenom);
    8688           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
    8689             :     
    8690           0 :     XSRETURN(argvi);
    8691           0 :   fail:
    8692             :     
    8693           0 :     SWIG_croak_null();
    8694             :   }
    8695             : }
    8696             : 
    8697             : 
    8698           0 : XS(_wrap_webObj_maxscaledenom_set) {
    8699             :   {
    8700             :     webObj *arg1 = (webObj *) 0 ;
    8701             :     double arg2 ;
    8702           0 :     void *argp1 = 0 ;
    8703             :     int res1 = 0 ;
    8704             :     double val2 ;
    8705             :     int ecode2 = 0 ;
    8706             :     int argvi = 0;
    8707           0 :     dXSARGS;
    8708             :     
    8709           0 :     if ((items < 2) || (items > 2)) {
    8710           0 :       SWIG_croak("Usage: webObj_maxscaledenom_set(self,maxscaledenom);");
    8711             :     }
    8712           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 |  0 );
    8713           0 :     if (!SWIG_IsOK(res1)) {
    8714           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_maxscaledenom_set" "', argument " "1"" of type '" "webObj *""'"); 
    8715             :     }
    8716           0 :     arg1 = (webObj *)(argp1);
    8717           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    8718           0 :     if (!SWIG_IsOK(ecode2)) {
    8719           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "webObj_maxscaledenom_set" "', argument " "2"" of type '" "double""'");
    8720             :     } 
    8721           0 :     arg2 = (double)(val2);
    8722           0 :     if (arg1) (arg1)->maxscaledenom = arg2;
    8723           0 :     ST(argvi) = sv_newmortal();
    8724             :     
    8725             :     
    8726           0 :     XSRETURN(argvi);
    8727           0 :   fail:
    8728             :     
    8729             :     
    8730           0 :     SWIG_croak_null();
    8731             :   }
    8732             : }
    8733             : 
    8734             : 
    8735           0 : XS(_wrap_webObj_maxscaledenom_get) {
    8736             :   {
    8737             :     webObj *arg1 = (webObj *) 0 ;
    8738           0 :     void *argp1 = 0 ;
    8739             :     int res1 = 0 ;
    8740             :     int argvi = 0;
    8741             :     double result;
    8742           0 :     dXSARGS;
    8743             :     
    8744           0 :     if ((items < 1) || (items > 1)) {
    8745           0 :       SWIG_croak("Usage: webObj_maxscaledenom_get(self);");
    8746             :     }
    8747           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 |  0 );
    8748           0 :     if (!SWIG_IsOK(res1)) {
    8749           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_maxscaledenom_get" "', argument " "1"" of type '" "webObj *""'"); 
    8750             :     }
    8751           0 :     arg1 = (webObj *)(argp1);
    8752           0 :     result = (double) ((arg1)->maxscaledenom);
    8753           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
    8754             :     
    8755           0 :     XSRETURN(argvi);
    8756           0 :   fail:
    8757             :     
    8758           0 :     SWIG_croak_null();
    8759             :   }
    8760             : }
    8761             : 
    8762             : 
    8763           0 : XS(_wrap_webObj_mintemplate_set) {
    8764             :   {
    8765             :     webObj *arg1 = (webObj *) 0 ;
    8766             :     char *arg2 = (char *) 0 ;
    8767           0 :     void *argp1 = 0 ;
    8768             :     int res1 = 0 ;
    8769             :     int res2 ;
    8770           0 :     char *buf2 = 0 ;
    8771           0 :     int alloc2 = 0 ;
    8772             :     int argvi = 0;
    8773           0 :     dXSARGS;
    8774             :     
    8775           0 :     if ((items < 2) || (items > 2)) {
    8776           0 :       SWIG_croak("Usage: webObj_mintemplate_set(self,mintemplate);");
    8777             :     }
    8778           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 |  0 );
    8779           0 :     if (!SWIG_IsOK(res1)) {
    8780           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_mintemplate_set" "', argument " "1"" of type '" "webObj *""'"); 
    8781             :     }
    8782           0 :     arg1 = (webObj *)(argp1);
    8783           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    8784           0 :     if (!SWIG_IsOK(res2)) {
    8785           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "webObj_mintemplate_set" "', argument " "2"" of type '" "char *""'");
    8786             :     }
    8787           0 :     arg2 = (char *)(buf2);
    8788             :     {
    8789           0 :       if (arg1->mintemplate) free((char*)arg1->mintemplate);
    8790           0 :       if (arg2) {
    8791           0 :         arg1->mintemplate = (char *) malloc(strlen(arg2)+1);
    8792             :         strcpy((char*)arg1->mintemplate,arg2);
    8793             :       } else {
    8794           0 :         arg1->mintemplate = 0;
    8795             :       }
    8796             :     }
    8797           0 :     ST(argvi) = sv_newmortal();
    8798             :     
    8799           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    8800           0 :     XSRETURN(argvi);
    8801           0 :   fail:
    8802             :     
    8803           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    8804           0 :     SWIG_croak_null();
    8805             :   }
    8806             : }
    8807             : 
    8808             : 
    8809           0 : XS(_wrap_webObj_mintemplate_get) {
    8810             :   {
    8811             :     webObj *arg1 = (webObj *) 0 ;
    8812           0 :     void *argp1 = 0 ;
    8813             :     int res1 = 0 ;
    8814             :     int argvi = 0;
    8815             :     char *result = 0 ;
    8816           0 :     dXSARGS;
    8817             :     
    8818           0 :     if ((items < 1) || (items > 1)) {
    8819           0 :       SWIG_croak("Usage: webObj_mintemplate_get(self);");
    8820             :     }
    8821           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 |  0 );
    8822           0 :     if (!SWIG_IsOK(res1)) {
    8823           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_mintemplate_get" "', argument " "1"" of type '" "webObj *""'"); 
    8824             :     }
    8825           0 :     arg1 = (webObj *)(argp1);
    8826           0 :     result = (char *) ((arg1)->mintemplate);
    8827           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
    8828             :     
    8829           0 :     XSRETURN(argvi);
    8830           0 :   fail:
    8831             :     
    8832           0 :     SWIG_croak_null();
    8833             :   }
    8834             : }
    8835             : 
    8836             : 
    8837           0 : XS(_wrap_webObj_maxtemplate_set) {
    8838             :   {
    8839             :     webObj *arg1 = (webObj *) 0 ;
    8840             :     char *arg2 = (char *) 0 ;
    8841           0 :     void *argp1 = 0 ;
    8842             :     int res1 = 0 ;
    8843             :     int res2 ;
    8844           0 :     char *buf2 = 0 ;
    8845           0 :     int alloc2 = 0 ;
    8846             :     int argvi = 0;
    8847           0 :     dXSARGS;
    8848             :     
    8849           0 :     if ((items < 2) || (items > 2)) {
    8850           0 :       SWIG_croak("Usage: webObj_maxtemplate_set(self,maxtemplate);");
    8851             :     }
    8852           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 |  0 );
    8853           0 :     if (!SWIG_IsOK(res1)) {
    8854           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_maxtemplate_set" "', argument " "1"" of type '" "webObj *""'"); 
    8855             :     }
    8856           0 :     arg1 = (webObj *)(argp1);
    8857           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    8858           0 :     if (!SWIG_IsOK(res2)) {
    8859           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "webObj_maxtemplate_set" "', argument " "2"" of type '" "char *""'");
    8860             :     }
    8861           0 :     arg2 = (char *)(buf2);
    8862             :     {
    8863           0 :       if (arg1->maxtemplate) free((char*)arg1->maxtemplate);
    8864           0 :       if (arg2) {
    8865           0 :         arg1->maxtemplate = (char *) malloc(strlen(arg2)+1);
    8866             :         strcpy((char*)arg1->maxtemplate,arg2);
    8867             :       } else {
    8868           0 :         arg1->maxtemplate = 0;
    8869             :       }
    8870             :     }
    8871           0 :     ST(argvi) = sv_newmortal();
    8872             :     
    8873           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    8874           0 :     XSRETURN(argvi);
    8875           0 :   fail:
    8876             :     
    8877           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    8878           0 :     SWIG_croak_null();
    8879             :   }
    8880             : }
    8881             : 
    8882             : 
    8883           0 : XS(_wrap_webObj_maxtemplate_get) {
    8884             :   {
    8885             :     webObj *arg1 = (webObj *) 0 ;
    8886           0 :     void *argp1 = 0 ;
    8887             :     int res1 = 0 ;
    8888             :     int argvi = 0;
    8889             :     char *result = 0 ;
    8890           0 :     dXSARGS;
    8891             :     
    8892           0 :     if ((items < 1) || (items > 1)) {
    8893           0 :       SWIG_croak("Usage: webObj_maxtemplate_get(self);");
    8894             :     }
    8895           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 |  0 );
    8896           0 :     if (!SWIG_IsOK(res1)) {
    8897           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_maxtemplate_get" "', argument " "1"" of type '" "webObj *""'"); 
    8898             :     }
    8899           0 :     arg1 = (webObj *)(argp1);
    8900           0 :     result = (char *) ((arg1)->maxtemplate);
    8901           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
    8902             :     
    8903           0 :     XSRETURN(argvi);
    8904           0 :   fail:
    8905             :     
    8906           0 :     SWIG_croak_null();
    8907             :   }
    8908             : }
    8909             : 
    8910             : 
    8911           0 : XS(_wrap_webObj_queryformat_set) {
    8912             :   {
    8913             :     webObj *arg1 = (webObj *) 0 ;
    8914             :     char *arg2 = (char *) 0 ;
    8915           0 :     void *argp1 = 0 ;
    8916             :     int res1 = 0 ;
    8917             :     int res2 ;
    8918           0 :     char *buf2 = 0 ;
    8919           0 :     int alloc2 = 0 ;
    8920             :     int argvi = 0;
    8921           0 :     dXSARGS;
    8922             :     
    8923           0 :     if ((items < 2) || (items > 2)) {
    8924           0 :       SWIG_croak("Usage: webObj_queryformat_set(self,queryformat);");
    8925             :     }
    8926           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 |  0 );
    8927           0 :     if (!SWIG_IsOK(res1)) {
    8928           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_queryformat_set" "', argument " "1"" of type '" "webObj *""'"); 
    8929             :     }
    8930           0 :     arg1 = (webObj *)(argp1);
    8931           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    8932           0 :     if (!SWIG_IsOK(res2)) {
    8933           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "webObj_queryformat_set" "', argument " "2"" of type '" "char *""'");
    8934             :     }
    8935           0 :     arg2 = (char *)(buf2);
    8936             :     {
    8937           0 :       if (arg1->queryformat) free((char*)arg1->queryformat);
    8938           0 :       if (arg2) {
    8939           0 :         arg1->queryformat = (char *) malloc(strlen(arg2)+1);
    8940             :         strcpy((char*)arg1->queryformat,arg2);
    8941             :       } else {
    8942           0 :         arg1->queryformat = 0;
    8943             :       }
    8944             :     }
    8945           0 :     ST(argvi) = sv_newmortal();
    8946             :     
    8947           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    8948           0 :     XSRETURN(argvi);
    8949           0 :   fail:
    8950             :     
    8951           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    8952           0 :     SWIG_croak_null();
    8953             :   }
    8954             : }
    8955             : 
    8956             : 
    8957           0 : XS(_wrap_webObj_queryformat_get) {
    8958             :   {
    8959             :     webObj *arg1 = (webObj *) 0 ;
    8960           0 :     void *argp1 = 0 ;
    8961             :     int res1 = 0 ;
    8962             :     int argvi = 0;
    8963             :     char *result = 0 ;
    8964           0 :     dXSARGS;
    8965             :     
    8966           0 :     if ((items < 1) || (items > 1)) {
    8967           0 :       SWIG_croak("Usage: webObj_queryformat_get(self);");
    8968             :     }
    8969           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 |  0 );
    8970           0 :     if (!SWIG_IsOK(res1)) {
    8971           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_queryformat_get" "', argument " "1"" of type '" "webObj *""'"); 
    8972             :     }
    8973           0 :     arg1 = (webObj *)(argp1);
    8974           0 :     result = (char *) ((arg1)->queryformat);
    8975           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
    8976             :     
    8977           0 :     XSRETURN(argvi);
    8978           0 :   fail:
    8979             :     
    8980           0 :     SWIG_croak_null();
    8981             :   }
    8982             : }
    8983             : 
    8984             : 
    8985           0 : XS(_wrap_webObj_legendformat_set) {
    8986             :   {
    8987             :     webObj *arg1 = (webObj *) 0 ;
    8988             :     char *arg2 = (char *) 0 ;
    8989           0 :     void *argp1 = 0 ;
    8990             :     int res1 = 0 ;
    8991             :     int res2 ;
    8992           0 :     char *buf2 = 0 ;
    8993           0 :     int alloc2 = 0 ;
    8994             :     int argvi = 0;
    8995           0 :     dXSARGS;
    8996             :     
    8997           0 :     if ((items < 2) || (items > 2)) {
    8998           0 :       SWIG_croak("Usage: webObj_legendformat_set(self,legendformat);");
    8999             :     }
    9000           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 |  0 );
    9001           0 :     if (!SWIG_IsOK(res1)) {
    9002           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_legendformat_set" "', argument " "1"" of type '" "webObj *""'"); 
    9003             :     }
    9004           0 :     arg1 = (webObj *)(argp1);
    9005           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    9006           0 :     if (!SWIG_IsOK(res2)) {
    9007           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "webObj_legendformat_set" "', argument " "2"" of type '" "char *""'");
    9008             :     }
    9009           0 :     arg2 = (char *)(buf2);
    9010             :     {
    9011           0 :       if (arg1->legendformat) free((char*)arg1->legendformat);
    9012           0 :       if (arg2) {
    9013           0 :         arg1->legendformat = (char *) malloc(strlen(arg2)+1);
    9014             :         strcpy((char*)arg1->legendformat,arg2);
    9015             :       } else {
    9016           0 :         arg1->legendformat = 0;
    9017             :       }
    9018             :     }
    9019           0 :     ST(argvi) = sv_newmortal();
    9020             :     
    9021           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    9022           0 :     XSRETURN(argvi);
    9023           0 :   fail:
    9024             :     
    9025           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    9026           0 :     SWIG_croak_null();
    9027             :   }
    9028             : }
    9029             : 
    9030             : 
    9031           0 : XS(_wrap_webObj_legendformat_get) {
    9032             :   {
    9033             :     webObj *arg1 = (webObj *) 0 ;
    9034           0 :     void *argp1 = 0 ;
    9035             :     int res1 = 0 ;
    9036             :     int argvi = 0;
    9037             :     char *result = 0 ;
    9038           0 :     dXSARGS;
    9039             :     
    9040           0 :     if ((items < 1) || (items > 1)) {
    9041           0 :       SWIG_croak("Usage: webObj_legendformat_get(self);");
    9042             :     }
    9043           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 |  0 );
    9044           0 :     if (!SWIG_IsOK(res1)) {
    9045           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_legendformat_get" "', argument " "1"" of type '" "webObj *""'"); 
    9046             :     }
    9047           0 :     arg1 = (webObj *)(argp1);
    9048           0 :     result = (char *) ((arg1)->legendformat);
    9049           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
    9050             :     
    9051           0 :     XSRETURN(argvi);
    9052           0 :   fail:
    9053             :     
    9054           0 :     SWIG_croak_null();
    9055             :   }
    9056             : }
    9057             : 
    9058             : 
    9059           0 : XS(_wrap_webObj_browseformat_set) {
    9060             :   {
    9061             :     webObj *arg1 = (webObj *) 0 ;
    9062             :     char *arg2 = (char *) 0 ;
    9063           0 :     void *argp1 = 0 ;
    9064             :     int res1 = 0 ;
    9065             :     int res2 ;
    9066           0 :     char *buf2 = 0 ;
    9067           0 :     int alloc2 = 0 ;
    9068             :     int argvi = 0;
    9069           0 :     dXSARGS;
    9070             :     
    9071           0 :     if ((items < 2) || (items > 2)) {
    9072           0 :       SWIG_croak("Usage: webObj_browseformat_set(self,browseformat);");
    9073             :     }
    9074           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 |  0 );
    9075           0 :     if (!SWIG_IsOK(res1)) {
    9076           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_browseformat_set" "', argument " "1"" of type '" "webObj *""'"); 
    9077             :     }
    9078           0 :     arg1 = (webObj *)(argp1);
    9079           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    9080           0 :     if (!SWIG_IsOK(res2)) {
    9081           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "webObj_browseformat_set" "', argument " "2"" of type '" "char *""'");
    9082             :     }
    9083           0 :     arg2 = (char *)(buf2);
    9084             :     {
    9085           0 :       if (arg1->browseformat) free((char*)arg1->browseformat);
    9086           0 :       if (arg2) {
    9087           0 :         arg1->browseformat = (char *) malloc(strlen(arg2)+1);
    9088             :         strcpy((char*)arg1->browseformat,arg2);
    9089             :       } else {
    9090           0 :         arg1->browseformat = 0;
    9091             :       }
    9092             :     }
    9093           0 :     ST(argvi) = sv_newmortal();
    9094             :     
    9095           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    9096           0 :     XSRETURN(argvi);
    9097           0 :   fail:
    9098             :     
    9099           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    9100           0 :     SWIG_croak_null();
    9101             :   }
    9102             : }
    9103             : 
    9104             : 
    9105           0 : XS(_wrap_webObj_browseformat_get) {
    9106             :   {
    9107             :     webObj *arg1 = (webObj *) 0 ;
    9108           0 :     void *argp1 = 0 ;
    9109             :     int res1 = 0 ;
    9110             :     int argvi = 0;
    9111             :     char *result = 0 ;
    9112           0 :     dXSARGS;
    9113             :     
    9114           0 :     if ((items < 1) || (items > 1)) {
    9115           0 :       SWIG_croak("Usage: webObj_browseformat_get(self);");
    9116             :     }
    9117           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 |  0 );
    9118           0 :     if (!SWIG_IsOK(res1)) {
    9119           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_browseformat_get" "', argument " "1"" of type '" "webObj *""'"); 
    9120             :     }
    9121           0 :     arg1 = (webObj *)(argp1);
    9122           0 :     result = (char *) ((arg1)->browseformat);
    9123           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
    9124             :     
    9125           0 :     XSRETURN(argvi);
    9126           0 :   fail:
    9127             :     
    9128           0 :     SWIG_croak_null();
    9129             :   }
    9130             : }
    9131             : 
    9132             : 
    9133           0 : XS(_wrap_webObj_metadata_get) {
    9134             :   {
    9135             :     webObj *arg1 = (webObj *) 0 ;
    9136           0 :     void *argp1 = 0 ;
    9137             :     int res1 = 0 ;
    9138             :     int argvi = 0;
    9139             :     hashTableObj *result = 0 ;
    9140           0 :     dXSARGS;
    9141             :     
    9142           0 :     if ((items < 1) || (items > 1)) {
    9143           0 :       SWIG_croak("Usage: webObj_metadata_get(self);");
    9144             :     }
    9145           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 |  0 );
    9146           0 :     if (!SWIG_IsOK(res1)) {
    9147           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_metadata_get" "', argument " "1"" of type '" "webObj *""'"); 
    9148             :     }
    9149           0 :     arg1 = (webObj *)(argp1);
    9150           0 :     result = (hashTableObj *)& ((arg1)->metadata);
    9151           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_hashTableObj, 0 | SWIG_SHADOW); argvi++ ;
    9152             :     
    9153           0 :     XSRETURN(argvi);
    9154           0 :   fail:
    9155             :     
    9156           0 :     SWIG_croak_null();
    9157             :   }
    9158             : }
    9159             : 
    9160             : 
    9161           0 : XS(_wrap_webObj_validation_get) {
    9162             :   {
    9163             :     webObj *arg1 = (webObj *) 0 ;
    9164           0 :     void *argp1 = 0 ;
    9165             :     int res1 = 0 ;
    9166             :     int argvi = 0;
    9167             :     hashTableObj *result = 0 ;
    9168           0 :     dXSARGS;
    9169             :     
    9170           0 :     if ((items < 1) || (items > 1)) {
    9171           0 :       SWIG_croak("Usage: webObj_validation_get(self);");
    9172             :     }
    9173           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 |  0 );
    9174           0 :     if (!SWIG_IsOK(res1)) {
    9175           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_validation_get" "', argument " "1"" of type '" "webObj *""'"); 
    9176             :     }
    9177           0 :     arg1 = (webObj *)(argp1);
    9178           0 :     result = (hashTableObj *)& ((arg1)->validation);
    9179           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_hashTableObj, 0 | SWIG_SHADOW); argvi++ ;
    9180             :     
    9181           0 :     XSRETURN(argvi);
    9182           0 :   fail:
    9183             :     
    9184           0 :     SWIG_croak_null();
    9185             :   }
    9186             : }
    9187             : 
    9188             : 
    9189           0 : XS(_wrap_new_webObj) {
    9190             :   {
    9191             :     int argvi = 0;
    9192             :     webObj *result = 0 ;
    9193           0 :     dXSARGS;
    9194             :     
    9195           0 :     if ((items < 0) || (items > 0)) {
    9196           0 :       SWIG_croak("Usage: new_webObj();");
    9197             :     }
    9198             :     result = (webObj *)new_webObj();
    9199           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_webObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
    9200           0 :     XSRETURN(argvi);
    9201             :   fail:
    9202           0 :     SWIG_croak_null();
    9203             :   }
    9204             : }
    9205             : 
    9206             : 
    9207           0 : XS(_wrap_delete_webObj) {
    9208             :   {
    9209             :     webObj *arg1 = (webObj *) 0 ;
    9210           0 :     void *argp1 = 0 ;
    9211             :     int res1 = 0 ;
    9212             :     int argvi = 0;
    9213           0 :     dXSARGS;
    9214             :     
    9215           0 :     if ((items < 1) || (items > 1)) {
    9216           0 :       SWIG_croak("Usage: delete_webObj(self);");
    9217             :     }
    9218           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, SWIG_POINTER_DISOWN |  0 );
    9219           0 :     if (!SWIG_IsOK(res1)) {
    9220           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_webObj" "', argument " "1"" of type '" "webObj *""'"); 
    9221             :     }
    9222           0 :     arg1 = (webObj *)(argp1);
    9223             :     delete_webObj(arg1);
    9224           0 :     ST(argvi) = sv_newmortal();
    9225             :     
    9226           0 :     XSRETURN(argvi);
    9227           0 :   fail:
    9228             :     
    9229           0 :     SWIG_croak_null();
    9230             :   }
    9231             : }
    9232             : 
    9233             : 
    9234           0 : XS(_wrap_webObj_updateFromString) {
    9235             :   {
    9236             :     webObj *arg1 = (webObj *) 0 ;
    9237             :     char *arg2 = (char *) 0 ;
    9238           0 :     void *argp1 = 0 ;
    9239             :     int res1 = 0 ;
    9240             :     int res2 ;
    9241           0 :     char *buf2 = 0 ;
    9242           0 :     int alloc2 = 0 ;
    9243             :     int argvi = 0;
    9244             :     int result;
    9245           0 :     dXSARGS;
    9246             :     
    9247           0 :     if ((items < 2) || (items > 2)) {
    9248           0 :       SWIG_croak("Usage: webObj_updateFromString(self,snippet);");
    9249             :     }
    9250           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 |  0 );
    9251           0 :     if (!SWIG_IsOK(res1)) {
    9252           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_updateFromString" "', argument " "1"" of type '" "webObj *""'"); 
    9253             :     }
    9254           0 :     arg1 = (webObj *)(argp1);
    9255           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    9256           0 :     if (!SWIG_IsOK(res2)) {
    9257           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "webObj_updateFromString" "', argument " "2"" of type '" "char *""'");
    9258             :     }
    9259           0 :     arg2 = (char *)(buf2);
    9260             :     result = (int)webObj_updateFromString(arg1,arg2);
    9261           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
    9262             :     
    9263           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    9264           0 :     XSRETURN(argvi);
    9265           0 :   fail:
    9266             :     
    9267           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    9268           0 :     SWIG_croak_null();
    9269             :   }
    9270             : }
    9271             : 
    9272             : 
    9273           0 : XS(_wrap_webObj_convertToString) {
    9274             :   {
    9275             :     webObj *arg1 = (webObj *) 0 ;
    9276           0 :     void *argp1 = 0 ;
    9277             :     int res1 = 0 ;
    9278             :     int argvi = 0;
    9279             :     char *result = 0 ;
    9280           0 :     dXSARGS;
    9281             :     
    9282           0 :     if ((items < 1) || (items > 1)) {
    9283           0 :       SWIG_croak("Usage: webObj_convertToString(self);");
    9284             :     }
    9285           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_webObj, 0 |  0 );
    9286           0 :     if (!SWIG_IsOK(res1)) {
    9287           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "webObj_convertToString" "', argument " "1"" of type '" "webObj *""'"); 
    9288             :     }
    9289           0 :     arg1 = (webObj *)(argp1);
    9290             :     result = (char *)webObj_convertToString(arg1);
    9291           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
    9292             :     
    9293           0 :     free((char*)result);
    9294           0 :     XSRETURN(argvi);
    9295           0 :   fail:
    9296             :     
    9297           0 :     SWIG_croak_null();
    9298             :   }
    9299             : }
    9300             : 
    9301             : 
    9302           0 : XS(_wrap_styleObj_refcount_get) {
    9303             :   {
    9304             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
    9305           0 :     void *argp1 = 0 ;
    9306             :     int res1 = 0 ;
    9307             :     int argvi = 0;
    9308             :     int result;
    9309           0 :     dXSARGS;
    9310             :     
    9311           0 :     if ((items < 1) || (items > 1)) {
    9312           0 :       SWIG_croak("Usage: styleObj_refcount_get(self);");
    9313             :     }
    9314           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
    9315           0 :     if (!SWIG_IsOK(res1)) {
    9316           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_refcount_get" "', argument " "1"" of type '" "struct styleObj *""'"); 
    9317             :     }
    9318           0 :     arg1 = (struct styleObj *)(argp1);
    9319           0 :     result = (int) ((arg1)->refcount);
    9320           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
    9321             :     
    9322           0 :     XSRETURN(argvi);
    9323           0 :   fail:
    9324             :     
    9325           0 :     SWIG_croak_null();
    9326             :   }
    9327             : }
    9328             : 
    9329             : 
    9330           0 : XS(_wrap_styleObj_symbolname_get) {
    9331             :   {
    9332             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
    9333           0 :     void *argp1 = 0 ;
    9334             :     int res1 = 0 ;
    9335             :     int argvi = 0;
    9336             :     char *result = 0 ;
    9337           0 :     dXSARGS;
    9338             :     
    9339           0 :     if ((items < 1) || (items > 1)) {
    9340           0 :       SWIG_croak("Usage: styleObj_symbolname_get(self);");
    9341             :     }
    9342           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
    9343           0 :     if (!SWIG_IsOK(res1)) {
    9344           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_symbolname_get" "', argument " "1"" of type '" "struct styleObj *""'"); 
    9345             :     }
    9346           0 :     arg1 = (struct styleObj *)(argp1);
    9347           0 :     result = (char *) ((arg1)->symbolname);
    9348           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
    9349             :     
    9350           0 :     XSRETURN(argvi);
    9351           0 :   fail:
    9352             :     
    9353           0 :     SWIG_croak_null();
    9354             :   }
    9355             : }
    9356             : 
    9357             : 
    9358           0 : XS(_wrap_styleObj_autoangle_set) {
    9359             :   {
    9360             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
    9361             :     int arg2 ;
    9362           0 :     void *argp1 = 0 ;
    9363             :     int res1 = 0 ;
    9364             :     int val2 ;
    9365             :     int ecode2 = 0 ;
    9366             :     int argvi = 0;
    9367           0 :     dXSARGS;
    9368             :     
    9369           0 :     if ((items < 2) || (items > 2)) {
    9370           0 :       SWIG_croak("Usage: styleObj_autoangle_set(self,autoangle);");
    9371             :     }
    9372           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
    9373           0 :     if (!SWIG_IsOK(res1)) {
    9374           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_autoangle_set" "', argument " "1"" of type '" "struct styleObj *""'"); 
    9375             :     }
    9376           0 :     arg1 = (struct styleObj *)(argp1);
    9377           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    9378           0 :     if (!SWIG_IsOK(ecode2)) {
    9379           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_autoangle_set" "', argument " "2"" of type '" "int""'");
    9380             :     } 
    9381             :     arg2 = (int)(val2);
    9382           0 :     if (arg1) (arg1)->autoangle = arg2;
    9383           0 :     ST(argvi) = sv_newmortal();
    9384             :     
    9385             :     
    9386           0 :     XSRETURN(argvi);
    9387           0 :   fail:
    9388             :     
    9389             :     
    9390           0 :     SWIG_croak_null();
    9391             :   }
    9392             : }
    9393             : 
    9394             : 
    9395           0 : XS(_wrap_styleObj_autoangle_get) {
    9396             :   {
    9397             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
    9398           0 :     void *argp1 = 0 ;
    9399             :     int res1 = 0 ;
    9400             :     int argvi = 0;
    9401             :     int result;
    9402           0 :     dXSARGS;
    9403             :     
    9404           0 :     if ((items < 1) || (items > 1)) {
    9405           0 :       SWIG_croak("Usage: styleObj_autoangle_get(self);");
    9406             :     }
    9407           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
    9408           0 :     if (!SWIG_IsOK(res1)) {
    9409           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_autoangle_get" "', argument " "1"" of type '" "struct styleObj *""'"); 
    9410             :     }
    9411           0 :     arg1 = (struct styleObj *)(argp1);
    9412           0 :     result = (int) ((arg1)->autoangle);
    9413           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
    9414             :     
    9415           0 :     XSRETURN(argvi);
    9416           0 :   fail:
    9417             :     
    9418           0 :     SWIG_croak_null();
    9419             :   }
    9420             : }
    9421             : 
    9422             : 
    9423           0 : XS(_wrap_styleObj_color_set) {
    9424             :   {
    9425             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
    9426             :     colorObj *arg2 = (colorObj *) 0 ;
    9427           0 :     void *argp1 = 0 ;
    9428             :     int res1 = 0 ;
    9429           0 :     void *argp2 = 0 ;
    9430             :     int res2 = 0 ;
    9431             :     int argvi = 0;
    9432           0 :     dXSARGS;
    9433             :     
    9434           0 :     if ((items < 2) || (items > 2)) {
    9435           0 :       SWIG_croak("Usage: styleObj_color_set(self,color);");
    9436             :     }
    9437           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
    9438           0 :     if (!SWIG_IsOK(res1)) {
    9439           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_color_set" "', argument " "1"" of type '" "struct styleObj *""'"); 
    9440             :     }
    9441           0 :     arg1 = (struct styleObj *)(argp1);
    9442           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_colorObj, 0 |  0 );
    9443           0 :     if (!SWIG_IsOK(res2)) {
    9444           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "styleObj_color_set" "', argument " "2"" of type '" "colorObj *""'"); 
    9445             :     }
    9446           0 :     arg2 = (colorObj *)(argp2);
    9447           0 :     if (arg1) (arg1)->color = *arg2;
    9448           0 :     ST(argvi) = sv_newmortal();
    9449             :     
    9450             :     
    9451           0 :     XSRETURN(argvi);
    9452           0 :   fail:
    9453             :     
    9454             :     
    9455           0 :     SWIG_croak_null();
    9456             :   }
    9457             : }
    9458             : 
    9459             : 
    9460           0 : XS(_wrap_styleObj_color_get) {
    9461             :   {
    9462             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
    9463           0 :     void *argp1 = 0 ;
    9464             :     int res1 = 0 ;
    9465             :     int argvi = 0;
    9466             :     colorObj *result = 0 ;
    9467           0 :     dXSARGS;
    9468             :     
    9469           0 :     if ((items < 1) || (items > 1)) {
    9470           0 :       SWIG_croak("Usage: styleObj_color_get(self);");
    9471             :     }
    9472           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
    9473           0 :     if (!SWIG_IsOK(res1)) {
    9474           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_color_get" "', argument " "1"" of type '" "struct styleObj *""'"); 
    9475             :     }
    9476           0 :     arg1 = (struct styleObj *)(argp1);
    9477           0 :     result = (colorObj *)& ((arg1)->color);
    9478           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_colorObj, 0 | SWIG_SHADOW); argvi++ ;
    9479             :     
    9480           0 :     XSRETURN(argvi);
    9481           0 :   fail:
    9482             :     
    9483           0 :     SWIG_croak_null();
    9484             :   }
    9485             : }
    9486             : 
    9487             : 
    9488           0 : XS(_wrap_styleObj_backgroundcolor_set) {
    9489             :   {
    9490             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
    9491             :     colorObj *arg2 = (colorObj *) 0 ;
    9492           0 :     void *argp1 = 0 ;
    9493             :     int res1 = 0 ;
    9494           0 :     void *argp2 = 0 ;
    9495             :     int res2 = 0 ;
    9496             :     int argvi = 0;
    9497           0 :     dXSARGS;
    9498             :     
    9499           0 :     if ((items < 2) || (items > 2)) {
    9500           0 :       SWIG_croak("Usage: styleObj_backgroundcolor_set(self,backgroundcolor);");
    9501             :     }
    9502           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
    9503           0 :     if (!SWIG_IsOK(res1)) {
    9504           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_backgroundcolor_set" "', argument " "1"" of type '" "struct styleObj *""'"); 
    9505             :     }
    9506           0 :     arg1 = (struct styleObj *)(argp1);
    9507           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_colorObj, 0 |  0 );
    9508           0 :     if (!SWIG_IsOK(res2)) {
    9509           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "styleObj_backgroundcolor_set" "', argument " "2"" of type '" "colorObj *""'"); 
    9510             :     }
    9511           0 :     arg2 = (colorObj *)(argp2);
    9512           0 :     if (arg1) (arg1)->backgroundcolor = *arg2;
    9513           0 :     ST(argvi) = sv_newmortal();
    9514             :     
    9515             :     
    9516           0 :     XSRETURN(argvi);
    9517           0 :   fail:
    9518             :     
    9519             :     
    9520           0 :     SWIG_croak_null();
    9521             :   }
    9522             : }
    9523             : 
    9524             : 
    9525           0 : XS(_wrap_styleObj_backgroundcolor_get) {
    9526             :   {
    9527             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
    9528           0 :     void *argp1 = 0 ;
    9529             :     int res1 = 0 ;
    9530             :     int argvi = 0;
    9531             :     colorObj *result = 0 ;
    9532           0 :     dXSARGS;
    9533             :     
    9534           0 :     if ((items < 1) || (items > 1)) {
    9535           0 :       SWIG_croak("Usage: styleObj_backgroundcolor_get(self);");
    9536             :     }
    9537           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
    9538           0 :     if (!SWIG_IsOK(res1)) {
    9539           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_backgroundcolor_get" "', argument " "1"" of type '" "struct styleObj *""'"); 
    9540             :     }
    9541           0 :     arg1 = (struct styleObj *)(argp1);
    9542           0 :     result = (colorObj *)& ((arg1)->backgroundcolor);
    9543           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_colorObj, 0 | SWIG_SHADOW); argvi++ ;
    9544             :     
    9545           0 :     XSRETURN(argvi);
    9546           0 :   fail:
    9547             :     
    9548           0 :     SWIG_croak_null();
    9549             :   }
    9550             : }
    9551             : 
    9552             : 
    9553           0 : XS(_wrap_styleObj_outlinecolor_set) {
    9554             :   {
    9555             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
    9556             :     colorObj *arg2 = (colorObj *) 0 ;
    9557           0 :     void *argp1 = 0 ;
    9558             :     int res1 = 0 ;
    9559           0 :     void *argp2 = 0 ;
    9560             :     int res2 = 0 ;
    9561             :     int argvi = 0;
    9562           0 :     dXSARGS;
    9563             :     
    9564           0 :     if ((items < 2) || (items > 2)) {
    9565           0 :       SWIG_croak("Usage: styleObj_outlinecolor_set(self,outlinecolor);");
    9566             :     }
    9567           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
    9568           0 :     if (!SWIG_IsOK(res1)) {
    9569           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_outlinecolor_set" "', argument " "1"" of type '" "struct styleObj *""'"); 
    9570             :     }
    9571           0 :     arg1 = (struct styleObj *)(argp1);
    9572           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_colorObj, 0 |  0 );
    9573           0 :     if (!SWIG_IsOK(res2)) {
    9574           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "styleObj_outlinecolor_set" "', argument " "2"" of type '" "colorObj *""'"); 
    9575             :     }
    9576           0 :     arg2 = (colorObj *)(argp2);
    9577           0 :     if (arg1) (arg1)->outlinecolor = *arg2;
    9578           0 :     ST(argvi) = sv_newmortal();
    9579             :     
    9580             :     
    9581           0 :     XSRETURN(argvi);
    9582           0 :   fail:
    9583             :     
    9584             :     
    9585           0 :     SWIG_croak_null();
    9586             :   }
    9587             : }
    9588             : 
    9589             : 
    9590           0 : XS(_wrap_styleObj_outlinecolor_get) {
    9591             :   {
    9592             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
    9593           0 :     void *argp1 = 0 ;
    9594             :     int res1 = 0 ;
    9595             :     int argvi = 0;
    9596             :     colorObj *result = 0 ;
    9597           0 :     dXSARGS;
    9598             :     
    9599           0 :     if ((items < 1) || (items > 1)) {
    9600           0 :       SWIG_croak("Usage: styleObj_outlinecolor_get(self);");
    9601             :     }
    9602           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
    9603           0 :     if (!SWIG_IsOK(res1)) {
    9604           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_outlinecolor_get" "', argument " "1"" of type '" "struct styleObj *""'"); 
    9605             :     }
    9606           0 :     arg1 = (struct styleObj *)(argp1);
    9607           0 :     result = (colorObj *)& ((arg1)->outlinecolor);
    9608           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_colorObj, 0 | SWIG_SHADOW); argvi++ ;
    9609             :     
    9610           0 :     XSRETURN(argvi);
    9611           0 :   fail:
    9612             :     
    9613           0 :     SWIG_croak_null();
    9614             :   }
    9615             : }
    9616             : 
    9617             : 
    9618           0 : XS(_wrap_styleObj_opacity_set) {
    9619             :   {
    9620             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
    9621             :     int arg2 ;
    9622           0 :     void *argp1 = 0 ;
    9623             :     int res1 = 0 ;
    9624             :     int val2 ;
    9625             :     int ecode2 = 0 ;
    9626             :     int argvi = 0;
    9627           0 :     dXSARGS;
    9628             :     
    9629           0 :     if ((items < 2) || (items > 2)) {
    9630           0 :       SWIG_croak("Usage: styleObj_opacity_set(self,opacity);");
    9631             :     }
    9632           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
    9633           0 :     if (!SWIG_IsOK(res1)) {
    9634           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_opacity_set" "', argument " "1"" of type '" "struct styleObj *""'"); 
    9635             :     }
    9636           0 :     arg1 = (struct styleObj *)(argp1);
    9637           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    9638           0 :     if (!SWIG_IsOK(ecode2)) {
    9639           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_opacity_set" "', argument " "2"" of type '" "int""'");
    9640             :     } 
    9641             :     arg2 = (int)(val2);
    9642           0 :     if (arg1) (arg1)->opacity = arg2;
    9643           0 :     ST(argvi) = sv_newmortal();
    9644             :     
    9645             :     
    9646           0 :     XSRETURN(argvi);
    9647           0 :   fail:
    9648             :     
    9649             :     
    9650           0 :     SWIG_croak_null();
    9651             :   }
    9652             : }
    9653             : 
    9654             : 
    9655           0 : XS(_wrap_styleObj_opacity_get) {
    9656             :   {
    9657             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
    9658           0 :     void *argp1 = 0 ;
    9659             :     int res1 = 0 ;
    9660             :     int argvi = 0;
    9661             :     int result;
    9662           0 :     dXSARGS;
    9663             :     
    9664           0 :     if ((items < 1) || (items > 1)) {
    9665           0 :       SWIG_croak("Usage: styleObj_opacity_get(self);");
    9666             :     }
    9667           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
    9668           0 :     if (!SWIG_IsOK(res1)) {
    9669           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_opacity_get" "', argument " "1"" of type '" "struct styleObj *""'"); 
    9670             :     }
    9671           0 :     arg1 = (struct styleObj *)(argp1);
    9672           0 :     result = (int) ((arg1)->opacity);
    9673           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
    9674             :     
    9675           0 :     XSRETURN(argvi);
    9676           0 :   fail:
    9677             :     
    9678           0 :     SWIG_croak_null();
    9679             :   }
    9680             : }
    9681             : 
    9682             : 
    9683           0 : XS(_wrap_styleObj_mincolor_set) {
    9684             :   {
    9685             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
    9686             :     colorObj *arg2 = (colorObj *) 0 ;
    9687           0 :     void *argp1 = 0 ;
    9688             :     int res1 = 0 ;
    9689           0 :     void *argp2 = 0 ;
    9690             :     int res2 = 0 ;
    9691             :     int argvi = 0;
    9692           0 :     dXSARGS;
    9693             :     
    9694           0 :     if ((items < 2) || (items > 2)) {
    9695           0 :       SWIG_croak("Usage: styleObj_mincolor_set(self,mincolor);");
    9696             :     }
    9697           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
    9698           0 :     if (!SWIG_IsOK(res1)) {
    9699           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_mincolor_set" "', argument " "1"" of type '" "struct styleObj *""'"); 
    9700             :     }
    9701           0 :     arg1 = (struct styleObj *)(argp1);
    9702           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_colorObj, 0 |  0 );
    9703           0 :     if (!SWIG_IsOK(res2)) {
    9704           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "styleObj_mincolor_set" "', argument " "2"" of type '" "colorObj *""'"); 
    9705             :     }
    9706           0 :     arg2 = (colorObj *)(argp2);
    9707           0 :     if (arg1) (arg1)->mincolor = *arg2;
    9708           0 :     ST(argvi) = sv_newmortal();
    9709             :     
    9710             :     
    9711           0 :     XSRETURN(argvi);
    9712           0 :   fail:
    9713             :     
    9714             :     
    9715           0 :     SWIG_croak_null();
    9716             :   }
    9717             : }
    9718             : 
    9719             : 
    9720           0 : XS(_wrap_styleObj_mincolor_get) {
    9721             :   {
    9722             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
    9723           0 :     void *argp1 = 0 ;
    9724             :     int res1 = 0 ;
    9725             :     int argvi = 0;
    9726             :     colorObj *result = 0 ;
    9727           0 :     dXSARGS;
    9728             :     
    9729           0 :     if ((items < 1) || (items > 1)) {
    9730           0 :       SWIG_croak("Usage: styleObj_mincolor_get(self);");
    9731             :     }
    9732           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
    9733           0 :     if (!SWIG_IsOK(res1)) {
    9734           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_mincolor_get" "', argument " "1"" of type '" "struct styleObj *""'"); 
    9735             :     }
    9736           0 :     arg1 = (struct styleObj *)(argp1);
    9737           0 :     result = (colorObj *)& ((arg1)->mincolor);
    9738           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_colorObj, 0 | SWIG_SHADOW); argvi++ ;
    9739             :     
    9740           0 :     XSRETURN(argvi);
    9741           0 :   fail:
    9742             :     
    9743           0 :     SWIG_croak_null();
    9744             :   }
    9745             : }
    9746             : 
    9747             : 
    9748           0 : XS(_wrap_styleObj_maxcolor_set) {
    9749             :   {
    9750             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
    9751             :     colorObj *arg2 = (colorObj *) 0 ;
    9752           0 :     void *argp1 = 0 ;
    9753             :     int res1 = 0 ;
    9754           0 :     void *argp2 = 0 ;
    9755             :     int res2 = 0 ;
    9756             :     int argvi = 0;
    9757           0 :     dXSARGS;
    9758             :     
    9759           0 :     if ((items < 2) || (items > 2)) {
    9760           0 :       SWIG_croak("Usage: styleObj_maxcolor_set(self,maxcolor);");
    9761             :     }
    9762           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
    9763           0 :     if (!SWIG_IsOK(res1)) {
    9764           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_maxcolor_set" "', argument " "1"" of type '" "struct styleObj *""'"); 
    9765             :     }
    9766           0 :     arg1 = (struct styleObj *)(argp1);
    9767           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_colorObj, 0 |  0 );
    9768           0 :     if (!SWIG_IsOK(res2)) {
    9769           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "styleObj_maxcolor_set" "', argument " "2"" of type '" "colorObj *""'"); 
    9770             :     }
    9771           0 :     arg2 = (colorObj *)(argp2);
    9772           0 :     if (arg1) (arg1)->maxcolor = *arg2;
    9773           0 :     ST(argvi) = sv_newmortal();
    9774             :     
    9775             :     
    9776           0 :     XSRETURN(argvi);
    9777           0 :   fail:
    9778             :     
    9779             :     
    9780           0 :     SWIG_croak_null();
    9781             :   }
    9782             : }
    9783             : 
    9784             : 
    9785           0 : XS(_wrap_styleObj_maxcolor_get) {
    9786             :   {
    9787             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
    9788           0 :     void *argp1 = 0 ;
    9789             :     int res1 = 0 ;
    9790             :     int argvi = 0;
    9791             :     colorObj *result = 0 ;
    9792           0 :     dXSARGS;
    9793             :     
    9794           0 :     if ((items < 1) || (items > 1)) {
    9795           0 :       SWIG_croak("Usage: styleObj_maxcolor_get(self);");
    9796             :     }
    9797           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
    9798           0 :     if (!SWIG_IsOK(res1)) {
    9799           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_maxcolor_get" "', argument " "1"" of type '" "struct styleObj *""'"); 
    9800             :     }
    9801           0 :     arg1 = (struct styleObj *)(argp1);
    9802           0 :     result = (colorObj *)& ((arg1)->maxcolor);
    9803           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_colorObj, 0 | SWIG_SHADOW); argvi++ ;
    9804             :     
    9805           0 :     XSRETURN(argvi);
    9806           0 :   fail:
    9807             :     
    9808           0 :     SWIG_croak_null();
    9809             :   }
    9810             : }
    9811             : 
    9812             : 
    9813           0 : XS(_wrap_styleObj_minvalue_set) {
    9814             :   {
    9815             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
    9816             :     double arg2 ;
    9817           0 :     void *argp1 = 0 ;
    9818             :     int res1 = 0 ;
    9819             :     double val2 ;
    9820             :     int ecode2 = 0 ;
    9821             :     int argvi = 0;
    9822           0 :     dXSARGS;
    9823             :     
    9824           0 :     if ((items < 2) || (items > 2)) {
    9825           0 :       SWIG_croak("Usage: styleObj_minvalue_set(self,minvalue);");
    9826             :     }
    9827           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
    9828           0 :     if (!SWIG_IsOK(res1)) {
    9829           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_minvalue_set" "', argument " "1"" of type '" "struct styleObj *""'"); 
    9830             :     }
    9831           0 :     arg1 = (struct styleObj *)(argp1);
    9832           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    9833           0 :     if (!SWIG_IsOK(ecode2)) {
    9834           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_minvalue_set" "', argument " "2"" of type '" "double""'");
    9835             :     } 
    9836           0 :     arg2 = (double)(val2);
    9837           0 :     if (arg1) (arg1)->minvalue = arg2;
    9838           0 :     ST(argvi) = sv_newmortal();
    9839             :     
    9840             :     
    9841           0 :     XSRETURN(argvi);
    9842           0 :   fail:
    9843             :     
    9844             :     
    9845           0 :     SWIG_croak_null();
    9846             :   }
    9847             : }
    9848             : 
    9849             : 
    9850           0 : XS(_wrap_styleObj_minvalue_get) {
    9851             :   {
    9852             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
    9853           0 :     void *argp1 = 0 ;
    9854             :     int res1 = 0 ;
    9855             :     int argvi = 0;
    9856             :     double result;
    9857           0 :     dXSARGS;
    9858             :     
    9859           0 :     if ((items < 1) || (items > 1)) {
    9860           0 :       SWIG_croak("Usage: styleObj_minvalue_get(self);");
    9861             :     }
    9862           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
    9863           0 :     if (!SWIG_IsOK(res1)) {
    9864           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_minvalue_get" "', argument " "1"" of type '" "struct styleObj *""'"); 
    9865             :     }
    9866           0 :     arg1 = (struct styleObj *)(argp1);
    9867           0 :     result = (double) ((arg1)->minvalue);
    9868           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
    9869             :     
    9870           0 :     XSRETURN(argvi);
    9871           0 :   fail:
    9872             :     
    9873           0 :     SWIG_croak_null();
    9874             :   }
    9875             : }
    9876             : 
    9877             : 
    9878           0 : XS(_wrap_styleObj_maxvalue_set) {
    9879             :   {
    9880             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
    9881             :     double arg2 ;
    9882           0 :     void *argp1 = 0 ;
    9883             :     int res1 = 0 ;
    9884             :     double val2 ;
    9885             :     int ecode2 = 0 ;
    9886             :     int argvi = 0;
    9887           0 :     dXSARGS;
    9888             :     
    9889           0 :     if ((items < 2) || (items > 2)) {
    9890           0 :       SWIG_croak("Usage: styleObj_maxvalue_set(self,maxvalue);");
    9891             :     }
    9892           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
    9893           0 :     if (!SWIG_IsOK(res1)) {
    9894           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_maxvalue_set" "', argument " "1"" of type '" "struct styleObj *""'"); 
    9895             :     }
    9896           0 :     arg1 = (struct styleObj *)(argp1);
    9897           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
    9898           0 :     if (!SWIG_IsOK(ecode2)) {
    9899           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_maxvalue_set" "', argument " "2"" of type '" "double""'");
    9900             :     } 
    9901           0 :     arg2 = (double)(val2);
    9902           0 :     if (arg1) (arg1)->maxvalue = arg2;
    9903           0 :     ST(argvi) = sv_newmortal();
    9904             :     
    9905             :     
    9906           0 :     XSRETURN(argvi);
    9907           0 :   fail:
    9908             :     
    9909             :     
    9910           0 :     SWIG_croak_null();
    9911             :   }
    9912             : }
    9913             : 
    9914             : 
    9915           0 : XS(_wrap_styleObj_maxvalue_get) {
    9916             :   {
    9917             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
    9918           0 :     void *argp1 = 0 ;
    9919             :     int res1 = 0 ;
    9920             :     int argvi = 0;
    9921             :     double result;
    9922           0 :     dXSARGS;
    9923             :     
    9924           0 :     if ((items < 1) || (items > 1)) {
    9925           0 :       SWIG_croak("Usage: styleObj_maxvalue_get(self);");
    9926             :     }
    9927           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
    9928           0 :     if (!SWIG_IsOK(res1)) {
    9929           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_maxvalue_get" "', argument " "1"" of type '" "struct styleObj *""'"); 
    9930             :     }
    9931           0 :     arg1 = (struct styleObj *)(argp1);
    9932           0 :     result = (double) ((arg1)->maxvalue);
    9933           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
    9934             :     
    9935           0 :     XSRETURN(argvi);
    9936           0 :   fail:
    9937             :     
    9938           0 :     SWIG_croak_null();
    9939             :   }
    9940             : }
    9941             : 
    9942             : 
    9943           0 : XS(_wrap_styleObj_rangeitem_set) {
    9944             :   {
    9945             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
    9946             :     char *arg2 = (char *) 0 ;
    9947           0 :     void *argp1 = 0 ;
    9948             :     int res1 = 0 ;
    9949             :     int res2 ;
    9950           0 :     char *buf2 = 0 ;
    9951           0 :     int alloc2 = 0 ;
    9952             :     int argvi = 0;
    9953           0 :     dXSARGS;
    9954             :     
    9955           0 :     if ((items < 2) || (items > 2)) {
    9956           0 :       SWIG_croak("Usage: styleObj_rangeitem_set(self,rangeitem);");
    9957             :     }
    9958           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
    9959           0 :     if (!SWIG_IsOK(res1)) {
    9960           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_rangeitem_set" "', argument " "1"" of type '" "struct styleObj *""'"); 
    9961             :     }
    9962           0 :     arg1 = (struct styleObj *)(argp1);
    9963           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
    9964           0 :     if (!SWIG_IsOK(res2)) {
    9965           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "styleObj_rangeitem_set" "', argument " "2"" of type '" "char *""'");
    9966             :     }
    9967           0 :     arg2 = (char *)(buf2);
    9968             :     {
    9969           0 :       if (arg1->rangeitem) free((char*)arg1->rangeitem);
    9970           0 :       if (arg2) {
    9971           0 :         arg1->rangeitem = (char *) malloc(strlen(arg2)+1);
    9972             :         strcpy((char*)arg1->rangeitem,arg2);
    9973             :       } else {
    9974           0 :         arg1->rangeitem = 0;
    9975             :       }
    9976             :     }
    9977           0 :     ST(argvi) = sv_newmortal();
    9978             :     
    9979           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    9980           0 :     XSRETURN(argvi);
    9981           0 :   fail:
    9982             :     
    9983           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
    9984           0 :     SWIG_croak_null();
    9985             :   }
    9986             : }
    9987             : 
    9988             : 
    9989           0 : XS(_wrap_styleObj_rangeitem_get) {
    9990             :   {
    9991             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
    9992           0 :     void *argp1 = 0 ;
    9993             :     int res1 = 0 ;
    9994             :     int argvi = 0;
    9995             :     char *result = 0 ;
    9996           0 :     dXSARGS;
    9997             :     
    9998           0 :     if ((items < 1) || (items > 1)) {
    9999           0 :       SWIG_croak("Usage: styleObj_rangeitem_get(self);");
   10000             :     }
   10001           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   10002           0 :     if (!SWIG_IsOK(res1)) {
   10003           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_rangeitem_get" "', argument " "1"" of type '" "struct styleObj *""'"); 
   10004             :     }
   10005           0 :     arg1 = (struct styleObj *)(argp1);
   10006           0 :     result = (char *) ((arg1)->rangeitem);
   10007           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   10008             :     
   10009           0 :     XSRETURN(argvi);
   10010           0 :   fail:
   10011             :     
   10012           0 :     SWIG_croak_null();
   10013             :   }
   10014             : }
   10015             : 
   10016             : 
   10017           0 : XS(_wrap_styleObj_rangeitemindex_set) {
   10018             :   {
   10019             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   10020             :     int arg2 ;
   10021           0 :     void *argp1 = 0 ;
   10022             :     int res1 = 0 ;
   10023             :     int val2 ;
   10024             :     int ecode2 = 0 ;
   10025             :     int argvi = 0;
   10026           0 :     dXSARGS;
   10027             :     
   10028           0 :     if ((items < 2) || (items > 2)) {
   10029           0 :       SWIG_croak("Usage: styleObj_rangeitemindex_set(self,rangeitemindex);");
   10030             :     }
   10031           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   10032           0 :     if (!SWIG_IsOK(res1)) {
   10033           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_rangeitemindex_set" "', argument " "1"" of type '" "struct styleObj *""'"); 
   10034             :     }
   10035           0 :     arg1 = (struct styleObj *)(argp1);
   10036           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   10037           0 :     if (!SWIG_IsOK(ecode2)) {
   10038           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_rangeitemindex_set" "', argument " "2"" of type '" "int""'");
   10039             :     } 
   10040             :     arg2 = (int)(val2);
   10041           0 :     if (arg1) (arg1)->rangeitemindex = arg2;
   10042           0 :     ST(argvi) = sv_newmortal();
   10043             :     
   10044             :     
   10045           0 :     XSRETURN(argvi);
   10046           0 :   fail:
   10047             :     
   10048             :     
   10049           0 :     SWIG_croak_null();
   10050             :   }
   10051             : }
   10052             : 
   10053             : 
   10054           0 : XS(_wrap_styleObj_rangeitemindex_get) {
   10055             :   {
   10056             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   10057           0 :     void *argp1 = 0 ;
   10058             :     int res1 = 0 ;
   10059             :     int argvi = 0;
   10060             :     int result;
   10061           0 :     dXSARGS;
   10062             :     
   10063           0 :     if ((items < 1) || (items > 1)) {
   10064           0 :       SWIG_croak("Usage: styleObj_rangeitemindex_get(self);");
   10065             :     }
   10066           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   10067           0 :     if (!SWIG_IsOK(res1)) {
   10068           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_rangeitemindex_get" "', argument " "1"" of type '" "struct styleObj *""'"); 
   10069             :     }
   10070           0 :     arg1 = (struct styleObj *)(argp1);
   10071           0 :     result = (int) ((arg1)->rangeitemindex);
   10072           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   10073             :     
   10074           0 :     XSRETURN(argvi);
   10075           0 :   fail:
   10076             :     
   10077           0 :     SWIG_croak_null();
   10078             :   }
   10079             : }
   10080             : 
   10081             : 
   10082           0 : XS(_wrap_styleObj_symbol_set) {
   10083             :   {
   10084             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   10085             :     int arg2 ;
   10086           0 :     void *argp1 = 0 ;
   10087             :     int res1 = 0 ;
   10088             :     int val2 ;
   10089             :     int ecode2 = 0 ;
   10090             :     int argvi = 0;
   10091           0 :     dXSARGS;
   10092             :     
   10093           0 :     if ((items < 2) || (items > 2)) {
   10094           0 :       SWIG_croak("Usage: styleObj_symbol_set(self,symbol);");
   10095             :     }
   10096           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   10097           0 :     if (!SWIG_IsOK(res1)) {
   10098           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_symbol_set" "', argument " "1"" of type '" "struct styleObj *""'"); 
   10099             :     }
   10100           0 :     arg1 = (struct styleObj *)(argp1);
   10101           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   10102           0 :     if (!SWIG_IsOK(ecode2)) {
   10103           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_symbol_set" "', argument " "2"" of type '" "int""'");
   10104             :     } 
   10105             :     arg2 = (int)(val2);
   10106           0 :     if (arg1) (arg1)->symbol = arg2;
   10107           0 :     ST(argvi) = sv_newmortal();
   10108             :     
   10109             :     
   10110           0 :     XSRETURN(argvi);
   10111           0 :   fail:
   10112             :     
   10113             :     
   10114           0 :     SWIG_croak_null();
   10115             :   }
   10116             : }
   10117             : 
   10118             : 
   10119           0 : XS(_wrap_styleObj_symbol_get) {
   10120             :   {
   10121             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   10122           0 :     void *argp1 = 0 ;
   10123             :     int res1 = 0 ;
   10124             :     int argvi = 0;
   10125             :     int result;
   10126           0 :     dXSARGS;
   10127             :     
   10128           0 :     if ((items < 1) || (items > 1)) {
   10129           0 :       SWIG_croak("Usage: styleObj_symbol_get(self);");
   10130             :     }
   10131           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   10132           0 :     if (!SWIG_IsOK(res1)) {
   10133           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_symbol_get" "', argument " "1"" of type '" "struct styleObj *""'"); 
   10134             :     }
   10135           0 :     arg1 = (struct styleObj *)(argp1);
   10136           0 :     result = (int) ((arg1)->symbol);
   10137           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   10138             :     
   10139           0 :     XSRETURN(argvi);
   10140           0 :   fail:
   10141             :     
   10142           0 :     SWIG_croak_null();
   10143             :   }
   10144             : }
   10145             : 
   10146             : 
   10147           0 : XS(_wrap_styleObj_size_set) {
   10148             :   {
   10149             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   10150             :     double arg2 ;
   10151           0 :     void *argp1 = 0 ;
   10152             :     int res1 = 0 ;
   10153             :     double val2 ;
   10154             :     int ecode2 = 0 ;
   10155             :     int argvi = 0;
   10156           0 :     dXSARGS;
   10157             :     
   10158           0 :     if ((items < 2) || (items > 2)) {
   10159           0 :       SWIG_croak("Usage: styleObj_size_set(self,size);");
   10160             :     }
   10161           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   10162           0 :     if (!SWIG_IsOK(res1)) {
   10163           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_size_set" "', argument " "1"" of type '" "struct styleObj *""'"); 
   10164             :     }
   10165           0 :     arg1 = (struct styleObj *)(argp1);
   10166           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   10167           0 :     if (!SWIG_IsOK(ecode2)) {
   10168           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_size_set" "', argument " "2"" of type '" "double""'");
   10169             :     } 
   10170           0 :     arg2 = (double)(val2);
   10171           0 :     if (arg1) (arg1)->size = arg2;
   10172           0 :     ST(argvi) = sv_newmortal();
   10173             :     
   10174             :     
   10175           0 :     XSRETURN(argvi);
   10176           0 :   fail:
   10177             :     
   10178             :     
   10179           0 :     SWIG_croak_null();
   10180             :   }
   10181             : }
   10182             : 
   10183             : 
   10184           0 : XS(_wrap_styleObj_size_get) {
   10185             :   {
   10186             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   10187           0 :     void *argp1 = 0 ;
   10188             :     int res1 = 0 ;
   10189             :     int argvi = 0;
   10190             :     double result;
   10191           0 :     dXSARGS;
   10192             :     
   10193           0 :     if ((items < 1) || (items > 1)) {
   10194           0 :       SWIG_croak("Usage: styleObj_size_get(self);");
   10195             :     }
   10196           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   10197           0 :     if (!SWIG_IsOK(res1)) {
   10198           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_size_get" "', argument " "1"" of type '" "struct styleObj *""'"); 
   10199             :     }
   10200           0 :     arg1 = (struct styleObj *)(argp1);
   10201           0 :     result = (double) ((arg1)->size);
   10202           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   10203             :     
   10204           0 :     XSRETURN(argvi);
   10205           0 :   fail:
   10206             :     
   10207           0 :     SWIG_croak_null();
   10208             :   }
   10209             : }
   10210             : 
   10211             : 
   10212           0 : XS(_wrap_styleObj_minsize_set) {
   10213             :   {
   10214             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   10215             :     double arg2 ;
   10216           0 :     void *argp1 = 0 ;
   10217             :     int res1 = 0 ;
   10218             :     double val2 ;
   10219             :     int ecode2 = 0 ;
   10220             :     int argvi = 0;
   10221           0 :     dXSARGS;
   10222             :     
   10223           0 :     if ((items < 2) || (items > 2)) {
   10224           0 :       SWIG_croak("Usage: styleObj_minsize_set(self,minsize);");
   10225             :     }
   10226           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   10227           0 :     if (!SWIG_IsOK(res1)) {
   10228           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_minsize_set" "', argument " "1"" of type '" "struct styleObj *""'"); 
   10229             :     }
   10230           0 :     arg1 = (struct styleObj *)(argp1);
   10231           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   10232           0 :     if (!SWIG_IsOK(ecode2)) {
   10233           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_minsize_set" "', argument " "2"" of type '" "double""'");
   10234             :     } 
   10235           0 :     arg2 = (double)(val2);
   10236           0 :     if (arg1) (arg1)->minsize = arg2;
   10237           0 :     ST(argvi) = sv_newmortal();
   10238             :     
   10239             :     
   10240           0 :     XSRETURN(argvi);
   10241           0 :   fail:
   10242             :     
   10243             :     
   10244           0 :     SWIG_croak_null();
   10245             :   }
   10246             : }
   10247             : 
   10248             : 
   10249           0 : XS(_wrap_styleObj_minsize_get) {
   10250             :   {
   10251             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   10252           0 :     void *argp1 = 0 ;
   10253             :     int res1 = 0 ;
   10254             :     int argvi = 0;
   10255             :     double result;
   10256           0 :     dXSARGS;
   10257             :     
   10258           0 :     if ((items < 1) || (items > 1)) {
   10259           0 :       SWIG_croak("Usage: styleObj_minsize_get(self);");
   10260             :     }
   10261           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   10262           0 :     if (!SWIG_IsOK(res1)) {
   10263           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_minsize_get" "', argument " "1"" of type '" "struct styleObj *""'"); 
   10264             :     }
   10265           0 :     arg1 = (struct styleObj *)(argp1);
   10266           0 :     result = (double) ((arg1)->minsize);
   10267           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   10268             :     
   10269           0 :     XSRETURN(argvi);
   10270           0 :   fail:
   10271             :     
   10272           0 :     SWIG_croak_null();
   10273             :   }
   10274             : }
   10275             : 
   10276             : 
   10277           0 : XS(_wrap_styleObj_maxsize_set) {
   10278             :   {
   10279             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   10280             :     double arg2 ;
   10281           0 :     void *argp1 = 0 ;
   10282             :     int res1 = 0 ;
   10283             :     double val2 ;
   10284             :     int ecode2 = 0 ;
   10285             :     int argvi = 0;
   10286           0 :     dXSARGS;
   10287             :     
   10288           0 :     if ((items < 2) || (items > 2)) {
   10289           0 :       SWIG_croak("Usage: styleObj_maxsize_set(self,maxsize);");
   10290             :     }
   10291           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   10292           0 :     if (!SWIG_IsOK(res1)) {
   10293           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_maxsize_set" "', argument " "1"" of type '" "struct styleObj *""'"); 
   10294             :     }
   10295           0 :     arg1 = (struct styleObj *)(argp1);
   10296           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   10297           0 :     if (!SWIG_IsOK(ecode2)) {
   10298           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_maxsize_set" "', argument " "2"" of type '" "double""'");
   10299             :     } 
   10300           0 :     arg2 = (double)(val2);
   10301           0 :     if (arg1) (arg1)->maxsize = arg2;
   10302           0 :     ST(argvi) = sv_newmortal();
   10303             :     
   10304             :     
   10305           0 :     XSRETURN(argvi);
   10306           0 :   fail:
   10307             :     
   10308             :     
   10309           0 :     SWIG_croak_null();
   10310             :   }
   10311             : }
   10312             : 
   10313             : 
   10314           0 : XS(_wrap_styleObj_maxsize_get) {
   10315             :   {
   10316             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   10317           0 :     void *argp1 = 0 ;
   10318             :     int res1 = 0 ;
   10319             :     int argvi = 0;
   10320             :     double result;
   10321           0 :     dXSARGS;
   10322             :     
   10323           0 :     if ((items < 1) || (items > 1)) {
   10324           0 :       SWIG_croak("Usage: styleObj_maxsize_get(self);");
   10325             :     }
   10326           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   10327           0 :     if (!SWIG_IsOK(res1)) {
   10328           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_maxsize_get" "', argument " "1"" of type '" "struct styleObj *""'"); 
   10329             :     }
   10330           0 :     arg1 = (struct styleObj *)(argp1);
   10331           0 :     result = (double) ((arg1)->maxsize);
   10332           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   10333             :     
   10334           0 :     XSRETURN(argvi);
   10335           0 :   fail:
   10336             :     
   10337           0 :     SWIG_croak_null();
   10338             :   }
   10339             : }
   10340             : 
   10341             : 
   10342           0 : XS(_wrap_styleObj_patternlength_set) {
   10343             :   {
   10344             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   10345             :     int arg2 ;
   10346           0 :     void *argp1 = 0 ;
   10347             :     int res1 = 0 ;
   10348             :     int val2 ;
   10349             :     int ecode2 = 0 ;
   10350             :     int argvi = 0;
   10351           0 :     dXSARGS;
   10352             :     
   10353           0 :     if ((items < 2) || (items > 2)) {
   10354           0 :       SWIG_croak("Usage: styleObj_patternlength_set(self,patternlength);");
   10355             :     }
   10356           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   10357           0 :     if (!SWIG_IsOK(res1)) {
   10358           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_patternlength_set" "', argument " "1"" of type '" "struct styleObj *""'"); 
   10359             :     }
   10360           0 :     arg1 = (struct styleObj *)(argp1);
   10361           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   10362           0 :     if (!SWIG_IsOK(ecode2)) {
   10363           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_patternlength_set" "', argument " "2"" of type '" "int""'");
   10364             :     } 
   10365             :     arg2 = (int)(val2);
   10366           0 :     if (arg1) (arg1)->patternlength = arg2;
   10367           0 :     ST(argvi) = sv_newmortal();
   10368             :     
   10369             :     
   10370           0 :     XSRETURN(argvi);
   10371           0 :   fail:
   10372             :     
   10373             :     
   10374           0 :     SWIG_croak_null();
   10375             :   }
   10376             : }
   10377             : 
   10378             : 
   10379           0 : XS(_wrap_styleObj_patternlength_get) {
   10380             :   {
   10381             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   10382           0 :     void *argp1 = 0 ;
   10383             :     int res1 = 0 ;
   10384             :     int argvi = 0;
   10385             :     int result;
   10386           0 :     dXSARGS;
   10387             :     
   10388           0 :     if ((items < 1) || (items > 1)) {
   10389           0 :       SWIG_croak("Usage: styleObj_patternlength_get(self);");
   10390             :     }
   10391           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   10392           0 :     if (!SWIG_IsOK(res1)) {
   10393           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_patternlength_get" "', argument " "1"" of type '" "struct styleObj *""'"); 
   10394             :     }
   10395           0 :     arg1 = (struct styleObj *)(argp1);
   10396           0 :     result = (int) ((arg1)->patternlength);
   10397           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   10398             :     
   10399           0 :     XSRETURN(argvi);
   10400           0 :   fail:
   10401             :     
   10402           0 :     SWIG_croak_null();
   10403             :   }
   10404             : }
   10405             : 
   10406             : 
   10407           0 : XS(_wrap_styleObj_pattern_set) {
   10408             :   {
   10409             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   10410             :     double *arg2 ;
   10411           0 :     void *argp1 = 0 ;
   10412             :     int res1 = 0 ;
   10413           0 :     void *argp2 = 0 ;
   10414             :     int res2 = 0 ;
   10415             :     int argvi = 0;
   10416           0 :     dXSARGS;
   10417             :     
   10418           0 :     if ((items < 2) || (items > 2)) {
   10419           0 :       SWIG_croak("Usage: styleObj_pattern_set(self,pattern);");
   10420             :     }
   10421           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   10422           0 :     if (!SWIG_IsOK(res1)) {
   10423           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_pattern_set" "', argument " "1"" of type '" "struct styleObj *""'"); 
   10424             :     }
   10425           0 :     arg1 = (struct styleObj *)(argp1);
   10426           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_double, 0 |  0 );
   10427           0 :     if (!SWIG_IsOK(res2)) {
   10428           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "styleObj_pattern_set" "', argument " "2"" of type '" "double [MS_MAXPATTERNLENGTH]""'"); 
   10429             :     } 
   10430           0 :     arg2 = (double *)(argp2);
   10431             :     {
   10432           0 :       if (arg2) {
   10433             :         size_t ii = 0;
   10434           0 :         for (; ii < (size_t)MS_MAXPATTERNLENGTH; ++ii) *(double *)&arg1->pattern[ii] = *((double *)arg2 + ii);
   10435             :       } else {
   10436           0 :         SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in variable '""pattern""' of type '""double [MS_MAXPATTERNLENGTH]""'");
   10437             :       }
   10438             :     }
   10439           0 :     ST(argvi) = sv_newmortal();
   10440             :     
   10441             :     
   10442           0 :     XSRETURN(argvi);
   10443           0 :   fail:
   10444             :     
   10445             :     
   10446           0 :     SWIG_croak_null();
   10447             :   }
   10448             : }
   10449             : 
   10450             : 
   10451           0 : XS(_wrap_styleObj_pattern_get) {
   10452             :   {
   10453             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   10454           0 :     void *argp1 = 0 ;
   10455             :     int res1 = 0 ;
   10456             :     int argvi = 0;
   10457             :     double *result = 0 ;
   10458           0 :     dXSARGS;
   10459             :     
   10460           0 :     if ((items < 1) || (items > 1)) {
   10461           0 :       SWIG_croak("Usage: styleObj_pattern_get(self);");
   10462             :     }
   10463           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   10464           0 :     if (!SWIG_IsOK(res1)) {
   10465           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_pattern_get" "', argument " "1"" of type '" "struct styleObj *""'"); 
   10466             :     }
   10467           0 :     arg1 = (struct styleObj *)(argp1);
   10468           0 :     result = (double *)(double *) ((arg1)->pattern);
   10469           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_double, 0 | 0); argvi++ ;
   10470             :     
   10471           0 :     XSRETURN(argvi);
   10472           0 :   fail:
   10473             :     
   10474           0 :     SWIG_croak_null();
   10475             :   }
   10476             : }
   10477             : 
   10478             : 
   10479           0 : XS(_wrap_styleObj_gap_set) {
   10480             :   {
   10481             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   10482             :     double arg2 ;
   10483           0 :     void *argp1 = 0 ;
   10484             :     int res1 = 0 ;
   10485             :     double val2 ;
   10486             :     int ecode2 = 0 ;
   10487             :     int argvi = 0;
   10488           0 :     dXSARGS;
   10489             :     
   10490           0 :     if ((items < 2) || (items > 2)) {
   10491           0 :       SWIG_croak("Usage: styleObj_gap_set(self,gap);");
   10492             :     }
   10493           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   10494           0 :     if (!SWIG_IsOK(res1)) {
   10495           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_gap_set" "', argument " "1"" of type '" "struct styleObj *""'"); 
   10496             :     }
   10497           0 :     arg1 = (struct styleObj *)(argp1);
   10498           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   10499           0 :     if (!SWIG_IsOK(ecode2)) {
   10500           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_gap_set" "', argument " "2"" of type '" "double""'");
   10501             :     } 
   10502           0 :     arg2 = (double)(val2);
   10503           0 :     if (arg1) (arg1)->gap = arg2;
   10504           0 :     ST(argvi) = sv_newmortal();
   10505             :     
   10506             :     
   10507           0 :     XSRETURN(argvi);
   10508           0 :   fail:
   10509             :     
   10510             :     
   10511           0 :     SWIG_croak_null();
   10512             :   }
   10513             : }
   10514             : 
   10515             : 
   10516           0 : XS(_wrap_styleObj_gap_get) {
   10517             :   {
   10518             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   10519           0 :     void *argp1 = 0 ;
   10520             :     int res1 = 0 ;
   10521             :     int argvi = 0;
   10522             :     double result;
   10523           0 :     dXSARGS;
   10524             :     
   10525           0 :     if ((items < 1) || (items > 1)) {
   10526           0 :       SWIG_croak("Usage: styleObj_gap_get(self);");
   10527             :     }
   10528           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   10529           0 :     if (!SWIG_IsOK(res1)) {
   10530           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_gap_get" "', argument " "1"" of type '" "struct styleObj *""'"); 
   10531             :     }
   10532           0 :     arg1 = (struct styleObj *)(argp1);
   10533           0 :     result = (double) ((arg1)->gap);
   10534           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   10535             :     
   10536           0 :     XSRETURN(argvi);
   10537           0 :   fail:
   10538             :     
   10539           0 :     SWIG_croak_null();
   10540             :   }
   10541             : }
   10542             : 
   10543             : 
   10544           0 : XS(_wrap_styleObj_initialgap_set) {
   10545             :   {
   10546             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   10547             :     double arg2 ;
   10548           0 :     void *argp1 = 0 ;
   10549             :     int res1 = 0 ;
   10550             :     double val2 ;
   10551             :     int ecode2 = 0 ;
   10552             :     int argvi = 0;
   10553           0 :     dXSARGS;
   10554             :     
   10555           0 :     if ((items < 2) || (items > 2)) {
   10556           0 :       SWIG_croak("Usage: styleObj_initialgap_set(self,initialgap);");
   10557             :     }
   10558           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   10559           0 :     if (!SWIG_IsOK(res1)) {
   10560           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_initialgap_set" "', argument " "1"" of type '" "struct styleObj *""'"); 
   10561             :     }
   10562           0 :     arg1 = (struct styleObj *)(argp1);
   10563           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   10564           0 :     if (!SWIG_IsOK(ecode2)) {
   10565           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_initialgap_set" "', argument " "2"" of type '" "double""'");
   10566             :     } 
   10567           0 :     arg2 = (double)(val2);
   10568           0 :     if (arg1) (arg1)->initialgap = arg2;
   10569           0 :     ST(argvi) = sv_newmortal();
   10570             :     
   10571             :     
   10572           0 :     XSRETURN(argvi);
   10573           0 :   fail:
   10574             :     
   10575             :     
   10576           0 :     SWIG_croak_null();
   10577             :   }
   10578             : }
   10579             : 
   10580             : 
   10581           0 : XS(_wrap_styleObj_initialgap_get) {
   10582             :   {
   10583             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   10584           0 :     void *argp1 = 0 ;
   10585             :     int res1 = 0 ;
   10586             :     int argvi = 0;
   10587             :     double result;
   10588           0 :     dXSARGS;
   10589             :     
   10590           0 :     if ((items < 1) || (items > 1)) {
   10591           0 :       SWIG_croak("Usage: styleObj_initialgap_get(self);");
   10592             :     }
   10593           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   10594           0 :     if (!SWIG_IsOK(res1)) {
   10595           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_initialgap_get" "', argument " "1"" of type '" "struct styleObj *""'"); 
   10596             :     }
   10597           0 :     arg1 = (struct styleObj *)(argp1);
   10598           0 :     result = (double) ((arg1)->initialgap);
   10599           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   10600             :     
   10601           0 :     XSRETURN(argvi);
   10602           0 :   fail:
   10603             :     
   10604           0 :     SWIG_croak_null();
   10605             :   }
   10606             : }
   10607             : 
   10608             : 
   10609           0 : XS(_wrap_styleObj_position_set) {
   10610             :   {
   10611             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   10612             :     int arg2 ;
   10613           0 :     void *argp1 = 0 ;
   10614             :     int res1 = 0 ;
   10615             :     int val2 ;
   10616             :     int ecode2 = 0 ;
   10617             :     int argvi = 0;
   10618           0 :     dXSARGS;
   10619             :     
   10620           0 :     if ((items < 2) || (items > 2)) {
   10621           0 :       SWIG_croak("Usage: styleObj_position_set(self,position);");
   10622             :     }
   10623           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   10624           0 :     if (!SWIG_IsOK(res1)) {
   10625           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_position_set" "', argument " "1"" of type '" "struct styleObj *""'"); 
   10626             :     }
   10627           0 :     arg1 = (struct styleObj *)(argp1);
   10628           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   10629           0 :     if (!SWIG_IsOK(ecode2)) {
   10630           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_position_set" "', argument " "2"" of type '" "int""'");
   10631             :     } 
   10632             :     arg2 = (int)(val2);
   10633           0 :     if (arg1) (arg1)->position = arg2;
   10634           0 :     ST(argvi) = sv_newmortal();
   10635             :     
   10636             :     
   10637           0 :     XSRETURN(argvi);
   10638           0 :   fail:
   10639             :     
   10640             :     
   10641           0 :     SWIG_croak_null();
   10642             :   }
   10643             : }
   10644             : 
   10645             : 
   10646           0 : XS(_wrap_styleObj_position_get) {
   10647             :   {
   10648             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   10649           0 :     void *argp1 = 0 ;
   10650             :     int res1 = 0 ;
   10651             :     int argvi = 0;
   10652             :     int result;
   10653           0 :     dXSARGS;
   10654             :     
   10655           0 :     if ((items < 1) || (items > 1)) {
   10656           0 :       SWIG_croak("Usage: styleObj_position_get(self);");
   10657             :     }
   10658           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   10659           0 :     if (!SWIG_IsOK(res1)) {
   10660           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_position_get" "', argument " "1"" of type '" "struct styleObj *""'"); 
   10661             :     }
   10662           0 :     arg1 = (struct styleObj *)(argp1);
   10663           0 :     result = (int) ((arg1)->position);
   10664           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   10665             :     
   10666           0 :     XSRETURN(argvi);
   10667           0 :   fail:
   10668             :     
   10669           0 :     SWIG_croak_null();
   10670             :   }
   10671             : }
   10672             : 
   10673             : 
   10674           0 : XS(_wrap_styleObj_linecap_set) {
   10675             :   {
   10676             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   10677             :     int arg2 ;
   10678           0 :     void *argp1 = 0 ;
   10679             :     int res1 = 0 ;
   10680             :     int val2 ;
   10681             :     int ecode2 = 0 ;
   10682             :     int argvi = 0;
   10683           0 :     dXSARGS;
   10684             :     
   10685           0 :     if ((items < 2) || (items > 2)) {
   10686           0 :       SWIG_croak("Usage: styleObj_linecap_set(self,linecap);");
   10687             :     }
   10688           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   10689           0 :     if (!SWIG_IsOK(res1)) {
   10690           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_linecap_set" "', argument " "1"" of type '" "struct styleObj *""'"); 
   10691             :     }
   10692           0 :     arg1 = (struct styleObj *)(argp1);
   10693           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   10694           0 :     if (!SWIG_IsOK(ecode2)) {
   10695           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_linecap_set" "', argument " "2"" of type '" "int""'");
   10696             :     } 
   10697             :     arg2 = (int)(val2);
   10698           0 :     if (arg1) (arg1)->linecap = arg2;
   10699           0 :     ST(argvi) = sv_newmortal();
   10700             :     
   10701             :     
   10702           0 :     XSRETURN(argvi);
   10703           0 :   fail:
   10704             :     
   10705             :     
   10706           0 :     SWIG_croak_null();
   10707             :   }
   10708             : }
   10709             : 
   10710             : 
   10711           0 : XS(_wrap_styleObj_linecap_get) {
   10712             :   {
   10713             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   10714           0 :     void *argp1 = 0 ;
   10715             :     int res1 = 0 ;
   10716             :     int argvi = 0;
   10717             :     int result;
   10718           0 :     dXSARGS;
   10719             :     
   10720           0 :     if ((items < 1) || (items > 1)) {
   10721           0 :       SWIG_croak("Usage: styleObj_linecap_get(self);");
   10722             :     }
   10723           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   10724           0 :     if (!SWIG_IsOK(res1)) {
   10725           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_linecap_get" "', argument " "1"" of type '" "struct styleObj *""'"); 
   10726             :     }
   10727           0 :     arg1 = (struct styleObj *)(argp1);
   10728           0 :     result = (int) ((arg1)->linecap);
   10729           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   10730             :     
   10731           0 :     XSRETURN(argvi);
   10732           0 :   fail:
   10733             :     
   10734           0 :     SWIG_croak_null();
   10735             :   }
   10736             : }
   10737             : 
   10738             : 
   10739           0 : XS(_wrap_styleObj_linejoin_set) {
   10740             :   {
   10741             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   10742             :     int arg2 ;
   10743           0 :     void *argp1 = 0 ;
   10744             :     int res1 = 0 ;
   10745             :     int val2 ;
   10746             :     int ecode2 = 0 ;
   10747             :     int argvi = 0;
   10748           0 :     dXSARGS;
   10749             :     
   10750           0 :     if ((items < 2) || (items > 2)) {
   10751           0 :       SWIG_croak("Usage: styleObj_linejoin_set(self,linejoin);");
   10752             :     }
   10753           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   10754           0 :     if (!SWIG_IsOK(res1)) {
   10755           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_linejoin_set" "', argument " "1"" of type '" "struct styleObj *""'"); 
   10756             :     }
   10757           0 :     arg1 = (struct styleObj *)(argp1);
   10758           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   10759           0 :     if (!SWIG_IsOK(ecode2)) {
   10760           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_linejoin_set" "', argument " "2"" of type '" "int""'");
   10761             :     } 
   10762             :     arg2 = (int)(val2);
   10763           0 :     if (arg1) (arg1)->linejoin = arg2;
   10764           0 :     ST(argvi) = sv_newmortal();
   10765             :     
   10766             :     
   10767           0 :     XSRETURN(argvi);
   10768           0 :   fail:
   10769             :     
   10770             :     
   10771           0 :     SWIG_croak_null();
   10772             :   }
   10773             : }
   10774             : 
   10775             : 
   10776           0 : XS(_wrap_styleObj_linejoin_get) {
   10777             :   {
   10778             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   10779           0 :     void *argp1 = 0 ;
   10780             :     int res1 = 0 ;
   10781             :     int argvi = 0;
   10782             :     int result;
   10783           0 :     dXSARGS;
   10784             :     
   10785           0 :     if ((items < 1) || (items > 1)) {
   10786           0 :       SWIG_croak("Usage: styleObj_linejoin_get(self);");
   10787             :     }
   10788           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   10789           0 :     if (!SWIG_IsOK(res1)) {
   10790           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_linejoin_get" "', argument " "1"" of type '" "struct styleObj *""'"); 
   10791             :     }
   10792           0 :     arg1 = (struct styleObj *)(argp1);
   10793           0 :     result = (int) ((arg1)->linejoin);
   10794           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   10795             :     
   10796           0 :     XSRETURN(argvi);
   10797           0 :   fail:
   10798             :     
   10799           0 :     SWIG_croak_null();
   10800             :   }
   10801             : }
   10802             : 
   10803             : 
   10804           0 : XS(_wrap_styleObj_linejoinmaxsize_set) {
   10805             :   {
   10806             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   10807             :     double arg2 ;
   10808           0 :     void *argp1 = 0 ;
   10809             :     int res1 = 0 ;
   10810             :     double val2 ;
   10811             :     int ecode2 = 0 ;
   10812             :     int argvi = 0;
   10813           0 :     dXSARGS;
   10814             :     
   10815           0 :     if ((items < 2) || (items > 2)) {
   10816           0 :       SWIG_croak("Usage: styleObj_linejoinmaxsize_set(self,linejoinmaxsize);");
   10817             :     }
   10818           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   10819           0 :     if (!SWIG_IsOK(res1)) {
   10820           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_linejoinmaxsize_set" "', argument " "1"" of type '" "struct styleObj *""'"); 
   10821             :     }
   10822           0 :     arg1 = (struct styleObj *)(argp1);
   10823           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   10824           0 :     if (!SWIG_IsOK(ecode2)) {
   10825           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_linejoinmaxsize_set" "', argument " "2"" of type '" "double""'");
   10826             :     } 
   10827           0 :     arg2 = (double)(val2);
   10828           0 :     if (arg1) (arg1)->linejoinmaxsize = arg2;
   10829           0 :     ST(argvi) = sv_newmortal();
   10830             :     
   10831             :     
   10832           0 :     XSRETURN(argvi);
   10833           0 :   fail:
   10834             :     
   10835             :     
   10836           0 :     SWIG_croak_null();
   10837             :   }
   10838             : }
   10839             : 
   10840             : 
   10841           0 : XS(_wrap_styleObj_linejoinmaxsize_get) {
   10842             :   {
   10843             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   10844           0 :     void *argp1 = 0 ;
   10845             :     int res1 = 0 ;
   10846             :     int argvi = 0;
   10847             :     double result;
   10848           0 :     dXSARGS;
   10849             :     
   10850           0 :     if ((items < 1) || (items > 1)) {
   10851           0 :       SWIG_croak("Usage: styleObj_linejoinmaxsize_get(self);");
   10852             :     }
   10853           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   10854           0 :     if (!SWIG_IsOK(res1)) {
   10855           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_linejoinmaxsize_get" "', argument " "1"" of type '" "struct styleObj *""'"); 
   10856             :     }
   10857           0 :     arg1 = (struct styleObj *)(argp1);
   10858           0 :     result = (double) ((arg1)->linejoinmaxsize);
   10859           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   10860             :     
   10861           0 :     XSRETURN(argvi);
   10862           0 :   fail:
   10863             :     
   10864           0 :     SWIG_croak_null();
   10865             :   }
   10866             : }
   10867             : 
   10868             : 
   10869           0 : XS(_wrap_styleObj_width_set) {
   10870             :   {
   10871             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   10872             :     double arg2 ;
   10873           0 :     void *argp1 = 0 ;
   10874             :     int res1 = 0 ;
   10875             :     double val2 ;
   10876             :     int ecode2 = 0 ;
   10877             :     int argvi = 0;
   10878           0 :     dXSARGS;
   10879             :     
   10880           0 :     if ((items < 2) || (items > 2)) {
   10881           0 :       SWIG_croak("Usage: styleObj_width_set(self,width);");
   10882             :     }
   10883           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   10884           0 :     if (!SWIG_IsOK(res1)) {
   10885           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_width_set" "', argument " "1"" of type '" "struct styleObj *""'"); 
   10886             :     }
   10887           0 :     arg1 = (struct styleObj *)(argp1);
   10888           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   10889           0 :     if (!SWIG_IsOK(ecode2)) {
   10890           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_width_set" "', argument " "2"" of type '" "double""'");
   10891             :     } 
   10892           0 :     arg2 = (double)(val2);
   10893           0 :     if (arg1) (arg1)->width = arg2;
   10894           0 :     ST(argvi) = sv_newmortal();
   10895             :     
   10896             :     
   10897           0 :     XSRETURN(argvi);
   10898           0 :   fail:
   10899             :     
   10900             :     
   10901           0 :     SWIG_croak_null();
   10902             :   }
   10903             : }
   10904             : 
   10905             : 
   10906           0 : XS(_wrap_styleObj_width_get) {
   10907             :   {
   10908             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   10909           0 :     void *argp1 = 0 ;
   10910             :     int res1 = 0 ;
   10911             :     int argvi = 0;
   10912             :     double result;
   10913           0 :     dXSARGS;
   10914             :     
   10915           0 :     if ((items < 1) || (items > 1)) {
   10916           0 :       SWIG_croak("Usage: styleObj_width_get(self);");
   10917             :     }
   10918           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   10919           0 :     if (!SWIG_IsOK(res1)) {
   10920           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_width_get" "', argument " "1"" of type '" "struct styleObj *""'"); 
   10921             :     }
   10922           0 :     arg1 = (struct styleObj *)(argp1);
   10923           0 :     result = (double) ((arg1)->width);
   10924           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   10925             :     
   10926           0 :     XSRETURN(argvi);
   10927           0 :   fail:
   10928             :     
   10929           0 :     SWIG_croak_null();
   10930             :   }
   10931             : }
   10932             : 
   10933             : 
   10934           0 : XS(_wrap_styleObj_outlinewidth_set) {
   10935             :   {
   10936             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   10937             :     double arg2 ;
   10938           0 :     void *argp1 = 0 ;
   10939             :     int res1 = 0 ;
   10940             :     double val2 ;
   10941             :     int ecode2 = 0 ;
   10942             :     int argvi = 0;
   10943           0 :     dXSARGS;
   10944             :     
   10945           0 :     if ((items < 2) || (items > 2)) {
   10946           0 :       SWIG_croak("Usage: styleObj_outlinewidth_set(self,outlinewidth);");
   10947             :     }
   10948           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   10949           0 :     if (!SWIG_IsOK(res1)) {
   10950           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_outlinewidth_set" "', argument " "1"" of type '" "struct styleObj *""'"); 
   10951             :     }
   10952           0 :     arg1 = (struct styleObj *)(argp1);
   10953           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   10954           0 :     if (!SWIG_IsOK(ecode2)) {
   10955           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_outlinewidth_set" "', argument " "2"" of type '" "double""'");
   10956             :     } 
   10957           0 :     arg2 = (double)(val2);
   10958           0 :     if (arg1) (arg1)->outlinewidth = arg2;
   10959           0 :     ST(argvi) = sv_newmortal();
   10960             :     
   10961             :     
   10962           0 :     XSRETURN(argvi);
   10963           0 :   fail:
   10964             :     
   10965             :     
   10966           0 :     SWIG_croak_null();
   10967             :   }
   10968             : }
   10969             : 
   10970             : 
   10971           0 : XS(_wrap_styleObj_outlinewidth_get) {
   10972             :   {
   10973             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   10974           0 :     void *argp1 = 0 ;
   10975             :     int res1 = 0 ;
   10976             :     int argvi = 0;
   10977             :     double result;
   10978           0 :     dXSARGS;
   10979             :     
   10980           0 :     if ((items < 1) || (items > 1)) {
   10981           0 :       SWIG_croak("Usage: styleObj_outlinewidth_get(self);");
   10982             :     }
   10983           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   10984           0 :     if (!SWIG_IsOK(res1)) {
   10985           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_outlinewidth_get" "', argument " "1"" of type '" "struct styleObj *""'"); 
   10986             :     }
   10987           0 :     arg1 = (struct styleObj *)(argp1);
   10988           0 :     result = (double) ((arg1)->outlinewidth);
   10989           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   10990             :     
   10991           0 :     XSRETURN(argvi);
   10992           0 :   fail:
   10993             :     
   10994           0 :     SWIG_croak_null();
   10995             :   }
   10996             : }
   10997             : 
   10998             : 
   10999           0 : XS(_wrap_styleObj_minwidth_set) {
   11000             :   {
   11001             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   11002             :     double arg2 ;
   11003           0 :     void *argp1 = 0 ;
   11004             :     int res1 = 0 ;
   11005             :     double val2 ;
   11006             :     int ecode2 = 0 ;
   11007             :     int argvi = 0;
   11008           0 :     dXSARGS;
   11009             :     
   11010           0 :     if ((items < 2) || (items > 2)) {
   11011           0 :       SWIG_croak("Usage: styleObj_minwidth_set(self,minwidth);");
   11012             :     }
   11013           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   11014           0 :     if (!SWIG_IsOK(res1)) {
   11015           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_minwidth_set" "', argument " "1"" of type '" "struct styleObj *""'"); 
   11016             :     }
   11017           0 :     arg1 = (struct styleObj *)(argp1);
   11018           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   11019           0 :     if (!SWIG_IsOK(ecode2)) {
   11020           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_minwidth_set" "', argument " "2"" of type '" "double""'");
   11021             :     } 
   11022           0 :     arg2 = (double)(val2);
   11023           0 :     if (arg1) (arg1)->minwidth = arg2;
   11024           0 :     ST(argvi) = sv_newmortal();
   11025             :     
   11026             :     
   11027           0 :     XSRETURN(argvi);
   11028           0 :   fail:
   11029             :     
   11030             :     
   11031           0 :     SWIG_croak_null();
   11032             :   }
   11033             : }
   11034             : 
   11035             : 
   11036           0 : XS(_wrap_styleObj_minwidth_get) {
   11037             :   {
   11038             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   11039           0 :     void *argp1 = 0 ;
   11040             :     int res1 = 0 ;
   11041             :     int argvi = 0;
   11042             :     double result;
   11043           0 :     dXSARGS;
   11044             :     
   11045           0 :     if ((items < 1) || (items > 1)) {
   11046           0 :       SWIG_croak("Usage: styleObj_minwidth_get(self);");
   11047             :     }
   11048           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   11049           0 :     if (!SWIG_IsOK(res1)) {
   11050           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_minwidth_get" "', argument " "1"" of type '" "struct styleObj *""'"); 
   11051             :     }
   11052           0 :     arg1 = (struct styleObj *)(argp1);
   11053           0 :     result = (double) ((arg1)->minwidth);
   11054           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   11055             :     
   11056           0 :     XSRETURN(argvi);
   11057           0 :   fail:
   11058             :     
   11059           0 :     SWIG_croak_null();
   11060             :   }
   11061             : }
   11062             : 
   11063             : 
   11064           0 : XS(_wrap_styleObj_maxwidth_set) {
   11065             :   {
   11066             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   11067             :     double arg2 ;
   11068           0 :     void *argp1 = 0 ;
   11069             :     int res1 = 0 ;
   11070             :     double val2 ;
   11071             :     int ecode2 = 0 ;
   11072             :     int argvi = 0;
   11073           0 :     dXSARGS;
   11074             :     
   11075           0 :     if ((items < 2) || (items > 2)) {
   11076           0 :       SWIG_croak("Usage: styleObj_maxwidth_set(self,maxwidth);");
   11077             :     }
   11078           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   11079           0 :     if (!SWIG_IsOK(res1)) {
   11080           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_maxwidth_set" "', argument " "1"" of type '" "struct styleObj *""'"); 
   11081             :     }
   11082           0 :     arg1 = (struct styleObj *)(argp1);
   11083           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   11084           0 :     if (!SWIG_IsOK(ecode2)) {
   11085           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_maxwidth_set" "', argument " "2"" of type '" "double""'");
   11086             :     } 
   11087           0 :     arg2 = (double)(val2);
   11088           0 :     if (arg1) (arg1)->maxwidth = arg2;
   11089           0 :     ST(argvi) = sv_newmortal();
   11090             :     
   11091             :     
   11092           0 :     XSRETURN(argvi);
   11093           0 :   fail:
   11094             :     
   11095             :     
   11096           0 :     SWIG_croak_null();
   11097             :   }
   11098             : }
   11099             : 
   11100             : 
   11101           0 : XS(_wrap_styleObj_maxwidth_get) {
   11102             :   {
   11103             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   11104           0 :     void *argp1 = 0 ;
   11105             :     int res1 = 0 ;
   11106             :     int argvi = 0;
   11107             :     double result;
   11108           0 :     dXSARGS;
   11109             :     
   11110           0 :     if ((items < 1) || (items > 1)) {
   11111           0 :       SWIG_croak("Usage: styleObj_maxwidth_get(self);");
   11112             :     }
   11113           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   11114           0 :     if (!SWIG_IsOK(res1)) {
   11115           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_maxwidth_get" "', argument " "1"" of type '" "struct styleObj *""'"); 
   11116             :     }
   11117           0 :     arg1 = (struct styleObj *)(argp1);
   11118           0 :     result = (double) ((arg1)->maxwidth);
   11119           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   11120             :     
   11121           0 :     XSRETURN(argvi);
   11122           0 :   fail:
   11123             :     
   11124           0 :     SWIG_croak_null();
   11125             :   }
   11126             : }
   11127             : 
   11128             : 
   11129           0 : XS(_wrap_styleObj_offsetx_set) {
   11130             :   {
   11131             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   11132             :     double arg2 ;
   11133           0 :     void *argp1 = 0 ;
   11134             :     int res1 = 0 ;
   11135             :     double val2 ;
   11136             :     int ecode2 = 0 ;
   11137             :     int argvi = 0;
   11138           0 :     dXSARGS;
   11139             :     
   11140           0 :     if ((items < 2) || (items > 2)) {
   11141           0 :       SWIG_croak("Usage: styleObj_offsetx_set(self,offsetx);");
   11142             :     }
   11143           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   11144           0 :     if (!SWIG_IsOK(res1)) {
   11145           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_offsetx_set" "', argument " "1"" of type '" "struct styleObj *""'"); 
   11146             :     }
   11147           0 :     arg1 = (struct styleObj *)(argp1);
   11148           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   11149           0 :     if (!SWIG_IsOK(ecode2)) {
   11150           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_offsetx_set" "', argument " "2"" of type '" "double""'");
   11151             :     } 
   11152           0 :     arg2 = (double)(val2);
   11153           0 :     if (arg1) (arg1)->offsetx = arg2;
   11154           0 :     ST(argvi) = sv_newmortal();
   11155             :     
   11156             :     
   11157           0 :     XSRETURN(argvi);
   11158           0 :   fail:
   11159             :     
   11160             :     
   11161           0 :     SWIG_croak_null();
   11162             :   }
   11163             : }
   11164             : 
   11165             : 
   11166           0 : XS(_wrap_styleObj_offsetx_get) {
   11167             :   {
   11168             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   11169           0 :     void *argp1 = 0 ;
   11170             :     int res1 = 0 ;
   11171             :     int argvi = 0;
   11172             :     double result;
   11173           0 :     dXSARGS;
   11174             :     
   11175           0 :     if ((items < 1) || (items > 1)) {
   11176           0 :       SWIG_croak("Usage: styleObj_offsetx_get(self);");
   11177             :     }
   11178           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   11179           0 :     if (!SWIG_IsOK(res1)) {
   11180           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_offsetx_get" "', argument " "1"" of type '" "struct styleObj *""'"); 
   11181             :     }
   11182           0 :     arg1 = (struct styleObj *)(argp1);
   11183           0 :     result = (double) ((arg1)->offsetx);
   11184           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   11185             :     
   11186           0 :     XSRETURN(argvi);
   11187           0 :   fail:
   11188             :     
   11189           0 :     SWIG_croak_null();
   11190             :   }
   11191             : }
   11192             : 
   11193             : 
   11194           0 : XS(_wrap_styleObj_offsety_set) {
   11195             :   {
   11196             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   11197             :     double arg2 ;
   11198           0 :     void *argp1 = 0 ;
   11199             :     int res1 = 0 ;
   11200             :     double val2 ;
   11201             :     int ecode2 = 0 ;
   11202             :     int argvi = 0;
   11203           0 :     dXSARGS;
   11204             :     
   11205           0 :     if ((items < 2) || (items > 2)) {
   11206           0 :       SWIG_croak("Usage: styleObj_offsety_set(self,offsety);");
   11207             :     }
   11208           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   11209           0 :     if (!SWIG_IsOK(res1)) {
   11210           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_offsety_set" "', argument " "1"" of type '" "struct styleObj *""'"); 
   11211             :     }
   11212           0 :     arg1 = (struct styleObj *)(argp1);
   11213           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   11214           0 :     if (!SWIG_IsOK(ecode2)) {
   11215           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_offsety_set" "', argument " "2"" of type '" "double""'");
   11216             :     } 
   11217           0 :     arg2 = (double)(val2);
   11218           0 :     if (arg1) (arg1)->offsety = arg2;
   11219           0 :     ST(argvi) = sv_newmortal();
   11220             :     
   11221             :     
   11222           0 :     XSRETURN(argvi);
   11223           0 :   fail:
   11224             :     
   11225             :     
   11226           0 :     SWIG_croak_null();
   11227             :   }
   11228             : }
   11229             : 
   11230             : 
   11231           0 : XS(_wrap_styleObj_offsety_get) {
   11232             :   {
   11233             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   11234           0 :     void *argp1 = 0 ;
   11235             :     int res1 = 0 ;
   11236             :     int argvi = 0;
   11237             :     double result;
   11238           0 :     dXSARGS;
   11239             :     
   11240           0 :     if ((items < 1) || (items > 1)) {
   11241           0 :       SWIG_croak("Usage: styleObj_offsety_get(self);");
   11242             :     }
   11243           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   11244           0 :     if (!SWIG_IsOK(res1)) {
   11245           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_offsety_get" "', argument " "1"" of type '" "struct styleObj *""'"); 
   11246             :     }
   11247           0 :     arg1 = (struct styleObj *)(argp1);
   11248           0 :     result = (double) ((arg1)->offsety);
   11249           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   11250             :     
   11251           0 :     XSRETURN(argvi);
   11252           0 :   fail:
   11253             :     
   11254           0 :     SWIG_croak_null();
   11255             :   }
   11256             : }
   11257             : 
   11258             : 
   11259           0 : XS(_wrap_styleObj_polaroffsetpixel_set) {
   11260             :   {
   11261             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   11262             :     double arg2 ;
   11263           0 :     void *argp1 = 0 ;
   11264             :     int res1 = 0 ;
   11265             :     double val2 ;
   11266             :     int ecode2 = 0 ;
   11267             :     int argvi = 0;
   11268           0 :     dXSARGS;
   11269             :     
   11270           0 :     if ((items < 2) || (items > 2)) {
   11271           0 :       SWIG_croak("Usage: styleObj_polaroffsetpixel_set(self,polaroffsetpixel);");
   11272             :     }
   11273           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   11274           0 :     if (!SWIG_IsOK(res1)) {
   11275           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_polaroffsetpixel_set" "', argument " "1"" of type '" "struct styleObj *""'"); 
   11276             :     }
   11277           0 :     arg1 = (struct styleObj *)(argp1);
   11278           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   11279           0 :     if (!SWIG_IsOK(ecode2)) {
   11280           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_polaroffsetpixel_set" "', argument " "2"" of type '" "double""'");
   11281             :     } 
   11282           0 :     arg2 = (double)(val2);
   11283           0 :     if (arg1) (arg1)->polaroffsetpixel = arg2;
   11284           0 :     ST(argvi) = sv_newmortal();
   11285             :     
   11286             :     
   11287           0 :     XSRETURN(argvi);
   11288           0 :   fail:
   11289             :     
   11290             :     
   11291           0 :     SWIG_croak_null();
   11292             :   }
   11293             : }
   11294             : 
   11295             : 
   11296           0 : XS(_wrap_styleObj_polaroffsetpixel_get) {
   11297             :   {
   11298             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   11299           0 :     void *argp1 = 0 ;
   11300             :     int res1 = 0 ;
   11301             :     int argvi = 0;
   11302             :     double result;
   11303           0 :     dXSARGS;
   11304             :     
   11305           0 :     if ((items < 1) || (items > 1)) {
   11306           0 :       SWIG_croak("Usage: styleObj_polaroffsetpixel_get(self);");
   11307             :     }
   11308           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   11309           0 :     if (!SWIG_IsOK(res1)) {
   11310           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_polaroffsetpixel_get" "', argument " "1"" of type '" "struct styleObj *""'"); 
   11311             :     }
   11312           0 :     arg1 = (struct styleObj *)(argp1);
   11313           0 :     result = (double) ((arg1)->polaroffsetpixel);
   11314           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   11315             :     
   11316           0 :     XSRETURN(argvi);
   11317           0 :   fail:
   11318             :     
   11319           0 :     SWIG_croak_null();
   11320             :   }
   11321             : }
   11322             : 
   11323             : 
   11324           0 : XS(_wrap_styleObj_polaroffsetangle_set) {
   11325             :   {
   11326             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   11327             :     double arg2 ;
   11328           0 :     void *argp1 = 0 ;
   11329             :     int res1 = 0 ;
   11330             :     double val2 ;
   11331             :     int ecode2 = 0 ;
   11332             :     int argvi = 0;
   11333           0 :     dXSARGS;
   11334             :     
   11335           0 :     if ((items < 2) || (items > 2)) {
   11336           0 :       SWIG_croak("Usage: styleObj_polaroffsetangle_set(self,polaroffsetangle);");
   11337             :     }
   11338           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   11339           0 :     if (!SWIG_IsOK(res1)) {
   11340           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_polaroffsetangle_set" "', argument " "1"" of type '" "struct styleObj *""'"); 
   11341             :     }
   11342           0 :     arg1 = (struct styleObj *)(argp1);
   11343           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   11344           0 :     if (!SWIG_IsOK(ecode2)) {
   11345           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_polaroffsetangle_set" "', argument " "2"" of type '" "double""'");
   11346             :     } 
   11347           0 :     arg2 = (double)(val2);
   11348           0 :     if (arg1) (arg1)->polaroffsetangle = arg2;
   11349           0 :     ST(argvi) = sv_newmortal();
   11350             :     
   11351             :     
   11352           0 :     XSRETURN(argvi);
   11353           0 :   fail:
   11354             :     
   11355             :     
   11356           0 :     SWIG_croak_null();
   11357             :   }
   11358             : }
   11359             : 
   11360             : 
   11361           0 : XS(_wrap_styleObj_polaroffsetangle_get) {
   11362             :   {
   11363             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   11364           0 :     void *argp1 = 0 ;
   11365             :     int res1 = 0 ;
   11366             :     int argvi = 0;
   11367             :     double result;
   11368           0 :     dXSARGS;
   11369             :     
   11370           0 :     if ((items < 1) || (items > 1)) {
   11371           0 :       SWIG_croak("Usage: styleObj_polaroffsetangle_get(self);");
   11372             :     }
   11373           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   11374           0 :     if (!SWIG_IsOK(res1)) {
   11375           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_polaroffsetangle_get" "', argument " "1"" of type '" "struct styleObj *""'"); 
   11376             :     }
   11377           0 :     arg1 = (struct styleObj *)(argp1);
   11378           0 :     result = (double) ((arg1)->polaroffsetangle);
   11379           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   11380             :     
   11381           0 :     XSRETURN(argvi);
   11382           0 :   fail:
   11383             :     
   11384           0 :     SWIG_croak_null();
   11385             :   }
   11386             : }
   11387             : 
   11388             : 
   11389           0 : XS(_wrap_styleObj_angle_set) {
   11390             :   {
   11391             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   11392             :     double arg2 ;
   11393           0 :     void *argp1 = 0 ;
   11394             :     int res1 = 0 ;
   11395             :     double val2 ;
   11396             :     int ecode2 = 0 ;
   11397             :     int argvi = 0;
   11398           0 :     dXSARGS;
   11399             :     
   11400           0 :     if ((items < 2) || (items > 2)) {
   11401           0 :       SWIG_croak("Usage: styleObj_angle_set(self,angle);");
   11402             :     }
   11403           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   11404           0 :     if (!SWIG_IsOK(res1)) {
   11405           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_angle_set" "', argument " "1"" of type '" "struct styleObj *""'"); 
   11406             :     }
   11407           0 :     arg1 = (struct styleObj *)(argp1);
   11408           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   11409           0 :     if (!SWIG_IsOK(ecode2)) {
   11410           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_angle_set" "', argument " "2"" of type '" "double""'");
   11411             :     } 
   11412           0 :     arg2 = (double)(val2);
   11413           0 :     if (arg1) (arg1)->angle = arg2;
   11414           0 :     ST(argvi) = sv_newmortal();
   11415             :     
   11416             :     
   11417           0 :     XSRETURN(argvi);
   11418           0 :   fail:
   11419             :     
   11420             :     
   11421           0 :     SWIG_croak_null();
   11422             :   }
   11423             : }
   11424             : 
   11425             : 
   11426           0 : XS(_wrap_styleObj_angle_get) {
   11427             :   {
   11428             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   11429           0 :     void *argp1 = 0 ;
   11430             :     int res1 = 0 ;
   11431             :     int argvi = 0;
   11432             :     double result;
   11433           0 :     dXSARGS;
   11434             :     
   11435           0 :     if ((items < 1) || (items > 1)) {
   11436           0 :       SWIG_croak("Usage: styleObj_angle_get(self);");
   11437             :     }
   11438           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   11439           0 :     if (!SWIG_IsOK(res1)) {
   11440           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_angle_get" "', argument " "1"" of type '" "struct styleObj *""'"); 
   11441             :     }
   11442           0 :     arg1 = (struct styleObj *)(argp1);
   11443           0 :     result = (double) ((arg1)->angle);
   11444           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   11445             :     
   11446           0 :     XSRETURN(argvi);
   11447           0 :   fail:
   11448             :     
   11449           0 :     SWIG_croak_null();
   11450             :   }
   11451             : }
   11452             : 
   11453             : 
   11454           0 : XS(_wrap_styleObj_minscaledenom_set) {
   11455             :   {
   11456             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   11457             :     double arg2 ;
   11458           0 :     void *argp1 = 0 ;
   11459             :     int res1 = 0 ;
   11460             :     double val2 ;
   11461             :     int ecode2 = 0 ;
   11462             :     int argvi = 0;
   11463           0 :     dXSARGS;
   11464             :     
   11465           0 :     if ((items < 2) || (items > 2)) {
   11466           0 :       SWIG_croak("Usage: styleObj_minscaledenom_set(self,minscaledenom);");
   11467             :     }
   11468           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   11469           0 :     if (!SWIG_IsOK(res1)) {
   11470           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_minscaledenom_set" "', argument " "1"" of type '" "struct styleObj *""'"); 
   11471             :     }
   11472           0 :     arg1 = (struct styleObj *)(argp1);
   11473           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   11474           0 :     if (!SWIG_IsOK(ecode2)) {
   11475           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_minscaledenom_set" "', argument " "2"" of type '" "double""'");
   11476             :     } 
   11477           0 :     arg2 = (double)(val2);
   11478           0 :     if (arg1) (arg1)->minscaledenom = arg2;
   11479           0 :     ST(argvi) = sv_newmortal();
   11480             :     
   11481             :     
   11482           0 :     XSRETURN(argvi);
   11483           0 :   fail:
   11484             :     
   11485             :     
   11486           0 :     SWIG_croak_null();
   11487             :   }
   11488             : }
   11489             : 
   11490             : 
   11491           0 : XS(_wrap_styleObj_minscaledenom_get) {
   11492             :   {
   11493             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   11494           0 :     void *argp1 = 0 ;
   11495             :     int res1 = 0 ;
   11496             :     int argvi = 0;
   11497             :     double result;
   11498           0 :     dXSARGS;
   11499             :     
   11500           0 :     if ((items < 1) || (items > 1)) {
   11501           0 :       SWIG_croak("Usage: styleObj_minscaledenom_get(self);");
   11502             :     }
   11503           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   11504           0 :     if (!SWIG_IsOK(res1)) {
   11505           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_minscaledenom_get" "', argument " "1"" of type '" "struct styleObj *""'"); 
   11506             :     }
   11507           0 :     arg1 = (struct styleObj *)(argp1);
   11508           0 :     result = (double) ((arg1)->minscaledenom);
   11509           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   11510             :     
   11511           0 :     XSRETURN(argvi);
   11512           0 :   fail:
   11513             :     
   11514           0 :     SWIG_croak_null();
   11515             :   }
   11516             : }
   11517             : 
   11518             : 
   11519           0 : XS(_wrap_styleObj_maxscaledenom_set) {
   11520             :   {
   11521             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   11522             :     double arg2 ;
   11523           0 :     void *argp1 = 0 ;
   11524             :     int res1 = 0 ;
   11525             :     double val2 ;
   11526             :     int ecode2 = 0 ;
   11527             :     int argvi = 0;
   11528           0 :     dXSARGS;
   11529             :     
   11530           0 :     if ((items < 2) || (items > 2)) {
   11531           0 :       SWIG_croak("Usage: styleObj_maxscaledenom_set(self,maxscaledenom);");
   11532             :     }
   11533           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   11534           0 :     if (!SWIG_IsOK(res1)) {
   11535           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_maxscaledenom_set" "', argument " "1"" of type '" "struct styleObj *""'"); 
   11536             :     }
   11537           0 :     arg1 = (struct styleObj *)(argp1);
   11538           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   11539           0 :     if (!SWIG_IsOK(ecode2)) {
   11540           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_maxscaledenom_set" "', argument " "2"" of type '" "double""'");
   11541             :     } 
   11542           0 :     arg2 = (double)(val2);
   11543           0 :     if (arg1) (arg1)->maxscaledenom = arg2;
   11544           0 :     ST(argvi) = sv_newmortal();
   11545             :     
   11546             :     
   11547           0 :     XSRETURN(argvi);
   11548           0 :   fail:
   11549             :     
   11550             :     
   11551           0 :     SWIG_croak_null();
   11552             :   }
   11553             : }
   11554             : 
   11555             : 
   11556           0 : XS(_wrap_styleObj_maxscaledenom_get) {
   11557             :   {
   11558             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   11559           0 :     void *argp1 = 0 ;
   11560             :     int res1 = 0 ;
   11561             :     int argvi = 0;
   11562             :     double result;
   11563           0 :     dXSARGS;
   11564             :     
   11565           0 :     if ((items < 1) || (items > 1)) {
   11566           0 :       SWIG_croak("Usage: styleObj_maxscaledenom_get(self);");
   11567             :     }
   11568           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   11569           0 :     if (!SWIG_IsOK(res1)) {
   11570           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_maxscaledenom_get" "', argument " "1"" of type '" "struct styleObj *""'"); 
   11571             :     }
   11572           0 :     arg1 = (struct styleObj *)(argp1);
   11573           0 :     result = (double) ((arg1)->maxscaledenom);
   11574           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   11575             :     
   11576           0 :     XSRETURN(argvi);
   11577           0 :   fail:
   11578             :     
   11579           0 :     SWIG_croak_null();
   11580             :   }
   11581             : }
   11582             : 
   11583             : 
   11584           0 : XS(_wrap_styleObj_sizeunits_set) {
   11585             :   {
   11586             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   11587             :     int arg2 ;
   11588           0 :     void *argp1 = 0 ;
   11589             :     int res1 = 0 ;
   11590             :     int val2 ;
   11591             :     int ecode2 = 0 ;
   11592             :     int argvi = 0;
   11593           0 :     dXSARGS;
   11594             :     
   11595           0 :     if ((items < 2) || (items > 2)) {
   11596           0 :       SWIG_croak("Usage: styleObj_sizeunits_set(self,sizeunits);");
   11597             :     }
   11598           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   11599           0 :     if (!SWIG_IsOK(res1)) {
   11600           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_sizeunits_set" "', argument " "1"" of type '" "struct styleObj *""'"); 
   11601             :     }
   11602           0 :     arg1 = (struct styleObj *)(argp1);
   11603           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   11604           0 :     if (!SWIG_IsOK(ecode2)) {
   11605           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_sizeunits_set" "', argument " "2"" of type '" "int""'");
   11606             :     } 
   11607             :     arg2 = (int)(val2);
   11608           0 :     if (arg1) (arg1)->sizeunits = arg2;
   11609           0 :     ST(argvi) = sv_newmortal();
   11610             :     
   11611             :     
   11612           0 :     XSRETURN(argvi);
   11613           0 :   fail:
   11614             :     
   11615             :     
   11616           0 :     SWIG_croak_null();
   11617             :   }
   11618             : }
   11619             : 
   11620             : 
   11621           0 : XS(_wrap_styleObj_sizeunits_get) {
   11622             :   {
   11623             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   11624           0 :     void *argp1 = 0 ;
   11625             :     int res1 = 0 ;
   11626             :     int argvi = 0;
   11627             :     int result;
   11628           0 :     dXSARGS;
   11629             :     
   11630           0 :     if ((items < 1) || (items > 1)) {
   11631           0 :       SWIG_croak("Usage: styleObj_sizeunits_get(self);");
   11632             :     }
   11633           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   11634           0 :     if (!SWIG_IsOK(res1)) {
   11635           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_sizeunits_get" "', argument " "1"" of type '" "struct styleObj *""'"); 
   11636             :     }
   11637           0 :     arg1 = (struct styleObj *)(argp1);
   11638           0 :     result = (int) ((arg1)->sizeunits);
   11639           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   11640             :     
   11641           0 :     XSRETURN(argvi);
   11642           0 :   fail:
   11643             :     
   11644           0 :     SWIG_croak_null();
   11645             :   }
   11646             : }
   11647             : 
   11648             : 
   11649           0 : XS(_wrap_new_styleObj) {
   11650             :   {
   11651             :     classObj *arg1 = (classObj *) NULL ;
   11652           0 :     void *argp1 = 0 ;
   11653             :     int res1 = 0 ;
   11654             :     int argvi = 0;
   11655             :     struct styleObj *result = 0 ;
   11656           0 :     dXSARGS;
   11657             :     
   11658           0 :     if ((items < 0) || (items > 1)) {
   11659           0 :       SWIG_croak("Usage: new_styleObj(parent_class);");
   11660             :     }
   11661           0 :     if (items > 0) {
   11662           0 :       res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 |  0 );
   11663           0 :       if (!SWIG_IsOK(res1)) {
   11664           0 :         SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_styleObj" "', argument " "1"" of type '" "classObj *""'"); 
   11665             :       }
   11666           0 :       arg1 = (classObj *)(argp1);
   11667             :     }
   11668           0 :     result = (struct styleObj *)new_styleObj(arg1);
   11669           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_styleObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   11670             :     
   11671           0 :     XSRETURN(argvi);
   11672           0 :   fail:
   11673             :     
   11674           0 :     SWIG_croak_null();
   11675             :   }
   11676             : }
   11677             : 
   11678             : 
   11679           0 : XS(_wrap_delete_styleObj) {
   11680             :   {
   11681             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   11682           0 :     void *argp1 = 0 ;
   11683             :     int res1 = 0 ;
   11684             :     int argvi = 0;
   11685           0 :     dXSARGS;
   11686             :     
   11687           0 :     if ((items < 1) || (items > 1)) {
   11688           0 :       SWIG_croak("Usage: delete_styleObj(self);");
   11689             :     }
   11690           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, SWIG_POINTER_DISOWN |  0 );
   11691           0 :     if (!SWIG_IsOK(res1)) {
   11692           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_styleObj" "', argument " "1"" of type '" "struct styleObj *""'"); 
   11693             :     }
   11694           0 :     arg1 = (struct styleObj *)(argp1);
   11695           0 :     delete_styleObj(arg1);
   11696           0 :     ST(argvi) = sv_newmortal();
   11697             :     
   11698           0 :     XSRETURN(argvi);
   11699           0 :   fail:
   11700             :     
   11701           0 :     SWIG_croak_null();
   11702             :   }
   11703             : }
   11704             : 
   11705             : 
   11706           0 : XS(_wrap_styleObj_updateFromString) {
   11707             :   {
   11708             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   11709             :     char *arg2 = (char *) 0 ;
   11710           0 :     void *argp1 = 0 ;
   11711             :     int res1 = 0 ;
   11712             :     int res2 ;
   11713           0 :     char *buf2 = 0 ;
   11714           0 :     int alloc2 = 0 ;
   11715             :     int argvi = 0;
   11716             :     int result;
   11717           0 :     dXSARGS;
   11718             :     
   11719           0 :     if ((items < 2) || (items > 2)) {
   11720           0 :       SWIG_croak("Usage: styleObj_updateFromString(self,snippet);");
   11721             :     }
   11722           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   11723           0 :     if (!SWIG_IsOK(res1)) {
   11724           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_updateFromString" "', argument " "1"" of type '" "struct styleObj *""'"); 
   11725             :     }
   11726           0 :     arg1 = (struct styleObj *)(argp1);
   11727           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   11728           0 :     if (!SWIG_IsOK(res2)) {
   11729           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "styleObj_updateFromString" "', argument " "2"" of type '" "char *""'");
   11730             :     }
   11731           0 :     arg2 = (char *)(buf2);
   11732             :     result = (int)styleObj_updateFromString(arg1,arg2);
   11733           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   11734             :     
   11735           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   11736           0 :     XSRETURN(argvi);
   11737           0 :   fail:
   11738             :     
   11739           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   11740           0 :     SWIG_croak_null();
   11741             :   }
   11742             : }
   11743             : 
   11744             : 
   11745           0 : XS(_wrap_styleObj_convertToString) {
   11746             :   {
   11747             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   11748           0 :     void *argp1 = 0 ;
   11749             :     int res1 = 0 ;
   11750             :     int argvi = 0;
   11751             :     char *result = 0 ;
   11752           0 :     dXSARGS;
   11753             :     
   11754           0 :     if ((items < 1) || (items > 1)) {
   11755           0 :       SWIG_croak("Usage: styleObj_convertToString(self);");
   11756             :     }
   11757           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   11758           0 :     if (!SWIG_IsOK(res1)) {
   11759           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_convertToString" "', argument " "1"" of type '" "struct styleObj *""'"); 
   11760             :     }
   11761           0 :     arg1 = (struct styleObj *)(argp1);
   11762             :     result = (char *)styleObj_convertToString(arg1);
   11763           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   11764             :     
   11765           0 :     free((char*)result);
   11766           0 :     XSRETURN(argvi);
   11767           0 :   fail:
   11768             :     
   11769           0 :     SWIG_croak_null();
   11770             :   }
   11771             : }
   11772             : 
   11773             : 
   11774           0 : XS(_wrap_styleObj_clone) {
   11775             :   {
   11776             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   11777           0 :     void *argp1 = 0 ;
   11778             :     int res1 = 0 ;
   11779             :     int argvi = 0;
   11780             :     styleObj *result = 0 ;
   11781           0 :     dXSARGS;
   11782             :     
   11783           0 :     if ((items < 1) || (items > 1)) {
   11784           0 :       SWIG_croak("Usage: styleObj_clone(self);");
   11785             :     }
   11786           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   11787           0 :     if (!SWIG_IsOK(res1)) {
   11788           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_clone" "', argument " "1"" of type '" "struct styleObj *""'"); 
   11789             :     }
   11790           0 :     arg1 = (struct styleObj *)(argp1);
   11791           0 :     result = (styleObj *)styleObj_clone(arg1);
   11792           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_styleObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   11793             :     
   11794           0 :     XSRETURN(argvi);
   11795           0 :   fail:
   11796             :     
   11797           0 :     SWIG_croak_null();
   11798             :   }
   11799             : }
   11800             : 
   11801             : 
   11802           0 : XS(_wrap_styleObj_setSymbolByName) {
   11803             :   {
   11804             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   11805             :     mapObj *arg2 = (mapObj *) 0 ;
   11806             :     char *arg3 = (char *) 0 ;
   11807           0 :     void *argp1 = 0 ;
   11808             :     int res1 = 0 ;
   11809           0 :     void *argp2 = 0 ;
   11810             :     int res2 = 0 ;
   11811             :     int res3 ;
   11812           0 :     char *buf3 = 0 ;
   11813           0 :     int alloc3 = 0 ;
   11814             :     int argvi = 0;
   11815             :     int result;
   11816           0 :     dXSARGS;
   11817             :     
   11818           0 :     if ((items < 3) || (items > 3)) {
   11819           0 :       SWIG_croak("Usage: styleObj_setSymbolByName(self,map,symbolname);");
   11820             :     }
   11821           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   11822           0 :     if (!SWIG_IsOK(res1)) {
   11823           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_setSymbolByName" "', argument " "1"" of type '" "struct styleObj *""'"); 
   11824             :     }
   11825           0 :     arg1 = (struct styleObj *)(argp1);
   11826           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_mapObj, 0 |  0 );
   11827           0 :     if (!SWIG_IsOK(res2)) {
   11828           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "styleObj_setSymbolByName" "', argument " "2"" of type '" "mapObj *""'"); 
   11829             :     }
   11830           0 :     arg2 = (mapObj *)(argp2);
   11831           0 :     res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
   11832           0 :     if (!SWIG_IsOK(res3)) {
   11833           0 :       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "styleObj_setSymbolByName" "', argument " "3"" of type '" "char *""'");
   11834             :     }
   11835           0 :     arg3 = (char *)(buf3);
   11836           0 :     result = (int)styleObj_setSymbolByName(arg1,arg2,arg3);
   11837           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   11838             :     
   11839             :     
   11840           0 :     if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
   11841           0 :     XSRETURN(argvi);
   11842           0 :   fail:
   11843             :     
   11844             :     
   11845           0 :     if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
   11846           0 :     SWIG_croak_null();
   11847             :   }
   11848             : }
   11849             : 
   11850             : 
   11851           0 : XS(_wrap_styleObj_removeBinding) {
   11852             :   {
   11853             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   11854             :     int arg2 ;
   11855           0 :     void *argp1 = 0 ;
   11856             :     int res1 = 0 ;
   11857             :     int val2 ;
   11858             :     int ecode2 = 0 ;
   11859             :     int argvi = 0;
   11860             :     int result;
   11861           0 :     dXSARGS;
   11862             :     
   11863           0 :     if ((items < 2) || (items > 2)) {
   11864           0 :       SWIG_croak("Usage: styleObj_removeBinding(self,binding);");
   11865             :     }
   11866           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   11867           0 :     if (!SWIG_IsOK(res1)) {
   11868           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_removeBinding" "', argument " "1"" of type '" "struct styleObj *""'"); 
   11869             :     }
   11870           0 :     arg1 = (struct styleObj *)(argp1);
   11871           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   11872           0 :     if (!SWIG_IsOK(ecode2)) {
   11873           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_removeBinding" "', argument " "2"" of type '" "int""'");
   11874             :     } 
   11875             :     arg2 = (int)(val2);
   11876             :     result = (int)styleObj_removeBinding(arg1,arg2);
   11877           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   11878             :     
   11879             :     
   11880           0 :     XSRETURN(argvi);
   11881           0 :   fail:
   11882             :     
   11883             :     
   11884           0 :     SWIG_croak_null();
   11885             :   }
   11886             : }
   11887             : 
   11888             : 
   11889           0 : XS(_wrap_styleObj_setBinding) {
   11890             :   {
   11891             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   11892             :     int arg2 ;
   11893             :     char *arg3 = (char *) 0 ;
   11894           0 :     void *argp1 = 0 ;
   11895             :     int res1 = 0 ;
   11896             :     int val2 ;
   11897             :     int ecode2 = 0 ;
   11898             :     int res3 ;
   11899           0 :     char *buf3 = 0 ;
   11900           0 :     int alloc3 = 0 ;
   11901             :     int argvi = 0;
   11902             :     int result;
   11903           0 :     dXSARGS;
   11904             :     
   11905           0 :     if ((items < 3) || (items > 3)) {
   11906           0 :       SWIG_croak("Usage: styleObj_setBinding(self,binding,item);");
   11907             :     }
   11908           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   11909           0 :     if (!SWIG_IsOK(res1)) {
   11910           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_setBinding" "', argument " "1"" of type '" "struct styleObj *""'"); 
   11911             :     }
   11912           0 :     arg1 = (struct styleObj *)(argp1);
   11913           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   11914           0 :     if (!SWIG_IsOK(ecode2)) {
   11915           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_setBinding" "', argument " "2"" of type '" "int""'");
   11916             :     } 
   11917             :     arg2 = (int)(val2);
   11918           0 :     res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
   11919           0 :     if (!SWIG_IsOK(res3)) {
   11920           0 :       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "styleObj_setBinding" "', argument " "3"" of type '" "char *""'");
   11921             :     }
   11922           0 :     arg3 = (char *)(buf3);
   11923           0 :     result = (int)styleObj_setBinding(arg1,arg2,arg3);
   11924           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   11925             :     
   11926             :     
   11927           0 :     if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
   11928           0 :     XSRETURN(argvi);
   11929           0 :   fail:
   11930             :     
   11931             :     
   11932           0 :     if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
   11933           0 :     SWIG_croak_null();
   11934             :   }
   11935             : }
   11936             : 
   11937             : 
   11938           0 : XS(_wrap_styleObj_getBinding) {
   11939             :   {
   11940             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   11941             :     int arg2 ;
   11942           0 :     void *argp1 = 0 ;
   11943             :     int res1 = 0 ;
   11944             :     int val2 ;
   11945             :     int ecode2 = 0 ;
   11946             :     int argvi = 0;
   11947             :     char *result = 0 ;
   11948           0 :     dXSARGS;
   11949             :     
   11950           0 :     if ((items < 2) || (items > 2)) {
   11951           0 :       SWIG_croak("Usage: styleObj_getBinding(self,binding);");
   11952             :     }
   11953           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   11954           0 :     if (!SWIG_IsOK(res1)) {
   11955           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_getBinding" "', argument " "1"" of type '" "struct styleObj *""'"); 
   11956             :     }
   11957           0 :     arg1 = (struct styleObj *)(argp1);
   11958           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   11959           0 :     if (!SWIG_IsOK(ecode2)) {
   11960           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "styleObj_getBinding" "', argument " "2"" of type '" "int""'");
   11961             :     } 
   11962             :     arg2 = (int)(val2);
   11963             :     result = (char *)styleObj_getBinding(arg1,arg2);
   11964           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   11965             :     
   11966             :     
   11967           0 :     XSRETURN(argvi);
   11968           0 :   fail:
   11969             :     
   11970             :     
   11971           0 :     SWIG_croak_null();
   11972             :   }
   11973             : }
   11974             : 
   11975             : 
   11976           0 : XS(_wrap_styleObj_getGeomTransform) {
   11977             :   {
   11978             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   11979           0 :     void *argp1 = 0 ;
   11980             :     int res1 = 0 ;
   11981             :     int argvi = 0;
   11982             :     char *result = 0 ;
   11983           0 :     dXSARGS;
   11984             :     
   11985           0 :     if ((items < 1) || (items > 1)) {
   11986           0 :       SWIG_croak("Usage: styleObj_getGeomTransform(self);");
   11987             :     }
   11988           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   11989           0 :     if (!SWIG_IsOK(res1)) {
   11990           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_getGeomTransform" "', argument " "1"" of type '" "struct styleObj *""'"); 
   11991             :     }
   11992           0 :     arg1 = (struct styleObj *)(argp1);
   11993           0 :     result = (char *)styleObj_getGeomTransform(arg1);
   11994           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   11995             :     
   11996           0 :     XSRETURN(argvi);
   11997           0 :   fail:
   11998             :     
   11999           0 :     SWIG_croak_null();
   12000             :   }
   12001             : }
   12002             : 
   12003             : 
   12004           0 : XS(_wrap_styleObj_setGeomTransform) {
   12005             :   {
   12006             :     struct styleObj *arg1 = (struct styleObj *) 0 ;
   12007             :     char *arg2 = (char *) 0 ;
   12008           0 :     void *argp1 = 0 ;
   12009             :     int res1 = 0 ;
   12010             :     int res2 ;
   12011           0 :     char *buf2 = 0 ;
   12012           0 :     int alloc2 = 0 ;
   12013             :     int argvi = 0;
   12014           0 :     dXSARGS;
   12015             :     
   12016           0 :     if ((items < 2) || (items > 2)) {
   12017           0 :       SWIG_croak("Usage: styleObj_setGeomTransform(self,transform);");
   12018             :     }
   12019           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_styleObj, 0 |  0 );
   12020           0 :     if (!SWIG_IsOK(res1)) {
   12021           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "styleObj_setGeomTransform" "', argument " "1"" of type '" "struct styleObj *""'"); 
   12022             :     }
   12023           0 :     arg1 = (struct styleObj *)(argp1);
   12024           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   12025           0 :     if (!SWIG_IsOK(res2)) {
   12026           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "styleObj_setGeomTransform" "', argument " "2"" of type '" "char *""'");
   12027             :     }
   12028           0 :     arg2 = (char *)(buf2);
   12029             :     styleObj_setGeomTransform(arg1,arg2);
   12030           0 :     ST(argvi) = sv_newmortal();
   12031             :     
   12032           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   12033           0 :     XSRETURN(argvi);
   12034           0 :   fail:
   12035             :     
   12036           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   12037           0 :     SWIG_croak_null();
   12038             :   }
   12039             : }
   12040             : 
   12041             : 
   12042           0 : XS(_wrap_labelLeaderObj_maxdistance_set) {
   12043             :   {
   12044             :     labelLeaderObj *arg1 = (labelLeaderObj *) 0 ;
   12045             :     int arg2 ;
   12046           0 :     void *argp1 = 0 ;
   12047             :     int res1 = 0 ;
   12048             :     int val2 ;
   12049             :     int ecode2 = 0 ;
   12050             :     int argvi = 0;
   12051           0 :     dXSARGS;
   12052             :     
   12053           0 :     if ((items < 2) || (items > 2)) {
   12054           0 :       SWIG_croak("Usage: labelLeaderObj_maxdistance_set(self,maxdistance);");
   12055             :     }
   12056           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelLeaderObj, 0 |  0 );
   12057           0 :     if (!SWIG_IsOK(res1)) {
   12058           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelLeaderObj_maxdistance_set" "', argument " "1"" of type '" "labelLeaderObj *""'"); 
   12059             :     }
   12060           0 :     arg1 = (labelLeaderObj *)(argp1);
   12061           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   12062           0 :     if (!SWIG_IsOK(ecode2)) {
   12063           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelLeaderObj_maxdistance_set" "', argument " "2"" of type '" "int""'");
   12064             :     } 
   12065             :     arg2 = (int)(val2);
   12066           0 :     if (arg1) (arg1)->maxdistance = arg2;
   12067           0 :     ST(argvi) = sv_newmortal();
   12068             :     
   12069             :     
   12070           0 :     XSRETURN(argvi);
   12071           0 :   fail:
   12072             :     
   12073             :     
   12074           0 :     SWIG_croak_null();
   12075             :   }
   12076             : }
   12077             : 
   12078             : 
   12079           0 : XS(_wrap_labelLeaderObj_maxdistance_get) {
   12080             :   {
   12081             :     labelLeaderObj *arg1 = (labelLeaderObj *) 0 ;
   12082           0 :     void *argp1 = 0 ;
   12083             :     int res1 = 0 ;
   12084             :     int argvi = 0;
   12085             :     int result;
   12086           0 :     dXSARGS;
   12087             :     
   12088           0 :     if ((items < 1) || (items > 1)) {
   12089           0 :       SWIG_croak("Usage: labelLeaderObj_maxdistance_get(self);");
   12090             :     }
   12091           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelLeaderObj, 0 |  0 );
   12092           0 :     if (!SWIG_IsOK(res1)) {
   12093           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelLeaderObj_maxdistance_get" "', argument " "1"" of type '" "labelLeaderObj *""'"); 
   12094             :     }
   12095           0 :     arg1 = (labelLeaderObj *)(argp1);
   12096           0 :     result = (int) ((arg1)->maxdistance);
   12097           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   12098             :     
   12099           0 :     XSRETURN(argvi);
   12100           0 :   fail:
   12101             :     
   12102           0 :     SWIG_croak_null();
   12103             :   }
   12104             : }
   12105             : 
   12106             : 
   12107           0 : XS(_wrap_labelLeaderObj_gridstep_set) {
   12108             :   {
   12109             :     labelLeaderObj *arg1 = (labelLeaderObj *) 0 ;
   12110             :     int arg2 ;
   12111           0 :     void *argp1 = 0 ;
   12112             :     int res1 = 0 ;
   12113             :     int val2 ;
   12114             :     int ecode2 = 0 ;
   12115             :     int argvi = 0;
   12116           0 :     dXSARGS;
   12117             :     
   12118           0 :     if ((items < 2) || (items > 2)) {
   12119           0 :       SWIG_croak("Usage: labelLeaderObj_gridstep_set(self,gridstep);");
   12120             :     }
   12121           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelLeaderObj, 0 |  0 );
   12122           0 :     if (!SWIG_IsOK(res1)) {
   12123           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelLeaderObj_gridstep_set" "', argument " "1"" of type '" "labelLeaderObj *""'"); 
   12124             :     }
   12125           0 :     arg1 = (labelLeaderObj *)(argp1);
   12126           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   12127           0 :     if (!SWIG_IsOK(ecode2)) {
   12128           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelLeaderObj_gridstep_set" "', argument " "2"" of type '" "int""'");
   12129             :     } 
   12130             :     arg2 = (int)(val2);
   12131           0 :     if (arg1) (arg1)->gridstep = arg2;
   12132           0 :     ST(argvi) = sv_newmortal();
   12133             :     
   12134             :     
   12135           0 :     XSRETURN(argvi);
   12136           0 :   fail:
   12137             :     
   12138             :     
   12139           0 :     SWIG_croak_null();
   12140             :   }
   12141             : }
   12142             : 
   12143             : 
   12144           0 : XS(_wrap_labelLeaderObj_gridstep_get) {
   12145             :   {
   12146             :     labelLeaderObj *arg1 = (labelLeaderObj *) 0 ;
   12147           0 :     void *argp1 = 0 ;
   12148             :     int res1 = 0 ;
   12149             :     int argvi = 0;
   12150             :     int result;
   12151           0 :     dXSARGS;
   12152             :     
   12153           0 :     if ((items < 1) || (items > 1)) {
   12154           0 :       SWIG_croak("Usage: labelLeaderObj_gridstep_get(self);");
   12155             :     }
   12156           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelLeaderObj, 0 |  0 );
   12157           0 :     if (!SWIG_IsOK(res1)) {
   12158           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelLeaderObj_gridstep_get" "', argument " "1"" of type '" "labelLeaderObj *""'"); 
   12159             :     }
   12160           0 :     arg1 = (labelLeaderObj *)(argp1);
   12161           0 :     result = (int) ((arg1)->gridstep);
   12162           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   12163             :     
   12164           0 :     XSRETURN(argvi);
   12165           0 :   fail:
   12166             :     
   12167           0 :     SWIG_croak_null();
   12168             :   }
   12169             : }
   12170             : 
   12171             : 
   12172           0 : XS(_wrap_labelLeaderObj_numstyles_get) {
   12173             :   {
   12174             :     labelLeaderObj *arg1 = (labelLeaderObj *) 0 ;
   12175           0 :     void *argp1 = 0 ;
   12176             :     int res1 = 0 ;
   12177             :     int argvi = 0;
   12178             :     int result;
   12179           0 :     dXSARGS;
   12180             :     
   12181           0 :     if ((items < 1) || (items > 1)) {
   12182           0 :       SWIG_croak("Usage: labelLeaderObj_numstyles_get(self);");
   12183             :     }
   12184           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelLeaderObj, 0 |  0 );
   12185           0 :     if (!SWIG_IsOK(res1)) {
   12186           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelLeaderObj_numstyles_get" "', argument " "1"" of type '" "labelLeaderObj *""'"); 
   12187             :     }
   12188           0 :     arg1 = (labelLeaderObj *)(argp1);
   12189           0 :     result = (int) ((arg1)->numstyles);
   12190           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   12191             :     
   12192           0 :     XSRETURN(argvi);
   12193           0 :   fail:
   12194             :     
   12195           0 :     SWIG_croak_null();
   12196             :   }
   12197             : }
   12198             : 
   12199             : 
   12200           0 : XS(_wrap_new_labelLeaderObj) {
   12201             :   {
   12202             :     int argvi = 0;
   12203             :     labelLeaderObj *result = 0 ;
   12204           0 :     dXSARGS;
   12205             :     
   12206           0 :     if ((items < 0) || (items > 0)) {
   12207           0 :       SWIG_croak("Usage: new_labelLeaderObj();");
   12208             :     }
   12209           0 :     result = (labelLeaderObj *)calloc(1, sizeof(labelLeaderObj));
   12210           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_labelLeaderObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   12211           0 :     XSRETURN(argvi);
   12212             :   fail:
   12213           0 :     SWIG_croak_null();
   12214             :   }
   12215             : }
   12216             : 
   12217             : 
   12218           0 : XS(_wrap_delete_labelLeaderObj) {
   12219             :   {
   12220             :     labelLeaderObj *arg1 = (labelLeaderObj *) 0 ;
   12221           0 :     void *argp1 = 0 ;
   12222             :     int res1 = 0 ;
   12223             :     int argvi = 0;
   12224           0 :     dXSARGS;
   12225             :     
   12226           0 :     if ((items < 1) || (items > 1)) {
   12227           0 :       SWIG_croak("Usage: delete_labelLeaderObj(self);");
   12228             :     }
   12229           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelLeaderObj, SWIG_POINTER_DISOWN |  0 );
   12230           0 :     if (!SWIG_IsOK(res1)) {
   12231           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_labelLeaderObj" "', argument " "1"" of type '" "labelLeaderObj *""'"); 
   12232             :     }
   12233           0 :     arg1 = (labelLeaderObj *)(argp1);
   12234           0 :     free((char *) arg1);
   12235           0 :     ST(argvi) = sv_newmortal();
   12236             :     
   12237           0 :     XSRETURN(argvi);
   12238           0 :   fail:
   12239             :     
   12240           0 :     SWIG_croak_null();
   12241             :   }
   12242             : }
   12243             : 
   12244             : 
   12245           0 : XS(_wrap_labelObj_refcount_get) {
   12246             :   {
   12247             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   12248           0 :     void *argp1 = 0 ;
   12249             :     int res1 = 0 ;
   12250             :     int argvi = 0;
   12251             :     int result;
   12252           0 :     dXSARGS;
   12253             :     
   12254           0 :     if ((items < 1) || (items > 1)) {
   12255           0 :       SWIG_croak("Usage: labelObj_refcount_get(self);");
   12256             :     }
   12257           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   12258           0 :     if (!SWIG_IsOK(res1)) {
   12259           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_refcount_get" "', argument " "1"" of type '" "struct labelObj *""'"); 
   12260             :     }
   12261           0 :     arg1 = (struct labelObj *)(argp1);
   12262           0 :     result = (int) ((arg1)->refcount);
   12263           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   12264             :     
   12265           0 :     XSRETURN(argvi);
   12266           0 :   fail:
   12267             :     
   12268           0 :     SWIG_croak_null();
   12269             :   }
   12270             : }
   12271             : 
   12272             : 
   12273           0 : XS(_wrap_labelObj_font_set) {
   12274             :   {
   12275             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   12276             :     char *arg2 = (char *) 0 ;
   12277           0 :     void *argp1 = 0 ;
   12278             :     int res1 = 0 ;
   12279             :     int res2 ;
   12280           0 :     char *buf2 = 0 ;
   12281           0 :     int alloc2 = 0 ;
   12282             :     int argvi = 0;
   12283           0 :     dXSARGS;
   12284             :     
   12285           0 :     if ((items < 2) || (items > 2)) {
   12286           0 :       SWIG_croak("Usage: labelObj_font_set(self,font);");
   12287             :     }
   12288           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   12289           0 :     if (!SWIG_IsOK(res1)) {
   12290           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_font_set" "', argument " "1"" of type '" "struct labelObj *""'"); 
   12291             :     }
   12292           0 :     arg1 = (struct labelObj *)(argp1);
   12293           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   12294           0 :     if (!SWIG_IsOK(res2)) {
   12295           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "labelObj_font_set" "', argument " "2"" of type '" "char *""'");
   12296             :     }
   12297           0 :     arg2 = (char *)(buf2);
   12298             :     {
   12299           0 :       if (arg1->font) free((char*)arg1->font);
   12300           0 :       if (arg2) {
   12301           0 :         arg1->font = (char *) malloc(strlen(arg2)+1);
   12302             :         strcpy((char*)arg1->font,arg2);
   12303             :       } else {
   12304           0 :         arg1->font = 0;
   12305             :       }
   12306             :     }
   12307           0 :     ST(argvi) = sv_newmortal();
   12308             :     
   12309           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   12310           0 :     XSRETURN(argvi);
   12311           0 :   fail:
   12312             :     
   12313           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   12314           0 :     SWIG_croak_null();
   12315             :   }
   12316             : }
   12317             : 
   12318             : 
   12319           0 : XS(_wrap_labelObj_font_get) {
   12320             :   {
   12321             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   12322           0 :     void *argp1 = 0 ;
   12323             :     int res1 = 0 ;
   12324             :     int argvi = 0;
   12325             :     char *result = 0 ;
   12326           0 :     dXSARGS;
   12327             :     
   12328           0 :     if ((items < 1) || (items > 1)) {
   12329           0 :       SWIG_croak("Usage: labelObj_font_get(self);");
   12330             :     }
   12331           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   12332           0 :     if (!SWIG_IsOK(res1)) {
   12333           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_font_get" "', argument " "1"" of type '" "struct labelObj *""'"); 
   12334             :     }
   12335           0 :     arg1 = (struct labelObj *)(argp1);
   12336           0 :     result = (char *) ((arg1)->font);
   12337           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   12338             :     
   12339           0 :     XSRETURN(argvi);
   12340           0 :   fail:
   12341             :     
   12342           0 :     SWIG_croak_null();
   12343             :   }
   12344             : }
   12345             : 
   12346             : 
   12347           0 : XS(_wrap_labelObj_color_set) {
   12348             :   {
   12349             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   12350             :     colorObj *arg2 = (colorObj *) 0 ;
   12351           0 :     void *argp1 = 0 ;
   12352             :     int res1 = 0 ;
   12353           0 :     void *argp2 = 0 ;
   12354             :     int res2 = 0 ;
   12355             :     int argvi = 0;
   12356           0 :     dXSARGS;
   12357             :     
   12358           0 :     if ((items < 2) || (items > 2)) {
   12359           0 :       SWIG_croak("Usage: labelObj_color_set(self,color);");
   12360             :     }
   12361           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   12362           0 :     if (!SWIG_IsOK(res1)) {
   12363           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_color_set" "', argument " "1"" of type '" "struct labelObj *""'"); 
   12364             :     }
   12365           0 :     arg1 = (struct labelObj *)(argp1);
   12366           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_colorObj, 0 |  0 );
   12367           0 :     if (!SWIG_IsOK(res2)) {
   12368           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "labelObj_color_set" "', argument " "2"" of type '" "colorObj *""'"); 
   12369             :     }
   12370           0 :     arg2 = (colorObj *)(argp2);
   12371           0 :     if (arg1) (arg1)->color = *arg2;
   12372           0 :     ST(argvi) = sv_newmortal();
   12373             :     
   12374             :     
   12375           0 :     XSRETURN(argvi);
   12376           0 :   fail:
   12377             :     
   12378             :     
   12379           0 :     SWIG_croak_null();
   12380             :   }
   12381             : }
   12382             : 
   12383             : 
   12384           0 : XS(_wrap_labelObj_color_get) {
   12385             :   {
   12386             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   12387           0 :     void *argp1 = 0 ;
   12388             :     int res1 = 0 ;
   12389             :     int argvi = 0;
   12390             :     colorObj *result = 0 ;
   12391           0 :     dXSARGS;
   12392             :     
   12393           0 :     if ((items < 1) || (items > 1)) {
   12394           0 :       SWIG_croak("Usage: labelObj_color_get(self);");
   12395             :     }
   12396           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   12397           0 :     if (!SWIG_IsOK(res1)) {
   12398           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_color_get" "', argument " "1"" of type '" "struct labelObj *""'"); 
   12399             :     }
   12400           0 :     arg1 = (struct labelObj *)(argp1);
   12401           0 :     result = (colorObj *)& ((arg1)->color);
   12402           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_colorObj, 0 | SWIG_SHADOW); argvi++ ;
   12403             :     
   12404           0 :     XSRETURN(argvi);
   12405           0 :   fail:
   12406             :     
   12407           0 :     SWIG_croak_null();
   12408             :   }
   12409             : }
   12410             : 
   12411             : 
   12412           0 : XS(_wrap_labelObj_outlinecolor_set) {
   12413             :   {
   12414             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   12415             :     colorObj *arg2 = (colorObj *) 0 ;
   12416           0 :     void *argp1 = 0 ;
   12417             :     int res1 = 0 ;
   12418           0 :     void *argp2 = 0 ;
   12419             :     int res2 = 0 ;
   12420             :     int argvi = 0;
   12421           0 :     dXSARGS;
   12422             :     
   12423           0 :     if ((items < 2) || (items > 2)) {
   12424           0 :       SWIG_croak("Usage: labelObj_outlinecolor_set(self,outlinecolor);");
   12425             :     }
   12426           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   12427           0 :     if (!SWIG_IsOK(res1)) {
   12428           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_outlinecolor_set" "', argument " "1"" of type '" "struct labelObj *""'"); 
   12429             :     }
   12430           0 :     arg1 = (struct labelObj *)(argp1);
   12431           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_colorObj, 0 |  0 );
   12432           0 :     if (!SWIG_IsOK(res2)) {
   12433           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "labelObj_outlinecolor_set" "', argument " "2"" of type '" "colorObj *""'"); 
   12434             :     }
   12435           0 :     arg2 = (colorObj *)(argp2);
   12436           0 :     if (arg1) (arg1)->outlinecolor = *arg2;
   12437           0 :     ST(argvi) = sv_newmortal();
   12438             :     
   12439             :     
   12440           0 :     XSRETURN(argvi);
   12441           0 :   fail:
   12442             :     
   12443             :     
   12444           0 :     SWIG_croak_null();
   12445             :   }
   12446             : }
   12447             : 
   12448             : 
   12449           0 : XS(_wrap_labelObj_outlinecolor_get) {
   12450             :   {
   12451             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   12452           0 :     void *argp1 = 0 ;
   12453             :     int res1 = 0 ;
   12454             :     int argvi = 0;
   12455             :     colorObj *result = 0 ;
   12456           0 :     dXSARGS;
   12457             :     
   12458           0 :     if ((items < 1) || (items > 1)) {
   12459           0 :       SWIG_croak("Usage: labelObj_outlinecolor_get(self);");
   12460             :     }
   12461           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   12462           0 :     if (!SWIG_IsOK(res1)) {
   12463           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_outlinecolor_get" "', argument " "1"" of type '" "struct labelObj *""'"); 
   12464             :     }
   12465           0 :     arg1 = (struct labelObj *)(argp1);
   12466           0 :     result = (colorObj *)& ((arg1)->outlinecolor);
   12467           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_colorObj, 0 | SWIG_SHADOW); argvi++ ;
   12468             :     
   12469           0 :     XSRETURN(argvi);
   12470           0 :   fail:
   12471             :     
   12472           0 :     SWIG_croak_null();
   12473             :   }
   12474             : }
   12475             : 
   12476             : 
   12477           0 : XS(_wrap_labelObj_outlinewidth_set) {
   12478             :   {
   12479             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   12480             :     int arg2 ;
   12481           0 :     void *argp1 = 0 ;
   12482             :     int res1 = 0 ;
   12483             :     int val2 ;
   12484             :     int ecode2 = 0 ;
   12485             :     int argvi = 0;
   12486           0 :     dXSARGS;
   12487             :     
   12488           0 :     if ((items < 2) || (items > 2)) {
   12489           0 :       SWIG_croak("Usage: labelObj_outlinewidth_set(self,outlinewidth);");
   12490             :     }
   12491           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   12492           0 :     if (!SWIG_IsOK(res1)) {
   12493           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_outlinewidth_set" "', argument " "1"" of type '" "struct labelObj *""'"); 
   12494             :     }
   12495           0 :     arg1 = (struct labelObj *)(argp1);
   12496           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   12497           0 :     if (!SWIG_IsOK(ecode2)) {
   12498           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_outlinewidth_set" "', argument " "2"" of type '" "int""'");
   12499             :     } 
   12500             :     arg2 = (int)(val2);
   12501           0 :     if (arg1) (arg1)->outlinewidth = arg2;
   12502           0 :     ST(argvi) = sv_newmortal();
   12503             :     
   12504             :     
   12505           0 :     XSRETURN(argvi);
   12506           0 :   fail:
   12507             :     
   12508             :     
   12509           0 :     SWIG_croak_null();
   12510             :   }
   12511             : }
   12512             : 
   12513             : 
   12514           0 : XS(_wrap_labelObj_outlinewidth_get) {
   12515             :   {
   12516             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   12517           0 :     void *argp1 = 0 ;
   12518             :     int res1 = 0 ;
   12519             :     int argvi = 0;
   12520             :     int result;
   12521           0 :     dXSARGS;
   12522             :     
   12523           0 :     if ((items < 1) || (items > 1)) {
   12524           0 :       SWIG_croak("Usage: labelObj_outlinewidth_get(self);");
   12525             :     }
   12526           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   12527           0 :     if (!SWIG_IsOK(res1)) {
   12528           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_outlinewidth_get" "', argument " "1"" of type '" "struct labelObj *""'"); 
   12529             :     }
   12530           0 :     arg1 = (struct labelObj *)(argp1);
   12531           0 :     result = (int) ((arg1)->outlinewidth);
   12532           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   12533             :     
   12534           0 :     XSRETURN(argvi);
   12535           0 :   fail:
   12536             :     
   12537           0 :     SWIG_croak_null();
   12538             :   }
   12539             : }
   12540             : 
   12541             : 
   12542           0 : XS(_wrap_labelObj_shadowcolor_set) {
   12543             :   {
   12544             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   12545             :     colorObj *arg2 = (colorObj *) 0 ;
   12546           0 :     void *argp1 = 0 ;
   12547             :     int res1 = 0 ;
   12548           0 :     void *argp2 = 0 ;
   12549             :     int res2 = 0 ;
   12550             :     int argvi = 0;
   12551           0 :     dXSARGS;
   12552             :     
   12553           0 :     if ((items < 2) || (items > 2)) {
   12554           0 :       SWIG_croak("Usage: labelObj_shadowcolor_set(self,shadowcolor);");
   12555             :     }
   12556           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   12557           0 :     if (!SWIG_IsOK(res1)) {
   12558           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_shadowcolor_set" "', argument " "1"" of type '" "struct labelObj *""'"); 
   12559             :     }
   12560           0 :     arg1 = (struct labelObj *)(argp1);
   12561           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_colorObj, 0 |  0 );
   12562           0 :     if (!SWIG_IsOK(res2)) {
   12563           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "labelObj_shadowcolor_set" "', argument " "2"" of type '" "colorObj *""'"); 
   12564             :     }
   12565           0 :     arg2 = (colorObj *)(argp2);
   12566           0 :     if (arg1) (arg1)->shadowcolor = *arg2;
   12567           0 :     ST(argvi) = sv_newmortal();
   12568             :     
   12569             :     
   12570           0 :     XSRETURN(argvi);
   12571           0 :   fail:
   12572             :     
   12573             :     
   12574           0 :     SWIG_croak_null();
   12575             :   }
   12576             : }
   12577             : 
   12578             : 
   12579           0 : XS(_wrap_labelObj_shadowcolor_get) {
   12580             :   {
   12581             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   12582           0 :     void *argp1 = 0 ;
   12583             :     int res1 = 0 ;
   12584             :     int argvi = 0;
   12585             :     colorObj *result = 0 ;
   12586           0 :     dXSARGS;
   12587             :     
   12588           0 :     if ((items < 1) || (items > 1)) {
   12589           0 :       SWIG_croak("Usage: labelObj_shadowcolor_get(self);");
   12590             :     }
   12591           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   12592           0 :     if (!SWIG_IsOK(res1)) {
   12593           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_shadowcolor_get" "', argument " "1"" of type '" "struct labelObj *""'"); 
   12594             :     }
   12595           0 :     arg1 = (struct labelObj *)(argp1);
   12596           0 :     result = (colorObj *)& ((arg1)->shadowcolor);
   12597           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_colorObj, 0 | SWIG_SHADOW); argvi++ ;
   12598             :     
   12599           0 :     XSRETURN(argvi);
   12600           0 :   fail:
   12601             :     
   12602           0 :     SWIG_croak_null();
   12603             :   }
   12604             : }
   12605             : 
   12606             : 
   12607           0 : XS(_wrap_labelObj_shadowsizex_set) {
   12608             :   {
   12609             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   12610             :     int arg2 ;
   12611           0 :     void *argp1 = 0 ;
   12612             :     int res1 = 0 ;
   12613             :     int val2 ;
   12614             :     int ecode2 = 0 ;
   12615             :     int argvi = 0;
   12616           0 :     dXSARGS;
   12617             :     
   12618           0 :     if ((items < 2) || (items > 2)) {
   12619           0 :       SWIG_croak("Usage: labelObj_shadowsizex_set(self,shadowsizex);");
   12620             :     }
   12621           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   12622           0 :     if (!SWIG_IsOK(res1)) {
   12623           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_shadowsizex_set" "', argument " "1"" of type '" "struct labelObj *""'"); 
   12624             :     }
   12625           0 :     arg1 = (struct labelObj *)(argp1);
   12626           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   12627           0 :     if (!SWIG_IsOK(ecode2)) {
   12628           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_shadowsizex_set" "', argument " "2"" of type '" "int""'");
   12629             :     } 
   12630             :     arg2 = (int)(val2);
   12631           0 :     if (arg1) (arg1)->shadowsizex = arg2;
   12632           0 :     ST(argvi) = sv_newmortal();
   12633             :     
   12634             :     
   12635           0 :     XSRETURN(argvi);
   12636           0 :   fail:
   12637             :     
   12638             :     
   12639           0 :     SWIG_croak_null();
   12640             :   }
   12641             : }
   12642             : 
   12643             : 
   12644           0 : XS(_wrap_labelObj_shadowsizex_get) {
   12645             :   {
   12646             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   12647           0 :     void *argp1 = 0 ;
   12648             :     int res1 = 0 ;
   12649             :     int argvi = 0;
   12650             :     int result;
   12651           0 :     dXSARGS;
   12652             :     
   12653           0 :     if ((items < 1) || (items > 1)) {
   12654           0 :       SWIG_croak("Usage: labelObj_shadowsizex_get(self);");
   12655             :     }
   12656           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   12657           0 :     if (!SWIG_IsOK(res1)) {
   12658           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_shadowsizex_get" "', argument " "1"" of type '" "struct labelObj *""'"); 
   12659             :     }
   12660           0 :     arg1 = (struct labelObj *)(argp1);
   12661           0 :     result = (int) ((arg1)->shadowsizex);
   12662           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   12663             :     
   12664           0 :     XSRETURN(argvi);
   12665           0 :   fail:
   12666             :     
   12667           0 :     SWIG_croak_null();
   12668             :   }
   12669             : }
   12670             : 
   12671             : 
   12672           0 : XS(_wrap_labelObj_shadowsizey_set) {
   12673             :   {
   12674             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   12675             :     int arg2 ;
   12676           0 :     void *argp1 = 0 ;
   12677             :     int res1 = 0 ;
   12678             :     int val2 ;
   12679             :     int ecode2 = 0 ;
   12680             :     int argvi = 0;
   12681           0 :     dXSARGS;
   12682             :     
   12683           0 :     if ((items < 2) || (items > 2)) {
   12684           0 :       SWIG_croak("Usage: labelObj_shadowsizey_set(self,shadowsizey);");
   12685             :     }
   12686           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   12687           0 :     if (!SWIG_IsOK(res1)) {
   12688           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_shadowsizey_set" "', argument " "1"" of type '" "struct labelObj *""'"); 
   12689             :     }
   12690           0 :     arg1 = (struct labelObj *)(argp1);
   12691           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   12692           0 :     if (!SWIG_IsOK(ecode2)) {
   12693           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_shadowsizey_set" "', argument " "2"" of type '" "int""'");
   12694             :     } 
   12695             :     arg2 = (int)(val2);
   12696           0 :     if (arg1) (arg1)->shadowsizey = arg2;
   12697           0 :     ST(argvi) = sv_newmortal();
   12698             :     
   12699             :     
   12700           0 :     XSRETURN(argvi);
   12701           0 :   fail:
   12702             :     
   12703             :     
   12704           0 :     SWIG_croak_null();
   12705             :   }
   12706             : }
   12707             : 
   12708             : 
   12709           0 : XS(_wrap_labelObj_shadowsizey_get) {
   12710             :   {
   12711             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   12712           0 :     void *argp1 = 0 ;
   12713             :     int res1 = 0 ;
   12714             :     int argvi = 0;
   12715             :     int result;
   12716           0 :     dXSARGS;
   12717             :     
   12718           0 :     if ((items < 1) || (items > 1)) {
   12719           0 :       SWIG_croak("Usage: labelObj_shadowsizey_get(self);");
   12720             :     }
   12721           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   12722           0 :     if (!SWIG_IsOK(res1)) {
   12723           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_shadowsizey_get" "', argument " "1"" of type '" "struct labelObj *""'"); 
   12724             :     }
   12725           0 :     arg1 = (struct labelObj *)(argp1);
   12726           0 :     result = (int) ((arg1)->shadowsizey);
   12727           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   12728             :     
   12729           0 :     XSRETURN(argvi);
   12730           0 :   fail:
   12731             :     
   12732           0 :     SWIG_croak_null();
   12733             :   }
   12734             : }
   12735             : 
   12736             : 
   12737           0 : XS(_wrap_labelObj_size_set) {
   12738             :   {
   12739             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   12740             :     int arg2 ;
   12741           0 :     void *argp1 = 0 ;
   12742             :     int res1 = 0 ;
   12743             :     int val2 ;
   12744             :     int ecode2 = 0 ;
   12745             :     int argvi = 0;
   12746           0 :     dXSARGS;
   12747             :     
   12748           0 :     if ((items < 2) || (items > 2)) {
   12749           0 :       SWIG_croak("Usage: labelObj_size_set(self,size);");
   12750             :     }
   12751           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   12752           0 :     if (!SWIG_IsOK(res1)) {
   12753           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_size_set" "', argument " "1"" of type '" "struct labelObj *""'"); 
   12754             :     }
   12755           0 :     arg1 = (struct labelObj *)(argp1);
   12756           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   12757           0 :     if (!SWIG_IsOK(ecode2)) {
   12758           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_size_set" "', argument " "2"" of type '" "int""'");
   12759             :     } 
   12760             :     arg2 = (int)(val2);
   12761           0 :     if (arg1) (arg1)->size = arg2;
   12762           0 :     ST(argvi) = sv_newmortal();
   12763             :     
   12764             :     
   12765           0 :     XSRETURN(argvi);
   12766           0 :   fail:
   12767             :     
   12768             :     
   12769           0 :     SWIG_croak_null();
   12770             :   }
   12771             : }
   12772             : 
   12773             : 
   12774           0 : XS(_wrap_labelObj_size_get) {
   12775             :   {
   12776             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   12777           0 :     void *argp1 = 0 ;
   12778             :     int res1 = 0 ;
   12779             :     int argvi = 0;
   12780             :     int result;
   12781           0 :     dXSARGS;
   12782             :     
   12783           0 :     if ((items < 1) || (items > 1)) {
   12784           0 :       SWIG_croak("Usage: labelObj_size_get(self);");
   12785             :     }
   12786           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   12787           0 :     if (!SWIG_IsOK(res1)) {
   12788           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_size_get" "', argument " "1"" of type '" "struct labelObj *""'"); 
   12789             :     }
   12790           0 :     arg1 = (struct labelObj *)(argp1);
   12791           0 :     result = (int) ((arg1)->size);
   12792           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   12793             :     
   12794           0 :     XSRETURN(argvi);
   12795           0 :   fail:
   12796             :     
   12797           0 :     SWIG_croak_null();
   12798             :   }
   12799             : }
   12800             : 
   12801             : 
   12802           0 : XS(_wrap_labelObj_minsize_set) {
   12803             :   {
   12804             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   12805             :     int arg2 ;
   12806           0 :     void *argp1 = 0 ;
   12807             :     int res1 = 0 ;
   12808             :     int val2 ;
   12809             :     int ecode2 = 0 ;
   12810             :     int argvi = 0;
   12811           0 :     dXSARGS;
   12812             :     
   12813           0 :     if ((items < 2) || (items > 2)) {
   12814           0 :       SWIG_croak("Usage: labelObj_minsize_set(self,minsize);");
   12815             :     }
   12816           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   12817           0 :     if (!SWIG_IsOK(res1)) {
   12818           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_minsize_set" "', argument " "1"" of type '" "struct labelObj *""'"); 
   12819             :     }
   12820           0 :     arg1 = (struct labelObj *)(argp1);
   12821           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   12822           0 :     if (!SWIG_IsOK(ecode2)) {
   12823           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_minsize_set" "', argument " "2"" of type '" "int""'");
   12824             :     } 
   12825             :     arg2 = (int)(val2);
   12826           0 :     if (arg1) (arg1)->minsize = arg2;
   12827           0 :     ST(argvi) = sv_newmortal();
   12828             :     
   12829             :     
   12830           0 :     XSRETURN(argvi);
   12831           0 :   fail:
   12832             :     
   12833             :     
   12834           0 :     SWIG_croak_null();
   12835             :   }
   12836             : }
   12837             : 
   12838             : 
   12839           0 : XS(_wrap_labelObj_minsize_get) {
   12840             :   {
   12841             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   12842           0 :     void *argp1 = 0 ;
   12843             :     int res1 = 0 ;
   12844             :     int argvi = 0;
   12845             :     int result;
   12846           0 :     dXSARGS;
   12847             :     
   12848           0 :     if ((items < 1) || (items > 1)) {
   12849           0 :       SWIG_croak("Usage: labelObj_minsize_get(self);");
   12850             :     }
   12851           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   12852           0 :     if (!SWIG_IsOK(res1)) {
   12853           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_minsize_get" "', argument " "1"" of type '" "struct labelObj *""'"); 
   12854             :     }
   12855           0 :     arg1 = (struct labelObj *)(argp1);
   12856           0 :     result = (int) ((arg1)->minsize);
   12857           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   12858             :     
   12859           0 :     XSRETURN(argvi);
   12860           0 :   fail:
   12861             :     
   12862           0 :     SWIG_croak_null();
   12863             :   }
   12864             : }
   12865             : 
   12866             : 
   12867           0 : XS(_wrap_labelObj_maxsize_set) {
   12868             :   {
   12869             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   12870             :     int arg2 ;
   12871           0 :     void *argp1 = 0 ;
   12872             :     int res1 = 0 ;
   12873             :     int val2 ;
   12874             :     int ecode2 = 0 ;
   12875             :     int argvi = 0;
   12876           0 :     dXSARGS;
   12877             :     
   12878           0 :     if ((items < 2) || (items > 2)) {
   12879           0 :       SWIG_croak("Usage: labelObj_maxsize_set(self,maxsize);");
   12880             :     }
   12881           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   12882           0 :     if (!SWIG_IsOK(res1)) {
   12883           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_maxsize_set" "', argument " "1"" of type '" "struct labelObj *""'"); 
   12884             :     }
   12885           0 :     arg1 = (struct labelObj *)(argp1);
   12886           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   12887           0 :     if (!SWIG_IsOK(ecode2)) {
   12888           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_maxsize_set" "', argument " "2"" of type '" "int""'");
   12889             :     } 
   12890             :     arg2 = (int)(val2);
   12891           0 :     if (arg1) (arg1)->maxsize = arg2;
   12892           0 :     ST(argvi) = sv_newmortal();
   12893             :     
   12894             :     
   12895           0 :     XSRETURN(argvi);
   12896           0 :   fail:
   12897             :     
   12898             :     
   12899           0 :     SWIG_croak_null();
   12900             :   }
   12901             : }
   12902             : 
   12903             : 
   12904           0 : XS(_wrap_labelObj_maxsize_get) {
   12905             :   {
   12906             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   12907           0 :     void *argp1 = 0 ;
   12908             :     int res1 = 0 ;
   12909             :     int argvi = 0;
   12910             :     int result;
   12911           0 :     dXSARGS;
   12912             :     
   12913           0 :     if ((items < 1) || (items > 1)) {
   12914           0 :       SWIG_croak("Usage: labelObj_maxsize_get(self);");
   12915             :     }
   12916           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   12917           0 :     if (!SWIG_IsOK(res1)) {
   12918           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_maxsize_get" "', argument " "1"" of type '" "struct labelObj *""'"); 
   12919             :     }
   12920           0 :     arg1 = (struct labelObj *)(argp1);
   12921           0 :     result = (int) ((arg1)->maxsize);
   12922           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   12923             :     
   12924           0 :     XSRETURN(argvi);
   12925           0 :   fail:
   12926             :     
   12927           0 :     SWIG_croak_null();
   12928             :   }
   12929             : }
   12930             : 
   12931             : 
   12932           0 : XS(_wrap_labelObj_position_set) {
   12933             :   {
   12934             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   12935             :     int arg2 ;
   12936           0 :     void *argp1 = 0 ;
   12937             :     int res1 = 0 ;
   12938             :     int val2 ;
   12939             :     int ecode2 = 0 ;
   12940             :     int argvi = 0;
   12941           0 :     dXSARGS;
   12942             :     
   12943           0 :     if ((items < 2) || (items > 2)) {
   12944           0 :       SWIG_croak("Usage: labelObj_position_set(self,position);");
   12945             :     }
   12946           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   12947           0 :     if (!SWIG_IsOK(res1)) {
   12948           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_position_set" "', argument " "1"" of type '" "struct labelObj *""'"); 
   12949             :     }
   12950           0 :     arg1 = (struct labelObj *)(argp1);
   12951           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   12952           0 :     if (!SWIG_IsOK(ecode2)) {
   12953           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_position_set" "', argument " "2"" of type '" "int""'");
   12954             :     } 
   12955             :     arg2 = (int)(val2);
   12956           0 :     if (arg1) (arg1)->position = arg2;
   12957           0 :     ST(argvi) = sv_newmortal();
   12958             :     
   12959             :     
   12960           0 :     XSRETURN(argvi);
   12961           0 :   fail:
   12962             :     
   12963             :     
   12964           0 :     SWIG_croak_null();
   12965             :   }
   12966             : }
   12967             : 
   12968             : 
   12969           0 : XS(_wrap_labelObj_position_get) {
   12970             :   {
   12971             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   12972           0 :     void *argp1 = 0 ;
   12973             :     int res1 = 0 ;
   12974             :     int argvi = 0;
   12975             :     int result;
   12976           0 :     dXSARGS;
   12977             :     
   12978           0 :     if ((items < 1) || (items > 1)) {
   12979           0 :       SWIG_croak("Usage: labelObj_position_get(self);");
   12980             :     }
   12981           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   12982           0 :     if (!SWIG_IsOK(res1)) {
   12983           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_position_get" "', argument " "1"" of type '" "struct labelObj *""'"); 
   12984             :     }
   12985           0 :     arg1 = (struct labelObj *)(argp1);
   12986           0 :     result = (int) ((arg1)->position);
   12987           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   12988             :     
   12989           0 :     XSRETURN(argvi);
   12990           0 :   fail:
   12991             :     
   12992           0 :     SWIG_croak_null();
   12993             :   }
   12994             : }
   12995             : 
   12996             : 
   12997           0 : XS(_wrap_labelObj_offsetx_set) {
   12998             :   {
   12999             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   13000             :     int arg2 ;
   13001           0 :     void *argp1 = 0 ;
   13002             :     int res1 = 0 ;
   13003             :     int val2 ;
   13004             :     int ecode2 = 0 ;
   13005             :     int argvi = 0;
   13006           0 :     dXSARGS;
   13007             :     
   13008           0 :     if ((items < 2) || (items > 2)) {
   13009           0 :       SWIG_croak("Usage: labelObj_offsetx_set(self,offsetx);");
   13010             :     }
   13011           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   13012           0 :     if (!SWIG_IsOK(res1)) {
   13013           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_offsetx_set" "', argument " "1"" of type '" "struct labelObj *""'"); 
   13014             :     }
   13015           0 :     arg1 = (struct labelObj *)(argp1);
   13016           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   13017           0 :     if (!SWIG_IsOK(ecode2)) {
   13018           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_offsetx_set" "', argument " "2"" of type '" "int""'");
   13019             :     } 
   13020             :     arg2 = (int)(val2);
   13021           0 :     if (arg1) (arg1)->offsetx = arg2;
   13022           0 :     ST(argvi) = sv_newmortal();
   13023             :     
   13024             :     
   13025           0 :     XSRETURN(argvi);
   13026           0 :   fail:
   13027             :     
   13028             :     
   13029           0 :     SWIG_croak_null();
   13030             :   }
   13031             : }
   13032             : 
   13033             : 
   13034           0 : XS(_wrap_labelObj_offsetx_get) {
   13035             :   {
   13036             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   13037           0 :     void *argp1 = 0 ;
   13038             :     int res1 = 0 ;
   13039             :     int argvi = 0;
   13040             :     int result;
   13041           0 :     dXSARGS;
   13042             :     
   13043           0 :     if ((items < 1) || (items > 1)) {
   13044           0 :       SWIG_croak("Usage: labelObj_offsetx_get(self);");
   13045             :     }
   13046           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   13047           0 :     if (!SWIG_IsOK(res1)) {
   13048           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_offsetx_get" "', argument " "1"" of type '" "struct labelObj *""'"); 
   13049             :     }
   13050           0 :     arg1 = (struct labelObj *)(argp1);
   13051           0 :     result = (int) ((arg1)->offsetx);
   13052           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   13053             :     
   13054           0 :     XSRETURN(argvi);
   13055           0 :   fail:
   13056             :     
   13057           0 :     SWIG_croak_null();
   13058             :   }
   13059             : }
   13060             : 
   13061             : 
   13062           0 : XS(_wrap_labelObj_offsety_set) {
   13063             :   {
   13064             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   13065             :     int arg2 ;
   13066           0 :     void *argp1 = 0 ;
   13067             :     int res1 = 0 ;
   13068             :     int val2 ;
   13069             :     int ecode2 = 0 ;
   13070             :     int argvi = 0;
   13071           0 :     dXSARGS;
   13072             :     
   13073           0 :     if ((items < 2) || (items > 2)) {
   13074           0 :       SWIG_croak("Usage: labelObj_offsety_set(self,offsety);");
   13075             :     }
   13076           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   13077           0 :     if (!SWIG_IsOK(res1)) {
   13078           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_offsety_set" "', argument " "1"" of type '" "struct labelObj *""'"); 
   13079             :     }
   13080           0 :     arg1 = (struct labelObj *)(argp1);
   13081           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   13082           0 :     if (!SWIG_IsOK(ecode2)) {
   13083           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_offsety_set" "', argument " "2"" of type '" "int""'");
   13084             :     } 
   13085             :     arg2 = (int)(val2);
   13086           0 :     if (arg1) (arg1)->offsety = arg2;
   13087           0 :     ST(argvi) = sv_newmortal();
   13088             :     
   13089             :     
   13090           0 :     XSRETURN(argvi);
   13091           0 :   fail:
   13092             :     
   13093             :     
   13094           0 :     SWIG_croak_null();
   13095             :   }
   13096             : }
   13097             : 
   13098             : 
   13099           0 : XS(_wrap_labelObj_offsety_get) {
   13100             :   {
   13101             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   13102           0 :     void *argp1 = 0 ;
   13103             :     int res1 = 0 ;
   13104             :     int argvi = 0;
   13105             :     int result;
   13106           0 :     dXSARGS;
   13107             :     
   13108           0 :     if ((items < 1) || (items > 1)) {
   13109           0 :       SWIG_croak("Usage: labelObj_offsety_get(self);");
   13110             :     }
   13111           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   13112           0 :     if (!SWIG_IsOK(res1)) {
   13113           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_offsety_get" "', argument " "1"" of type '" "struct labelObj *""'"); 
   13114             :     }
   13115           0 :     arg1 = (struct labelObj *)(argp1);
   13116           0 :     result = (int) ((arg1)->offsety);
   13117           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   13118             :     
   13119           0 :     XSRETURN(argvi);
   13120           0 :   fail:
   13121             :     
   13122           0 :     SWIG_croak_null();
   13123             :   }
   13124             : }
   13125             : 
   13126             : 
   13127           0 : XS(_wrap_labelObj_angle_set) {
   13128             :   {
   13129             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   13130             :     double arg2 ;
   13131           0 :     void *argp1 = 0 ;
   13132             :     int res1 = 0 ;
   13133             :     double val2 ;
   13134             :     int ecode2 = 0 ;
   13135             :     int argvi = 0;
   13136           0 :     dXSARGS;
   13137             :     
   13138           0 :     if ((items < 2) || (items > 2)) {
   13139           0 :       SWIG_croak("Usage: labelObj_angle_set(self,angle);");
   13140             :     }
   13141           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   13142           0 :     if (!SWIG_IsOK(res1)) {
   13143           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_angle_set" "', argument " "1"" of type '" "struct labelObj *""'"); 
   13144             :     }
   13145           0 :     arg1 = (struct labelObj *)(argp1);
   13146           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   13147           0 :     if (!SWIG_IsOK(ecode2)) {
   13148           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_angle_set" "', argument " "2"" of type '" "double""'");
   13149             :     } 
   13150           0 :     arg2 = (double)(val2);
   13151           0 :     if (arg1) (arg1)->angle = arg2;
   13152           0 :     ST(argvi) = sv_newmortal();
   13153             :     
   13154             :     
   13155           0 :     XSRETURN(argvi);
   13156           0 :   fail:
   13157             :     
   13158             :     
   13159           0 :     SWIG_croak_null();
   13160             :   }
   13161             : }
   13162             : 
   13163             : 
   13164           0 : XS(_wrap_labelObj_angle_get) {
   13165             :   {
   13166             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   13167           0 :     void *argp1 = 0 ;
   13168             :     int res1 = 0 ;
   13169             :     int argvi = 0;
   13170             :     double result;
   13171           0 :     dXSARGS;
   13172             :     
   13173           0 :     if ((items < 1) || (items > 1)) {
   13174           0 :       SWIG_croak("Usage: labelObj_angle_get(self);");
   13175             :     }
   13176           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   13177           0 :     if (!SWIG_IsOK(res1)) {
   13178           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_angle_get" "', argument " "1"" of type '" "struct labelObj *""'"); 
   13179             :     }
   13180           0 :     arg1 = (struct labelObj *)(argp1);
   13181           0 :     result = (double) ((arg1)->angle);
   13182           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   13183             :     
   13184           0 :     XSRETURN(argvi);
   13185           0 :   fail:
   13186             :     
   13187           0 :     SWIG_croak_null();
   13188             :   }
   13189             : }
   13190             : 
   13191             : 
   13192           0 : XS(_wrap_labelObj_anglemode_set) {
   13193             :   {
   13194             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   13195             :     enum MS_POSITIONS_ENUM arg2 ;
   13196           0 :     void *argp1 = 0 ;
   13197             :     int res1 = 0 ;
   13198             :     int val2 ;
   13199             :     int ecode2 = 0 ;
   13200             :     int argvi = 0;
   13201           0 :     dXSARGS;
   13202             :     
   13203           0 :     if ((items < 2) || (items > 2)) {
   13204           0 :       SWIG_croak("Usage: labelObj_anglemode_set(self,anglemode);");
   13205             :     }
   13206           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   13207           0 :     if (!SWIG_IsOK(res1)) {
   13208           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_anglemode_set" "', argument " "1"" of type '" "struct labelObj *""'"); 
   13209             :     }
   13210           0 :     arg1 = (struct labelObj *)(argp1);
   13211           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   13212           0 :     if (!SWIG_IsOK(ecode2)) {
   13213           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_anglemode_set" "', argument " "2"" of type '" "enum MS_POSITIONS_ENUM""'");
   13214             :     } 
   13215           0 :     arg2 = (enum MS_POSITIONS_ENUM)(val2);
   13216           0 :     if (arg1) (arg1)->anglemode = arg2;
   13217           0 :     ST(argvi) = sv_newmortal();
   13218             :     
   13219             :     
   13220           0 :     XSRETURN(argvi);
   13221           0 :   fail:
   13222             :     
   13223             :     
   13224           0 :     SWIG_croak_null();
   13225             :   }
   13226             : }
   13227             : 
   13228             : 
   13229           0 : XS(_wrap_labelObj_anglemode_get) {
   13230             :   {
   13231             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   13232           0 :     void *argp1 = 0 ;
   13233             :     int res1 = 0 ;
   13234             :     int argvi = 0;
   13235             :     enum MS_POSITIONS_ENUM result;
   13236           0 :     dXSARGS;
   13237             :     
   13238           0 :     if ((items < 1) || (items > 1)) {
   13239           0 :       SWIG_croak("Usage: labelObj_anglemode_get(self);");
   13240             :     }
   13241           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   13242           0 :     if (!SWIG_IsOK(res1)) {
   13243           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_anglemode_get" "', argument " "1"" of type '" "struct labelObj *""'"); 
   13244             :     }
   13245           0 :     arg1 = (struct labelObj *)(argp1);
   13246           0 :     result = (enum MS_POSITIONS_ENUM) ((arg1)->anglemode);
   13247           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   13248             :     
   13249           0 :     XSRETURN(argvi);
   13250           0 :   fail:
   13251             :     
   13252           0 :     SWIG_croak_null();
   13253             :   }
   13254             : }
   13255             : 
   13256             : 
   13257           0 : XS(_wrap_labelObj_buffer_set) {
   13258             :   {
   13259             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   13260             :     int arg2 ;
   13261           0 :     void *argp1 = 0 ;
   13262             :     int res1 = 0 ;
   13263             :     int val2 ;
   13264             :     int ecode2 = 0 ;
   13265             :     int argvi = 0;
   13266           0 :     dXSARGS;
   13267             :     
   13268           0 :     if ((items < 2) || (items > 2)) {
   13269           0 :       SWIG_croak("Usage: labelObj_buffer_set(self,buffer);");
   13270             :     }
   13271           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   13272           0 :     if (!SWIG_IsOK(res1)) {
   13273           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_buffer_set" "', argument " "1"" of type '" "struct labelObj *""'"); 
   13274             :     }
   13275           0 :     arg1 = (struct labelObj *)(argp1);
   13276           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   13277           0 :     if (!SWIG_IsOK(ecode2)) {
   13278           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_buffer_set" "', argument " "2"" of type '" "int""'");
   13279             :     } 
   13280             :     arg2 = (int)(val2);
   13281           0 :     if (arg1) (arg1)->buffer = arg2;
   13282           0 :     ST(argvi) = sv_newmortal();
   13283             :     
   13284             :     
   13285           0 :     XSRETURN(argvi);
   13286           0 :   fail:
   13287             :     
   13288             :     
   13289           0 :     SWIG_croak_null();
   13290             :   }
   13291             : }
   13292             : 
   13293             : 
   13294           0 : XS(_wrap_labelObj_buffer_get) {
   13295             :   {
   13296             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   13297           0 :     void *argp1 = 0 ;
   13298             :     int res1 = 0 ;
   13299             :     int argvi = 0;
   13300             :     int result;
   13301           0 :     dXSARGS;
   13302             :     
   13303           0 :     if ((items < 1) || (items > 1)) {
   13304           0 :       SWIG_croak("Usage: labelObj_buffer_get(self);");
   13305             :     }
   13306           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   13307           0 :     if (!SWIG_IsOK(res1)) {
   13308           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_buffer_get" "', argument " "1"" of type '" "struct labelObj *""'"); 
   13309             :     }
   13310           0 :     arg1 = (struct labelObj *)(argp1);
   13311           0 :     result = (int) ((arg1)->buffer);
   13312           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   13313             :     
   13314           0 :     XSRETURN(argvi);
   13315           0 :   fail:
   13316             :     
   13317           0 :     SWIG_croak_null();
   13318             :   }
   13319             : }
   13320             : 
   13321             : 
   13322           0 : XS(_wrap_labelObj_align_set) {
   13323             :   {
   13324             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   13325             :     int arg2 ;
   13326           0 :     void *argp1 = 0 ;
   13327             :     int res1 = 0 ;
   13328             :     int val2 ;
   13329             :     int ecode2 = 0 ;
   13330             :     int argvi = 0;
   13331           0 :     dXSARGS;
   13332             :     
   13333           0 :     if ((items < 2) || (items > 2)) {
   13334           0 :       SWIG_croak("Usage: labelObj_align_set(self,align);");
   13335             :     }
   13336           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   13337           0 :     if (!SWIG_IsOK(res1)) {
   13338           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_align_set" "', argument " "1"" of type '" "struct labelObj *""'"); 
   13339             :     }
   13340           0 :     arg1 = (struct labelObj *)(argp1);
   13341           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   13342           0 :     if (!SWIG_IsOK(ecode2)) {
   13343           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_align_set" "', argument " "2"" of type '" "int""'");
   13344             :     } 
   13345             :     arg2 = (int)(val2);
   13346           0 :     if (arg1) (arg1)->align = arg2;
   13347           0 :     ST(argvi) = sv_newmortal();
   13348             :     
   13349             :     
   13350           0 :     XSRETURN(argvi);
   13351           0 :   fail:
   13352             :     
   13353             :     
   13354           0 :     SWIG_croak_null();
   13355             :   }
   13356             : }
   13357             : 
   13358             : 
   13359           0 : XS(_wrap_labelObj_align_get) {
   13360             :   {
   13361             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   13362           0 :     void *argp1 = 0 ;
   13363             :     int res1 = 0 ;
   13364             :     int argvi = 0;
   13365             :     int result;
   13366           0 :     dXSARGS;
   13367             :     
   13368           0 :     if ((items < 1) || (items > 1)) {
   13369           0 :       SWIG_croak("Usage: labelObj_align_get(self);");
   13370             :     }
   13371           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   13372           0 :     if (!SWIG_IsOK(res1)) {
   13373           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_align_get" "', argument " "1"" of type '" "struct labelObj *""'"); 
   13374             :     }
   13375           0 :     arg1 = (struct labelObj *)(argp1);
   13376           0 :     result = (int) ((arg1)->align);
   13377           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   13378             :     
   13379           0 :     XSRETURN(argvi);
   13380           0 :   fail:
   13381             :     
   13382           0 :     SWIG_croak_null();
   13383             :   }
   13384             : }
   13385             : 
   13386             : 
   13387           0 : XS(_wrap_labelObj_wrap_set) {
   13388             :   {
   13389             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   13390             :     char arg2 ;
   13391           0 :     void *argp1 = 0 ;
   13392             :     int res1 = 0 ;
   13393             :     char val2 ;
   13394             :     int ecode2 = 0 ;
   13395             :     int argvi = 0;
   13396           0 :     dXSARGS;
   13397             :     
   13398           0 :     if ((items < 2) || (items > 2)) {
   13399           0 :       SWIG_croak("Usage: labelObj_wrap_set(self,wrap);");
   13400             :     }
   13401           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   13402           0 :     if (!SWIG_IsOK(res1)) {
   13403           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_wrap_set" "', argument " "1"" of type '" "struct labelObj *""'"); 
   13404             :     }
   13405           0 :     arg1 = (struct labelObj *)(argp1);
   13406           0 :     ecode2 = SWIG_AsVal_char SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   13407           0 :     if (!SWIG_IsOK(ecode2)) {
   13408           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_wrap_set" "', argument " "2"" of type '" "char""'");
   13409             :     } 
   13410           0 :     arg2 = (char)(val2);
   13411           0 :     if (arg1) (arg1)->wrap = arg2;
   13412           0 :     ST(argvi) = sv_newmortal();
   13413             :     
   13414             :     
   13415           0 :     XSRETURN(argvi);
   13416           0 :   fail:
   13417             :     
   13418             :     
   13419           0 :     SWIG_croak_null();
   13420             :   }
   13421             : }
   13422             : 
   13423             : 
   13424           0 : XS(_wrap_labelObj_wrap_get) {
   13425             :   {
   13426             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   13427           0 :     void *argp1 = 0 ;
   13428             :     int res1 = 0 ;
   13429             :     int argvi = 0;
   13430             :     char result;
   13431           0 :     dXSARGS;
   13432             :     
   13433           0 :     if ((items < 1) || (items > 1)) {
   13434           0 :       SWIG_croak("Usage: labelObj_wrap_get(self);");
   13435             :     }
   13436           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   13437           0 :     if (!SWIG_IsOK(res1)) {
   13438           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_wrap_get" "', argument " "1"" of type '" "struct labelObj *""'"); 
   13439             :     }
   13440           0 :     arg1 = (struct labelObj *)(argp1);
   13441           0 :     result = (char) ((arg1)->wrap);
   13442           0 :     ST(argvi) = SWIG_From_char  SWIG_PERL_CALL_ARGS_1((char)(result)); argvi++ ;
   13443             :     
   13444           0 :     XSRETURN(argvi);
   13445           0 :   fail:
   13446             :     
   13447           0 :     SWIG_croak_null();
   13448             :   }
   13449             : }
   13450             : 
   13451             : 
   13452           0 : XS(_wrap_labelObj_maxlength_set) {
   13453             :   {
   13454             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   13455             :     int arg2 ;
   13456           0 :     void *argp1 = 0 ;
   13457             :     int res1 = 0 ;
   13458             :     int val2 ;
   13459             :     int ecode2 = 0 ;
   13460             :     int argvi = 0;
   13461           0 :     dXSARGS;
   13462             :     
   13463           0 :     if ((items < 2) || (items > 2)) {
   13464           0 :       SWIG_croak("Usage: labelObj_maxlength_set(self,maxlength);");
   13465             :     }
   13466           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   13467           0 :     if (!SWIG_IsOK(res1)) {
   13468           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_maxlength_set" "', argument " "1"" of type '" "struct labelObj *""'"); 
   13469             :     }
   13470           0 :     arg1 = (struct labelObj *)(argp1);
   13471           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   13472           0 :     if (!SWIG_IsOK(ecode2)) {
   13473           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_maxlength_set" "', argument " "2"" of type '" "int""'");
   13474             :     } 
   13475             :     arg2 = (int)(val2);
   13476           0 :     if (arg1) (arg1)->maxlength = arg2;
   13477           0 :     ST(argvi) = sv_newmortal();
   13478             :     
   13479             :     
   13480           0 :     XSRETURN(argvi);
   13481           0 :   fail:
   13482             :     
   13483             :     
   13484           0 :     SWIG_croak_null();
   13485             :   }
   13486             : }
   13487             : 
   13488             : 
   13489           0 : XS(_wrap_labelObj_maxlength_get) {
   13490             :   {
   13491             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   13492           0 :     void *argp1 = 0 ;
   13493             :     int res1 = 0 ;
   13494             :     int argvi = 0;
   13495             :     int result;
   13496           0 :     dXSARGS;
   13497             :     
   13498           0 :     if ((items < 1) || (items > 1)) {
   13499           0 :       SWIG_croak("Usage: labelObj_maxlength_get(self);");
   13500             :     }
   13501           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   13502           0 :     if (!SWIG_IsOK(res1)) {
   13503           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_maxlength_get" "', argument " "1"" of type '" "struct labelObj *""'"); 
   13504             :     }
   13505           0 :     arg1 = (struct labelObj *)(argp1);
   13506           0 :     result = (int) ((arg1)->maxlength);
   13507           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   13508             :     
   13509           0 :     XSRETURN(argvi);
   13510           0 :   fail:
   13511             :     
   13512           0 :     SWIG_croak_null();
   13513             :   }
   13514             : }
   13515             : 
   13516             : 
   13517           0 : XS(_wrap_labelObj_minlength_set) {
   13518             :   {
   13519             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   13520             :     int arg2 ;
   13521           0 :     void *argp1 = 0 ;
   13522             :     int res1 = 0 ;
   13523             :     int val2 ;
   13524             :     int ecode2 = 0 ;
   13525             :     int argvi = 0;
   13526           0 :     dXSARGS;
   13527             :     
   13528           0 :     if ((items < 2) || (items > 2)) {
   13529           0 :       SWIG_croak("Usage: labelObj_minlength_set(self,minlength);");
   13530             :     }
   13531           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   13532           0 :     if (!SWIG_IsOK(res1)) {
   13533           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_minlength_set" "', argument " "1"" of type '" "struct labelObj *""'"); 
   13534             :     }
   13535           0 :     arg1 = (struct labelObj *)(argp1);
   13536           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   13537           0 :     if (!SWIG_IsOK(ecode2)) {
   13538           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_minlength_set" "', argument " "2"" of type '" "int""'");
   13539             :     } 
   13540             :     arg2 = (int)(val2);
   13541           0 :     if (arg1) (arg1)->minlength = arg2;
   13542           0 :     ST(argvi) = sv_newmortal();
   13543             :     
   13544             :     
   13545           0 :     XSRETURN(argvi);
   13546           0 :   fail:
   13547             :     
   13548             :     
   13549           0 :     SWIG_croak_null();
   13550             :   }
   13551             : }
   13552             : 
   13553             : 
   13554           0 : XS(_wrap_labelObj_minlength_get) {
   13555             :   {
   13556             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   13557           0 :     void *argp1 = 0 ;
   13558             :     int res1 = 0 ;
   13559             :     int argvi = 0;
   13560             :     int result;
   13561           0 :     dXSARGS;
   13562             :     
   13563           0 :     if ((items < 1) || (items > 1)) {
   13564           0 :       SWIG_croak("Usage: labelObj_minlength_get(self);");
   13565             :     }
   13566           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   13567           0 :     if (!SWIG_IsOK(res1)) {
   13568           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_minlength_get" "', argument " "1"" of type '" "struct labelObj *""'"); 
   13569             :     }
   13570           0 :     arg1 = (struct labelObj *)(argp1);
   13571           0 :     result = (int) ((arg1)->minlength);
   13572           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   13573             :     
   13574           0 :     XSRETURN(argvi);
   13575           0 :   fail:
   13576             :     
   13577           0 :     SWIG_croak_null();
   13578             :   }
   13579             : }
   13580             : 
   13581             : 
   13582           0 : XS(_wrap_labelObj_space_size_10_set) {
   13583             :   {
   13584             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   13585             :     double arg2 ;
   13586           0 :     void *argp1 = 0 ;
   13587             :     int res1 = 0 ;
   13588             :     double val2 ;
   13589             :     int ecode2 = 0 ;
   13590             :     int argvi = 0;
   13591           0 :     dXSARGS;
   13592             :     
   13593           0 :     if ((items < 2) || (items > 2)) {
   13594           0 :       SWIG_croak("Usage: labelObj_space_size_10_set(self,space_size_10);");
   13595             :     }
   13596           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   13597           0 :     if (!SWIG_IsOK(res1)) {
   13598           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_space_size_10_set" "', argument " "1"" of type '" "struct labelObj *""'"); 
   13599             :     }
   13600           0 :     arg1 = (struct labelObj *)(argp1);
   13601           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   13602           0 :     if (!SWIG_IsOK(ecode2)) {
   13603           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_space_size_10_set" "', argument " "2"" of type '" "double""'");
   13604             :     } 
   13605           0 :     arg2 = (double)(val2);
   13606           0 :     if (arg1) (arg1)->space_size_10 = arg2;
   13607           0 :     ST(argvi) = sv_newmortal();
   13608             :     
   13609             :     
   13610           0 :     XSRETURN(argvi);
   13611           0 :   fail:
   13612             :     
   13613             :     
   13614           0 :     SWIG_croak_null();
   13615             :   }
   13616             : }
   13617             : 
   13618             : 
   13619           0 : XS(_wrap_labelObj_space_size_10_get) {
   13620             :   {
   13621             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   13622           0 :     void *argp1 = 0 ;
   13623             :     int res1 = 0 ;
   13624             :     int argvi = 0;
   13625             :     double result;
   13626           0 :     dXSARGS;
   13627             :     
   13628           0 :     if ((items < 1) || (items > 1)) {
   13629           0 :       SWIG_croak("Usage: labelObj_space_size_10_get(self);");
   13630             :     }
   13631           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   13632           0 :     if (!SWIG_IsOK(res1)) {
   13633           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_space_size_10_get" "', argument " "1"" of type '" "struct labelObj *""'"); 
   13634             :     }
   13635           0 :     arg1 = (struct labelObj *)(argp1);
   13636           0 :     result = (double) ((arg1)->space_size_10);
   13637           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   13638             :     
   13639           0 :     XSRETURN(argvi);
   13640           0 :   fail:
   13641             :     
   13642           0 :     SWIG_croak_null();
   13643             :   }
   13644             : }
   13645             : 
   13646             : 
   13647           0 : XS(_wrap_labelObj_minfeaturesize_set) {
   13648             :   {
   13649             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   13650             :     int arg2 ;
   13651           0 :     void *argp1 = 0 ;
   13652             :     int res1 = 0 ;
   13653             :     int val2 ;
   13654             :     int ecode2 = 0 ;
   13655             :     int argvi = 0;
   13656           0 :     dXSARGS;
   13657             :     
   13658           0 :     if ((items < 2) || (items > 2)) {
   13659           0 :       SWIG_croak("Usage: labelObj_minfeaturesize_set(self,minfeaturesize);");
   13660             :     }
   13661           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   13662           0 :     if (!SWIG_IsOK(res1)) {
   13663           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_minfeaturesize_set" "', argument " "1"" of type '" "struct labelObj *""'"); 
   13664             :     }
   13665           0 :     arg1 = (struct labelObj *)(argp1);
   13666           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   13667           0 :     if (!SWIG_IsOK(ecode2)) {
   13668           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_minfeaturesize_set" "', argument " "2"" of type '" "int""'");
   13669             :     } 
   13670             :     arg2 = (int)(val2);
   13671           0 :     if (arg1) (arg1)->minfeaturesize = arg2;
   13672           0 :     ST(argvi) = sv_newmortal();
   13673             :     
   13674             :     
   13675           0 :     XSRETURN(argvi);
   13676           0 :   fail:
   13677             :     
   13678             :     
   13679           0 :     SWIG_croak_null();
   13680             :   }
   13681             : }
   13682             : 
   13683             : 
   13684           0 : XS(_wrap_labelObj_minfeaturesize_get) {
   13685             :   {
   13686             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   13687           0 :     void *argp1 = 0 ;
   13688             :     int res1 = 0 ;
   13689             :     int argvi = 0;
   13690             :     int result;
   13691           0 :     dXSARGS;
   13692             :     
   13693           0 :     if ((items < 1) || (items > 1)) {
   13694           0 :       SWIG_croak("Usage: labelObj_minfeaturesize_get(self);");
   13695             :     }
   13696           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   13697           0 :     if (!SWIG_IsOK(res1)) {
   13698           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_minfeaturesize_get" "', argument " "1"" of type '" "struct labelObj *""'"); 
   13699             :     }
   13700           0 :     arg1 = (struct labelObj *)(argp1);
   13701           0 :     result = (int) ((arg1)->minfeaturesize);
   13702           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   13703             :     
   13704           0 :     XSRETURN(argvi);
   13705           0 :   fail:
   13706             :     
   13707           0 :     SWIG_croak_null();
   13708             :   }
   13709             : }
   13710             : 
   13711             : 
   13712           0 : XS(_wrap_labelObj_autominfeaturesize_set) {
   13713             :   {
   13714             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   13715             :     int arg2 ;
   13716           0 :     void *argp1 = 0 ;
   13717             :     int res1 = 0 ;
   13718             :     int val2 ;
   13719             :     int ecode2 = 0 ;
   13720             :     int argvi = 0;
   13721           0 :     dXSARGS;
   13722             :     
   13723           0 :     if ((items < 2) || (items > 2)) {
   13724           0 :       SWIG_croak("Usage: labelObj_autominfeaturesize_set(self,autominfeaturesize);");
   13725             :     }
   13726           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   13727           0 :     if (!SWIG_IsOK(res1)) {
   13728           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_autominfeaturesize_set" "', argument " "1"" of type '" "struct labelObj *""'"); 
   13729             :     }
   13730           0 :     arg1 = (struct labelObj *)(argp1);
   13731           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   13732           0 :     if (!SWIG_IsOK(ecode2)) {
   13733           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_autominfeaturesize_set" "', argument " "2"" of type '" "int""'");
   13734             :     } 
   13735             :     arg2 = (int)(val2);
   13736           0 :     if (arg1) (arg1)->autominfeaturesize = arg2;
   13737           0 :     ST(argvi) = sv_newmortal();
   13738             :     
   13739             :     
   13740           0 :     XSRETURN(argvi);
   13741           0 :   fail:
   13742             :     
   13743             :     
   13744           0 :     SWIG_croak_null();
   13745             :   }
   13746             : }
   13747             : 
   13748             : 
   13749           0 : XS(_wrap_labelObj_autominfeaturesize_get) {
   13750             :   {
   13751             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   13752           0 :     void *argp1 = 0 ;
   13753             :     int res1 = 0 ;
   13754             :     int argvi = 0;
   13755             :     int result;
   13756           0 :     dXSARGS;
   13757             :     
   13758           0 :     if ((items < 1) || (items > 1)) {
   13759           0 :       SWIG_croak("Usage: labelObj_autominfeaturesize_get(self);");
   13760             :     }
   13761           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   13762           0 :     if (!SWIG_IsOK(res1)) {
   13763           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_autominfeaturesize_get" "', argument " "1"" of type '" "struct labelObj *""'"); 
   13764             :     }
   13765           0 :     arg1 = (struct labelObj *)(argp1);
   13766           0 :     result = (int) ((arg1)->autominfeaturesize);
   13767           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   13768             :     
   13769           0 :     XSRETURN(argvi);
   13770           0 :   fail:
   13771             :     
   13772           0 :     SWIG_croak_null();
   13773             :   }
   13774             : }
   13775             : 
   13776             : 
   13777           0 : XS(_wrap_labelObj_minscaledenom_set) {
   13778             :   {
   13779             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   13780             :     double arg2 ;
   13781           0 :     void *argp1 = 0 ;
   13782             :     int res1 = 0 ;
   13783             :     double val2 ;
   13784             :     int ecode2 = 0 ;
   13785             :     int argvi = 0;
   13786           0 :     dXSARGS;
   13787             :     
   13788           0 :     if ((items < 2) || (items > 2)) {
   13789           0 :       SWIG_croak("Usage: labelObj_minscaledenom_set(self,minscaledenom);");
   13790             :     }
   13791           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   13792           0 :     if (!SWIG_IsOK(res1)) {
   13793           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_minscaledenom_set" "', argument " "1"" of type '" "struct labelObj *""'"); 
   13794             :     }
   13795           0 :     arg1 = (struct labelObj *)(argp1);
   13796           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   13797           0 :     if (!SWIG_IsOK(ecode2)) {
   13798           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_minscaledenom_set" "', argument " "2"" of type '" "double""'");
   13799             :     } 
   13800           0 :     arg2 = (double)(val2);
   13801           0 :     if (arg1) (arg1)->minscaledenom = arg2;
   13802           0 :     ST(argvi) = sv_newmortal();
   13803             :     
   13804             :     
   13805           0 :     XSRETURN(argvi);
   13806           0 :   fail:
   13807             :     
   13808             :     
   13809           0 :     SWIG_croak_null();
   13810             :   }
   13811             : }
   13812             : 
   13813             : 
   13814           0 : XS(_wrap_labelObj_minscaledenom_get) {
   13815             :   {
   13816             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   13817           0 :     void *argp1 = 0 ;
   13818             :     int res1 = 0 ;
   13819             :     int argvi = 0;
   13820             :     double result;
   13821           0 :     dXSARGS;
   13822             :     
   13823           0 :     if ((items < 1) || (items > 1)) {
   13824           0 :       SWIG_croak("Usage: labelObj_minscaledenom_get(self);");
   13825             :     }
   13826           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   13827           0 :     if (!SWIG_IsOK(res1)) {
   13828           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_minscaledenom_get" "', argument " "1"" of type '" "struct labelObj *""'"); 
   13829             :     }
   13830           0 :     arg1 = (struct labelObj *)(argp1);
   13831           0 :     result = (double) ((arg1)->minscaledenom);
   13832           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   13833             :     
   13834           0 :     XSRETURN(argvi);
   13835           0 :   fail:
   13836             :     
   13837           0 :     SWIG_croak_null();
   13838             :   }
   13839             : }
   13840             : 
   13841             : 
   13842           0 : XS(_wrap_labelObj_maxscaledenom_set) {
   13843             :   {
   13844             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   13845             :     double arg2 ;
   13846           0 :     void *argp1 = 0 ;
   13847             :     int res1 = 0 ;
   13848             :     double val2 ;
   13849             :     int ecode2 = 0 ;
   13850             :     int argvi = 0;
   13851           0 :     dXSARGS;
   13852             :     
   13853           0 :     if ((items < 2) || (items > 2)) {
   13854           0 :       SWIG_croak("Usage: labelObj_maxscaledenom_set(self,maxscaledenom);");
   13855             :     }
   13856           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   13857           0 :     if (!SWIG_IsOK(res1)) {
   13858           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_maxscaledenom_set" "', argument " "1"" of type '" "struct labelObj *""'"); 
   13859             :     }
   13860           0 :     arg1 = (struct labelObj *)(argp1);
   13861           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   13862           0 :     if (!SWIG_IsOK(ecode2)) {
   13863           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_maxscaledenom_set" "', argument " "2"" of type '" "double""'");
   13864             :     } 
   13865           0 :     arg2 = (double)(val2);
   13866           0 :     if (arg1) (arg1)->maxscaledenom = arg2;
   13867           0 :     ST(argvi) = sv_newmortal();
   13868             :     
   13869             :     
   13870           0 :     XSRETURN(argvi);
   13871           0 :   fail:
   13872             :     
   13873             :     
   13874           0 :     SWIG_croak_null();
   13875             :   }
   13876             : }
   13877             : 
   13878             : 
   13879           0 : XS(_wrap_labelObj_maxscaledenom_get) {
   13880             :   {
   13881             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   13882           0 :     void *argp1 = 0 ;
   13883             :     int res1 = 0 ;
   13884             :     int argvi = 0;
   13885             :     double result;
   13886           0 :     dXSARGS;
   13887             :     
   13888           0 :     if ((items < 1) || (items > 1)) {
   13889           0 :       SWIG_croak("Usage: labelObj_maxscaledenom_get(self);");
   13890             :     }
   13891           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   13892           0 :     if (!SWIG_IsOK(res1)) {
   13893           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_maxscaledenom_get" "', argument " "1"" of type '" "struct labelObj *""'"); 
   13894             :     }
   13895           0 :     arg1 = (struct labelObj *)(argp1);
   13896           0 :     result = (double) ((arg1)->maxscaledenom);
   13897           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   13898             :     
   13899           0 :     XSRETURN(argvi);
   13900           0 :   fail:
   13901             :     
   13902           0 :     SWIG_croak_null();
   13903             :   }
   13904             : }
   13905             : 
   13906             : 
   13907           0 : XS(_wrap_labelObj_mindistance_set) {
   13908             :   {
   13909             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   13910             :     int arg2 ;
   13911           0 :     void *argp1 = 0 ;
   13912             :     int res1 = 0 ;
   13913             :     int val2 ;
   13914             :     int ecode2 = 0 ;
   13915             :     int argvi = 0;
   13916           0 :     dXSARGS;
   13917             :     
   13918           0 :     if ((items < 2) || (items > 2)) {
   13919           0 :       SWIG_croak("Usage: labelObj_mindistance_set(self,mindistance);");
   13920             :     }
   13921           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   13922           0 :     if (!SWIG_IsOK(res1)) {
   13923           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_mindistance_set" "', argument " "1"" of type '" "struct labelObj *""'"); 
   13924             :     }
   13925           0 :     arg1 = (struct labelObj *)(argp1);
   13926           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   13927           0 :     if (!SWIG_IsOK(ecode2)) {
   13928           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_mindistance_set" "', argument " "2"" of type '" "int""'");
   13929             :     } 
   13930             :     arg2 = (int)(val2);
   13931           0 :     if (arg1) (arg1)->mindistance = arg2;
   13932           0 :     ST(argvi) = sv_newmortal();
   13933             :     
   13934             :     
   13935           0 :     XSRETURN(argvi);
   13936           0 :   fail:
   13937             :     
   13938             :     
   13939           0 :     SWIG_croak_null();
   13940             :   }
   13941             : }
   13942             : 
   13943             : 
   13944           0 : XS(_wrap_labelObj_mindistance_get) {
   13945             :   {
   13946             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   13947           0 :     void *argp1 = 0 ;
   13948             :     int res1 = 0 ;
   13949             :     int argvi = 0;
   13950             :     int result;
   13951           0 :     dXSARGS;
   13952             :     
   13953           0 :     if ((items < 1) || (items > 1)) {
   13954           0 :       SWIG_croak("Usage: labelObj_mindistance_get(self);");
   13955             :     }
   13956           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   13957           0 :     if (!SWIG_IsOK(res1)) {
   13958           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_mindistance_get" "', argument " "1"" of type '" "struct labelObj *""'"); 
   13959             :     }
   13960           0 :     arg1 = (struct labelObj *)(argp1);
   13961           0 :     result = (int) ((arg1)->mindistance);
   13962           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   13963             :     
   13964           0 :     XSRETURN(argvi);
   13965           0 :   fail:
   13966             :     
   13967           0 :     SWIG_croak_null();
   13968             :   }
   13969             : }
   13970             : 
   13971             : 
   13972           0 : XS(_wrap_labelObj_repeatdistance_set) {
   13973             :   {
   13974             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   13975             :     int arg2 ;
   13976           0 :     void *argp1 = 0 ;
   13977             :     int res1 = 0 ;
   13978             :     int val2 ;
   13979             :     int ecode2 = 0 ;
   13980             :     int argvi = 0;
   13981           0 :     dXSARGS;
   13982             :     
   13983           0 :     if ((items < 2) || (items > 2)) {
   13984           0 :       SWIG_croak("Usage: labelObj_repeatdistance_set(self,repeatdistance);");
   13985             :     }
   13986           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   13987           0 :     if (!SWIG_IsOK(res1)) {
   13988           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_repeatdistance_set" "', argument " "1"" of type '" "struct labelObj *""'"); 
   13989             :     }
   13990           0 :     arg1 = (struct labelObj *)(argp1);
   13991           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   13992           0 :     if (!SWIG_IsOK(ecode2)) {
   13993           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_repeatdistance_set" "', argument " "2"" of type '" "int""'");
   13994             :     } 
   13995             :     arg2 = (int)(val2);
   13996           0 :     if (arg1) (arg1)->repeatdistance = arg2;
   13997           0 :     ST(argvi) = sv_newmortal();
   13998             :     
   13999             :     
   14000           0 :     XSRETURN(argvi);
   14001           0 :   fail:
   14002             :     
   14003             :     
   14004           0 :     SWIG_croak_null();
   14005             :   }
   14006             : }
   14007             : 
   14008             : 
   14009           0 : XS(_wrap_labelObj_repeatdistance_get) {
   14010             :   {
   14011             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   14012           0 :     void *argp1 = 0 ;
   14013             :     int res1 = 0 ;
   14014             :     int argvi = 0;
   14015             :     int result;
   14016           0 :     dXSARGS;
   14017             :     
   14018           0 :     if ((items < 1) || (items > 1)) {
   14019           0 :       SWIG_croak("Usage: labelObj_repeatdistance_get(self);");
   14020             :     }
   14021           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   14022           0 :     if (!SWIG_IsOK(res1)) {
   14023           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_repeatdistance_get" "', argument " "1"" of type '" "struct labelObj *""'"); 
   14024             :     }
   14025           0 :     arg1 = (struct labelObj *)(argp1);
   14026           0 :     result = (int) ((arg1)->repeatdistance);
   14027           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   14028             :     
   14029           0 :     XSRETURN(argvi);
   14030           0 :   fail:
   14031             :     
   14032           0 :     SWIG_croak_null();
   14033             :   }
   14034             : }
   14035             : 
   14036             : 
   14037           0 : XS(_wrap_labelObj_maxoverlapangle_set) {
   14038             :   {
   14039             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   14040             :     double arg2 ;
   14041           0 :     void *argp1 = 0 ;
   14042             :     int res1 = 0 ;
   14043             :     double val2 ;
   14044             :     int ecode2 = 0 ;
   14045             :     int argvi = 0;
   14046           0 :     dXSARGS;
   14047             :     
   14048           0 :     if ((items < 2) || (items > 2)) {
   14049           0 :       SWIG_croak("Usage: labelObj_maxoverlapangle_set(self,maxoverlapangle);");
   14050             :     }
   14051           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   14052           0 :     if (!SWIG_IsOK(res1)) {
   14053           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_maxoverlapangle_set" "', argument " "1"" of type '" "struct labelObj *""'"); 
   14054             :     }
   14055           0 :     arg1 = (struct labelObj *)(argp1);
   14056           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   14057           0 :     if (!SWIG_IsOK(ecode2)) {
   14058           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_maxoverlapangle_set" "', argument " "2"" of type '" "double""'");
   14059             :     } 
   14060           0 :     arg2 = (double)(val2);
   14061           0 :     if (arg1) (arg1)->maxoverlapangle = arg2;
   14062           0 :     ST(argvi) = sv_newmortal();
   14063             :     
   14064             :     
   14065           0 :     XSRETURN(argvi);
   14066           0 :   fail:
   14067             :     
   14068             :     
   14069           0 :     SWIG_croak_null();
   14070             :   }
   14071             : }
   14072             : 
   14073             : 
   14074           0 : XS(_wrap_labelObj_maxoverlapangle_get) {
   14075             :   {
   14076             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   14077           0 :     void *argp1 = 0 ;
   14078             :     int res1 = 0 ;
   14079             :     int argvi = 0;
   14080             :     double result;
   14081           0 :     dXSARGS;
   14082             :     
   14083           0 :     if ((items < 1) || (items > 1)) {
   14084           0 :       SWIG_croak("Usage: labelObj_maxoverlapangle_get(self);");
   14085             :     }
   14086           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   14087           0 :     if (!SWIG_IsOK(res1)) {
   14088           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_maxoverlapangle_get" "', argument " "1"" of type '" "struct labelObj *""'"); 
   14089             :     }
   14090           0 :     arg1 = (struct labelObj *)(argp1);
   14091           0 :     result = (double) ((arg1)->maxoverlapangle);
   14092           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   14093             :     
   14094           0 :     XSRETURN(argvi);
   14095           0 :   fail:
   14096             :     
   14097           0 :     SWIG_croak_null();
   14098             :   }
   14099             : }
   14100             : 
   14101             : 
   14102           0 : XS(_wrap_labelObj_partials_set) {
   14103             :   {
   14104             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   14105             :     int arg2 ;
   14106           0 :     void *argp1 = 0 ;
   14107             :     int res1 = 0 ;
   14108             :     int val2 ;
   14109             :     int ecode2 = 0 ;
   14110             :     int argvi = 0;
   14111           0 :     dXSARGS;
   14112             :     
   14113           0 :     if ((items < 2) || (items > 2)) {
   14114           0 :       SWIG_croak("Usage: labelObj_partials_set(self,partials);");
   14115             :     }
   14116           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   14117           0 :     if (!SWIG_IsOK(res1)) {
   14118           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_partials_set" "', argument " "1"" of type '" "struct labelObj *""'"); 
   14119             :     }
   14120           0 :     arg1 = (struct labelObj *)(argp1);
   14121           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   14122           0 :     if (!SWIG_IsOK(ecode2)) {
   14123           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_partials_set" "', argument " "2"" of type '" "int""'");
   14124             :     } 
   14125             :     arg2 = (int)(val2);
   14126           0 :     if (arg1) (arg1)->partials = arg2;
   14127           0 :     ST(argvi) = sv_newmortal();
   14128             :     
   14129             :     
   14130           0 :     XSRETURN(argvi);
   14131           0 :   fail:
   14132             :     
   14133             :     
   14134           0 :     SWIG_croak_null();
   14135             :   }
   14136             : }
   14137             : 
   14138             : 
   14139           0 : XS(_wrap_labelObj_partials_get) {
   14140             :   {
   14141             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   14142           0 :     void *argp1 = 0 ;
   14143             :     int res1 = 0 ;
   14144             :     int argvi = 0;
   14145             :     int result;
   14146           0 :     dXSARGS;
   14147             :     
   14148           0 :     if ((items < 1) || (items > 1)) {
   14149           0 :       SWIG_croak("Usage: labelObj_partials_get(self);");
   14150             :     }
   14151           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   14152           0 :     if (!SWIG_IsOK(res1)) {
   14153           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_partials_get" "', argument " "1"" of type '" "struct labelObj *""'"); 
   14154             :     }
   14155           0 :     arg1 = (struct labelObj *)(argp1);
   14156           0 :     result = (int) ((arg1)->partials);
   14157           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   14158             :     
   14159           0 :     XSRETURN(argvi);
   14160           0 :   fail:
   14161             :     
   14162           0 :     SWIG_croak_null();
   14163             :   }
   14164             : }
   14165             : 
   14166             : 
   14167           0 : XS(_wrap_labelObj_force_set) {
   14168             :   {
   14169             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   14170             :     int arg2 ;
   14171           0 :     void *argp1 = 0 ;
   14172             :     int res1 = 0 ;
   14173             :     int val2 ;
   14174             :     int ecode2 = 0 ;
   14175             :     int argvi = 0;
   14176           0 :     dXSARGS;
   14177             :     
   14178           0 :     if ((items < 2) || (items > 2)) {
   14179           0 :       SWIG_croak("Usage: labelObj_force_set(self,force);");
   14180             :     }
   14181           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   14182           0 :     if (!SWIG_IsOK(res1)) {
   14183           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_force_set" "', argument " "1"" of type '" "struct labelObj *""'"); 
   14184             :     }
   14185           0 :     arg1 = (struct labelObj *)(argp1);
   14186           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   14187           0 :     if (!SWIG_IsOK(ecode2)) {
   14188           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_force_set" "', argument " "2"" of type '" "int""'");
   14189             :     } 
   14190             :     arg2 = (int)(val2);
   14191           0 :     if (arg1) (arg1)->force = arg2;
   14192           0 :     ST(argvi) = sv_newmortal();
   14193             :     
   14194             :     
   14195           0 :     XSRETURN(argvi);
   14196           0 :   fail:
   14197             :     
   14198             :     
   14199           0 :     SWIG_croak_null();
   14200             :   }
   14201             : }
   14202             : 
   14203             : 
   14204           0 : XS(_wrap_labelObj_force_get) {
   14205             :   {
   14206             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   14207           0 :     void *argp1 = 0 ;
   14208             :     int res1 = 0 ;
   14209             :     int argvi = 0;
   14210             :     int result;
   14211           0 :     dXSARGS;
   14212             :     
   14213           0 :     if ((items < 1) || (items > 1)) {
   14214           0 :       SWIG_croak("Usage: labelObj_force_get(self);");
   14215             :     }
   14216           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   14217           0 :     if (!SWIG_IsOK(res1)) {
   14218           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_force_get" "', argument " "1"" of type '" "struct labelObj *""'"); 
   14219             :     }
   14220           0 :     arg1 = (struct labelObj *)(argp1);
   14221           0 :     result = (int) ((arg1)->force);
   14222           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   14223             :     
   14224           0 :     XSRETURN(argvi);
   14225           0 :   fail:
   14226             :     
   14227           0 :     SWIG_croak_null();
   14228             :   }
   14229             : }
   14230             : 
   14231             : 
   14232           0 : XS(_wrap_labelObj_encoding_set) {
   14233             :   {
   14234             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   14235             :     char *arg2 = (char *) 0 ;
   14236           0 :     void *argp1 = 0 ;
   14237             :     int res1 = 0 ;
   14238             :     int res2 ;
   14239           0 :     char *buf2 = 0 ;
   14240           0 :     int alloc2 = 0 ;
   14241             :     int argvi = 0;
   14242           0 :     dXSARGS;
   14243             :     
   14244           0 :     if ((items < 2) || (items > 2)) {
   14245           0 :       SWIG_croak("Usage: labelObj_encoding_set(self,encoding);");
   14246             :     }
   14247           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   14248           0 :     if (!SWIG_IsOK(res1)) {
   14249           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_encoding_set" "', argument " "1"" of type '" "struct labelObj *""'"); 
   14250             :     }
   14251           0 :     arg1 = (struct labelObj *)(argp1);
   14252           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   14253           0 :     if (!SWIG_IsOK(res2)) {
   14254           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "labelObj_encoding_set" "', argument " "2"" of type '" "char *""'");
   14255             :     }
   14256           0 :     arg2 = (char *)(buf2);
   14257             :     {
   14258           0 :       if (arg1->encoding) free((char*)arg1->encoding);
   14259           0 :       if (arg2) {
   14260           0 :         arg1->encoding = (char *) malloc(strlen(arg2)+1);
   14261             :         strcpy((char*)arg1->encoding,arg2);
   14262             :       } else {
   14263           0 :         arg1->encoding = 0;
   14264             :       }
   14265             :     }
   14266           0 :     ST(argvi) = sv_newmortal();
   14267             :     
   14268           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   14269           0 :     XSRETURN(argvi);
   14270           0 :   fail:
   14271             :     
   14272           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   14273           0 :     SWIG_croak_null();
   14274             :   }
   14275             : }
   14276             : 
   14277             : 
   14278           0 : XS(_wrap_labelObj_encoding_get) {
   14279             :   {
   14280             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   14281           0 :     void *argp1 = 0 ;
   14282             :     int res1 = 0 ;
   14283             :     int argvi = 0;
   14284             :     char *result = 0 ;
   14285           0 :     dXSARGS;
   14286             :     
   14287           0 :     if ((items < 1) || (items > 1)) {
   14288           0 :       SWIG_croak("Usage: labelObj_encoding_get(self);");
   14289             :     }
   14290           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   14291           0 :     if (!SWIG_IsOK(res1)) {
   14292           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_encoding_get" "', argument " "1"" of type '" "struct labelObj *""'"); 
   14293             :     }
   14294           0 :     arg1 = (struct labelObj *)(argp1);
   14295           0 :     result = (char *) ((arg1)->encoding);
   14296           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   14297             :     
   14298           0 :     XSRETURN(argvi);
   14299           0 :   fail:
   14300             :     
   14301           0 :     SWIG_croak_null();
   14302             :   }
   14303             : }
   14304             : 
   14305             : 
   14306           0 : XS(_wrap_labelObj_priority_set) {
   14307             :   {
   14308             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   14309             :     int arg2 ;
   14310           0 :     void *argp1 = 0 ;
   14311             :     int res1 = 0 ;
   14312             :     int val2 ;
   14313             :     int ecode2 = 0 ;
   14314             :     int argvi = 0;
   14315           0 :     dXSARGS;
   14316             :     
   14317           0 :     if ((items < 2) || (items > 2)) {
   14318           0 :       SWIG_croak("Usage: labelObj_priority_set(self,priority);");
   14319             :     }
   14320           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   14321           0 :     if (!SWIG_IsOK(res1)) {
   14322           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_priority_set" "', argument " "1"" of type '" "struct labelObj *""'"); 
   14323             :     }
   14324           0 :     arg1 = (struct labelObj *)(argp1);
   14325           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   14326           0 :     if (!SWIG_IsOK(ecode2)) {
   14327           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_priority_set" "', argument " "2"" of type '" "int""'");
   14328             :     } 
   14329             :     arg2 = (int)(val2);
   14330           0 :     if (arg1) (arg1)->priority = arg2;
   14331           0 :     ST(argvi) = sv_newmortal();
   14332             :     
   14333             :     
   14334           0 :     XSRETURN(argvi);
   14335           0 :   fail:
   14336             :     
   14337             :     
   14338           0 :     SWIG_croak_null();
   14339             :   }
   14340             : }
   14341             : 
   14342             : 
   14343           0 : XS(_wrap_labelObj_priority_get) {
   14344             :   {
   14345             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   14346           0 :     void *argp1 = 0 ;
   14347             :     int res1 = 0 ;
   14348             :     int argvi = 0;
   14349             :     int result;
   14350           0 :     dXSARGS;
   14351             :     
   14352           0 :     if ((items < 1) || (items > 1)) {
   14353           0 :       SWIG_croak("Usage: labelObj_priority_get(self);");
   14354             :     }
   14355           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   14356           0 :     if (!SWIG_IsOK(res1)) {
   14357           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_priority_get" "', argument " "1"" of type '" "struct labelObj *""'"); 
   14358             :     }
   14359           0 :     arg1 = (struct labelObj *)(argp1);
   14360           0 :     result = (int) ((arg1)->priority);
   14361           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   14362             :     
   14363           0 :     XSRETURN(argvi);
   14364           0 :   fail:
   14365             :     
   14366           0 :     SWIG_croak_null();
   14367             :   }
   14368             : }
   14369             : 
   14370             : 
   14371           0 : XS(_wrap_labelObj_numstyles_set) {
   14372             :   {
   14373             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   14374             :     int arg2 ;
   14375           0 :     void *argp1 = 0 ;
   14376             :     int res1 = 0 ;
   14377             :     int val2 ;
   14378             :     int ecode2 = 0 ;
   14379             :     int argvi = 0;
   14380           0 :     dXSARGS;
   14381             :     
   14382           0 :     if ((items < 2) || (items > 2)) {
   14383           0 :       SWIG_croak("Usage: labelObj_numstyles_set(self,numstyles);");
   14384             :     }
   14385           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   14386           0 :     if (!SWIG_IsOK(res1)) {
   14387           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_numstyles_set" "', argument " "1"" of type '" "struct labelObj *""'"); 
   14388             :     }
   14389           0 :     arg1 = (struct labelObj *)(argp1);
   14390           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   14391           0 :     if (!SWIG_IsOK(ecode2)) {
   14392           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_numstyles_set" "', argument " "2"" of type '" "int""'");
   14393             :     } 
   14394             :     arg2 = (int)(val2);
   14395           0 :     if (arg1) (arg1)->numstyles = arg2;
   14396           0 :     ST(argvi) = sv_newmortal();
   14397             :     
   14398             :     
   14399           0 :     XSRETURN(argvi);
   14400           0 :   fail:
   14401             :     
   14402             :     
   14403           0 :     SWIG_croak_null();
   14404             :   }
   14405             : }
   14406             : 
   14407             : 
   14408           0 : XS(_wrap_labelObj_numstyles_get) {
   14409             :   {
   14410             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   14411           0 :     void *argp1 = 0 ;
   14412             :     int res1 = 0 ;
   14413             :     int argvi = 0;
   14414             :     int result;
   14415           0 :     dXSARGS;
   14416             :     
   14417           0 :     if ((items < 1) || (items > 1)) {
   14418           0 :       SWIG_croak("Usage: labelObj_numstyles_get(self);");
   14419             :     }
   14420           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   14421           0 :     if (!SWIG_IsOK(res1)) {
   14422           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_numstyles_get" "', argument " "1"" of type '" "struct labelObj *""'"); 
   14423             :     }
   14424           0 :     arg1 = (struct labelObj *)(argp1);
   14425           0 :     result = (int) ((arg1)->numstyles);
   14426           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   14427             :     
   14428           0 :     XSRETURN(argvi);
   14429           0 :   fail:
   14430             :     
   14431           0 :     SWIG_croak_null();
   14432             :   }
   14433             : }
   14434             : 
   14435             : 
   14436           0 : XS(_wrap_labelObj_leader_set) {
   14437             :   {
   14438             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   14439             :     labelLeaderObj *arg2 = (labelLeaderObj *) 0 ;
   14440           0 :     void *argp1 = 0 ;
   14441             :     int res1 = 0 ;
   14442           0 :     void *argp2 = 0 ;
   14443             :     int res2 = 0 ;
   14444             :     int argvi = 0;
   14445           0 :     dXSARGS;
   14446             :     
   14447           0 :     if ((items < 2) || (items > 2)) {
   14448           0 :       SWIG_croak("Usage: labelObj_leader_set(self,leader);");
   14449             :     }
   14450           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   14451           0 :     if (!SWIG_IsOK(res1)) {
   14452           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_leader_set" "', argument " "1"" of type '" "struct labelObj *""'"); 
   14453             :     }
   14454           0 :     arg1 = (struct labelObj *)(argp1);
   14455           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_labelLeaderObj, SWIG_POINTER_DISOWN |  0 );
   14456           0 :     if (!SWIG_IsOK(res2)) {
   14457           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "labelObj_leader_set" "', argument " "2"" of type '" "labelLeaderObj *""'"); 
   14458             :     }
   14459           0 :     arg2 = (labelLeaderObj *)(argp2);
   14460           0 :     if (arg1) (arg1)->leader = arg2;
   14461           0 :     ST(argvi) = sv_newmortal();
   14462             :     
   14463             :     
   14464           0 :     XSRETURN(argvi);
   14465           0 :   fail:
   14466             :     
   14467             :     
   14468           0 :     SWIG_croak_null();
   14469             :   }
   14470             : }
   14471             : 
   14472             : 
   14473           0 : XS(_wrap_labelObj_leader_get) {
   14474             :   {
   14475             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   14476           0 :     void *argp1 = 0 ;
   14477             :     int res1 = 0 ;
   14478             :     int argvi = 0;
   14479             :     labelLeaderObj *result = 0 ;
   14480           0 :     dXSARGS;
   14481             :     
   14482           0 :     if ((items < 1) || (items > 1)) {
   14483           0 :       SWIG_croak("Usage: labelObj_leader_get(self);");
   14484             :     }
   14485           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   14486           0 :     if (!SWIG_IsOK(res1)) {
   14487           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_leader_get" "', argument " "1"" of type '" "struct labelObj *""'"); 
   14488             :     }
   14489           0 :     arg1 = (struct labelObj *)(argp1);
   14490           0 :     result = (labelLeaderObj *) ((arg1)->leader);
   14491           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_labelLeaderObj, 0 | SWIG_SHADOW); argvi++ ;
   14492             :     
   14493           0 :     XSRETURN(argvi);
   14494           0 :   fail:
   14495             :     
   14496           0 :     SWIG_croak_null();
   14497             :   }
   14498             : }
   14499             : 
   14500             : 
   14501           0 : XS(_wrap_labelObj_sizeunits_set) {
   14502             :   {
   14503             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   14504             :     int arg2 ;
   14505           0 :     void *argp1 = 0 ;
   14506             :     int res1 = 0 ;
   14507             :     int val2 ;
   14508             :     int ecode2 = 0 ;
   14509             :     int argvi = 0;
   14510           0 :     dXSARGS;
   14511             :     
   14512           0 :     if ((items < 2) || (items > 2)) {
   14513           0 :       SWIG_croak("Usage: labelObj_sizeunits_set(self,sizeunits);");
   14514             :     }
   14515           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   14516           0 :     if (!SWIG_IsOK(res1)) {
   14517           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_sizeunits_set" "', argument " "1"" of type '" "struct labelObj *""'"); 
   14518             :     }
   14519           0 :     arg1 = (struct labelObj *)(argp1);
   14520           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   14521           0 :     if (!SWIG_IsOK(ecode2)) {
   14522           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_sizeunits_set" "', argument " "2"" of type '" "int""'");
   14523             :     } 
   14524             :     arg2 = (int)(val2);
   14525           0 :     if (arg1) (arg1)->sizeunits = arg2;
   14526           0 :     ST(argvi) = sv_newmortal();
   14527             :     
   14528             :     
   14529           0 :     XSRETURN(argvi);
   14530           0 :   fail:
   14531             :     
   14532             :     
   14533           0 :     SWIG_croak_null();
   14534             :   }
   14535             : }
   14536             : 
   14537             : 
   14538           0 : XS(_wrap_labelObj_sizeunits_get) {
   14539             :   {
   14540             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   14541           0 :     void *argp1 = 0 ;
   14542             :     int res1 = 0 ;
   14543             :     int argvi = 0;
   14544             :     int result;
   14545           0 :     dXSARGS;
   14546             :     
   14547           0 :     if ((items < 1) || (items > 1)) {
   14548           0 :       SWIG_croak("Usage: labelObj_sizeunits_get(self);");
   14549             :     }
   14550           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   14551           0 :     if (!SWIG_IsOK(res1)) {
   14552           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_sizeunits_get" "', argument " "1"" of type '" "struct labelObj *""'"); 
   14553             :     }
   14554           0 :     arg1 = (struct labelObj *)(argp1);
   14555           0 :     result = (int) ((arg1)->sizeunits);
   14556           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   14557             :     
   14558           0 :     XSRETURN(argvi);
   14559           0 :   fail:
   14560             :     
   14561           0 :     SWIG_croak_null();
   14562             :   }
   14563             : }
   14564             : 
   14565             : 
   14566           0 : XS(_wrap_new_labelObj) {
   14567             :   {
   14568             :     int argvi = 0;
   14569             :     struct labelObj *result = 0 ;
   14570           0 :     dXSARGS;
   14571             :     
   14572           0 :     if ((items < 0) || (items > 0)) {
   14573           0 :       SWIG_croak("Usage: new_labelObj();");
   14574             :     }
   14575           0 :     result = (struct labelObj *)new_labelObj();
   14576           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_labelObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   14577           0 :     XSRETURN(argvi);
   14578             :   fail:
   14579           0 :     SWIG_croak_null();
   14580             :   }
   14581             : }
   14582             : 
   14583             : 
   14584           0 : XS(_wrap_delete_labelObj) {
   14585             :   {
   14586             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   14587           0 :     void *argp1 = 0 ;
   14588             :     int res1 = 0 ;
   14589             :     int argvi = 0;
   14590           0 :     dXSARGS;
   14591             :     
   14592           0 :     if ((items < 1) || (items > 1)) {
   14593           0 :       SWIG_croak("Usage: delete_labelObj(self);");
   14594             :     }
   14595           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, SWIG_POINTER_DISOWN |  0 );
   14596           0 :     if (!SWIG_IsOK(res1)) {
   14597           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_labelObj" "', argument " "1"" of type '" "struct labelObj *""'"); 
   14598             :     }
   14599           0 :     arg1 = (struct labelObj *)(argp1);
   14600             :     delete_labelObj(arg1);
   14601           0 :     ST(argvi) = sv_newmortal();
   14602             :     
   14603           0 :     XSRETURN(argvi);
   14604           0 :   fail:
   14605             :     
   14606           0 :     SWIG_croak_null();
   14607             :   }
   14608             : }
   14609             : 
   14610             : 
   14611           0 : XS(_wrap_labelObj_updateFromString) {
   14612             :   {
   14613             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   14614             :     char *arg2 = (char *) 0 ;
   14615           0 :     void *argp1 = 0 ;
   14616             :     int res1 = 0 ;
   14617             :     int res2 ;
   14618           0 :     char *buf2 = 0 ;
   14619           0 :     int alloc2 = 0 ;
   14620             :     int argvi = 0;
   14621             :     int result;
   14622           0 :     dXSARGS;
   14623             :     
   14624           0 :     if ((items < 2) || (items > 2)) {
   14625           0 :       SWIG_croak("Usage: labelObj_updateFromString(self,snippet);");
   14626             :     }
   14627           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   14628           0 :     if (!SWIG_IsOK(res1)) {
   14629           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_updateFromString" "', argument " "1"" of type '" "struct labelObj *""'"); 
   14630             :     }
   14631           0 :     arg1 = (struct labelObj *)(argp1);
   14632           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   14633           0 :     if (!SWIG_IsOK(res2)) {
   14634           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "labelObj_updateFromString" "', argument " "2"" of type '" "char *""'");
   14635             :     }
   14636           0 :     arg2 = (char *)(buf2);
   14637             :     result = (int)labelObj_updateFromString(arg1,arg2);
   14638           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   14639             :     
   14640           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   14641           0 :     XSRETURN(argvi);
   14642           0 :   fail:
   14643             :     
   14644           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   14645           0 :     SWIG_croak_null();
   14646             :   }
   14647             : }
   14648             : 
   14649             : 
   14650           0 : XS(_wrap_labelObj_convertToString) {
   14651             :   {
   14652             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   14653           0 :     void *argp1 = 0 ;
   14654             :     int res1 = 0 ;
   14655             :     int argvi = 0;
   14656             :     char *result = 0 ;
   14657           0 :     dXSARGS;
   14658             :     
   14659           0 :     if ((items < 1) || (items > 1)) {
   14660           0 :       SWIG_croak("Usage: labelObj_convertToString(self);");
   14661             :     }
   14662           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   14663           0 :     if (!SWIG_IsOK(res1)) {
   14664           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_convertToString" "', argument " "1"" of type '" "struct labelObj *""'"); 
   14665             :     }
   14666           0 :     arg1 = (struct labelObj *)(argp1);
   14667             :     result = (char *)labelObj_convertToString(arg1);
   14668           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   14669             :     
   14670           0 :     free((char*)result);
   14671           0 :     XSRETURN(argvi);
   14672           0 :   fail:
   14673             :     
   14674           0 :     SWIG_croak_null();
   14675             :   }
   14676             : }
   14677             : 
   14678             : 
   14679           0 : XS(_wrap_labelObj_removeBinding) {
   14680             :   {
   14681             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   14682             :     int arg2 ;
   14683           0 :     void *argp1 = 0 ;
   14684             :     int res1 = 0 ;
   14685             :     int val2 ;
   14686             :     int ecode2 = 0 ;
   14687             :     int argvi = 0;
   14688             :     int result;
   14689           0 :     dXSARGS;
   14690             :     
   14691           0 :     if ((items < 2) || (items > 2)) {
   14692           0 :       SWIG_croak("Usage: labelObj_removeBinding(self,binding);");
   14693             :     }
   14694           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   14695           0 :     if (!SWIG_IsOK(res1)) {
   14696           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_removeBinding" "', argument " "1"" of type '" "struct labelObj *""'"); 
   14697             :     }
   14698           0 :     arg1 = (struct labelObj *)(argp1);
   14699           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   14700           0 :     if (!SWIG_IsOK(ecode2)) {
   14701           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_removeBinding" "', argument " "2"" of type '" "int""'");
   14702             :     } 
   14703             :     arg2 = (int)(val2);
   14704             :     result = (int)labelObj_removeBinding(arg1,arg2);
   14705           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   14706             :     
   14707             :     
   14708           0 :     XSRETURN(argvi);
   14709           0 :   fail:
   14710             :     
   14711             :     
   14712           0 :     SWIG_croak_null();
   14713             :   }
   14714             : }
   14715             : 
   14716             : 
   14717           0 : XS(_wrap_labelObj_getBinding) {
   14718             :   {
   14719             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   14720             :     int arg2 ;
   14721           0 :     void *argp1 = 0 ;
   14722             :     int res1 = 0 ;
   14723             :     int val2 ;
   14724             :     int ecode2 = 0 ;
   14725             :     int argvi = 0;
   14726             :     char *result = 0 ;
   14727           0 :     dXSARGS;
   14728             :     
   14729           0 :     if ((items < 2) || (items > 2)) {
   14730           0 :       SWIG_croak("Usage: labelObj_getBinding(self,binding);");
   14731             :     }
   14732           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   14733           0 :     if (!SWIG_IsOK(res1)) {
   14734           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_getBinding" "', argument " "1"" of type '" "struct labelObj *""'"); 
   14735             :     }
   14736           0 :     arg1 = (struct labelObj *)(argp1);
   14737           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   14738           0 :     if (!SWIG_IsOK(ecode2)) {
   14739           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_getBinding" "', argument " "2"" of type '" "int""'");
   14740             :     } 
   14741             :     arg2 = (int)(val2);
   14742             :     result = (char *)labelObj_getBinding(arg1,arg2);
   14743           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   14744             :     
   14745             :     
   14746           0 :     XSRETURN(argvi);
   14747           0 :   fail:
   14748             :     
   14749             :     
   14750           0 :     SWIG_croak_null();
   14751             :   }
   14752             : }
   14753             : 
   14754             : 
   14755           0 : XS(_wrap_labelObj_setBinding) {
   14756             :   {
   14757             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   14758             :     int arg2 ;
   14759             :     char *arg3 = (char *) 0 ;
   14760           0 :     void *argp1 = 0 ;
   14761             :     int res1 = 0 ;
   14762             :     int val2 ;
   14763             :     int ecode2 = 0 ;
   14764             :     int res3 ;
   14765           0 :     char *buf3 = 0 ;
   14766           0 :     int alloc3 = 0 ;
   14767             :     int argvi = 0;
   14768             :     int result;
   14769           0 :     dXSARGS;
   14770             :     
   14771           0 :     if ((items < 3) || (items > 3)) {
   14772           0 :       SWIG_croak("Usage: labelObj_setBinding(self,binding,item);");
   14773             :     }
   14774           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   14775           0 :     if (!SWIG_IsOK(res1)) {
   14776           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_setBinding" "', argument " "1"" of type '" "struct labelObj *""'"); 
   14777             :     }
   14778           0 :     arg1 = (struct labelObj *)(argp1);
   14779           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   14780           0 :     if (!SWIG_IsOK(ecode2)) {
   14781           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_setBinding" "', argument " "2"" of type '" "int""'");
   14782             :     } 
   14783             :     arg2 = (int)(val2);
   14784           0 :     res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
   14785           0 :     if (!SWIG_IsOK(res3)) {
   14786           0 :       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "labelObj_setBinding" "', argument " "3"" of type '" "char *""'");
   14787             :     }
   14788           0 :     arg3 = (char *)(buf3);
   14789           0 :     result = (int)labelObj_setBinding(arg1,arg2,arg3);
   14790           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   14791             :     
   14792             :     
   14793           0 :     if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
   14794           0 :     XSRETURN(argvi);
   14795           0 :   fail:
   14796             :     
   14797             :     
   14798           0 :     if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
   14799           0 :     SWIG_croak_null();
   14800             :   }
   14801             : }
   14802             : 
   14803             : 
   14804           0 : XS(_wrap_labelObj_setExpression) {
   14805             :   {
   14806             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   14807             :     char *arg2 = (char *) 0 ;
   14808           0 :     void *argp1 = 0 ;
   14809             :     int res1 = 0 ;
   14810             :     int res2 ;
   14811           0 :     char *buf2 = 0 ;
   14812           0 :     int alloc2 = 0 ;
   14813             :     int argvi = 0;
   14814             :     int result;
   14815           0 :     dXSARGS;
   14816             :     
   14817           0 :     if ((items < 2) || (items > 2)) {
   14818           0 :       SWIG_croak("Usage: labelObj_setExpression(self,expression);");
   14819             :     }
   14820           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   14821           0 :     if (!SWIG_IsOK(res1)) {
   14822           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_setExpression" "', argument " "1"" of type '" "struct labelObj *""'"); 
   14823             :     }
   14824           0 :     arg1 = (struct labelObj *)(argp1);
   14825           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   14826           0 :     if (!SWIG_IsOK(res2)) {
   14827           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "labelObj_setExpression" "', argument " "2"" of type '" "char *""'");
   14828             :     }
   14829           0 :     arg2 = (char *)(buf2);
   14830           0 :     result = (int)labelObj_setExpression(arg1,arg2);
   14831           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   14832             :     
   14833           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   14834           0 :     XSRETURN(argvi);
   14835           0 :   fail:
   14836             :     
   14837           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   14838           0 :     SWIG_croak_null();
   14839             :   }
   14840             : }
   14841             : 
   14842             : 
   14843           0 : XS(_wrap_labelObj_getExpressionString) {
   14844             :   {
   14845             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   14846           0 :     void *argp1 = 0 ;
   14847             :     int res1 = 0 ;
   14848             :     int argvi = 0;
   14849             :     char *result = 0 ;
   14850           0 :     dXSARGS;
   14851             :     
   14852           0 :     if ((items < 1) || (items > 1)) {
   14853           0 :       SWIG_croak("Usage: labelObj_getExpressionString(self);");
   14854             :     }
   14855           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   14856           0 :     if (!SWIG_IsOK(res1)) {
   14857           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_getExpressionString" "', argument " "1"" of type '" "struct labelObj *""'"); 
   14858             :     }
   14859           0 :     arg1 = (struct labelObj *)(argp1);
   14860             :     result = (char *)labelObj_getExpressionString(arg1);
   14861           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   14862             :     
   14863           0 :     free((char*)result);
   14864           0 :     XSRETURN(argvi);
   14865           0 :   fail:
   14866             :     
   14867           0 :     SWIG_croak_null();
   14868             :   }
   14869             : }
   14870             : 
   14871             : 
   14872           0 : XS(_wrap_labelObj_setText) {
   14873             :   {
   14874             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   14875             :     char *arg2 = (char *) 0 ;
   14876           0 :     void *argp1 = 0 ;
   14877             :     int res1 = 0 ;
   14878             :     int res2 ;
   14879           0 :     char *buf2 = 0 ;
   14880           0 :     int alloc2 = 0 ;
   14881             :     int argvi = 0;
   14882             :     int result;
   14883           0 :     dXSARGS;
   14884             :     
   14885           0 :     if ((items < 2) || (items > 2)) {
   14886           0 :       SWIG_croak("Usage: labelObj_setText(self,text);");
   14887             :     }
   14888           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   14889           0 :     if (!SWIG_IsOK(res1)) {
   14890           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_setText" "', argument " "1"" of type '" "struct labelObj *""'"); 
   14891             :     }
   14892           0 :     arg1 = (struct labelObj *)(argp1);
   14893           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   14894           0 :     if (!SWIG_IsOK(res2)) {
   14895           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "labelObj_setText" "', argument " "2"" of type '" "char *""'");
   14896             :     }
   14897           0 :     arg2 = (char *)(buf2);
   14898           0 :     result = (int)labelObj_setText(arg1,arg2);
   14899           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   14900             :     
   14901           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   14902           0 :     XSRETURN(argvi);
   14903           0 :   fail:
   14904             :     
   14905           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   14906           0 :     SWIG_croak_null();
   14907             :   }
   14908             : }
   14909             : 
   14910             : 
   14911           0 : XS(_wrap_labelObj_getTextString) {
   14912             :   {
   14913             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   14914           0 :     void *argp1 = 0 ;
   14915             :     int res1 = 0 ;
   14916             :     int argvi = 0;
   14917             :     char *result = 0 ;
   14918           0 :     dXSARGS;
   14919             :     
   14920           0 :     if ((items < 1) || (items > 1)) {
   14921           0 :       SWIG_croak("Usage: labelObj_getTextString(self);");
   14922             :     }
   14923           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   14924           0 :     if (!SWIG_IsOK(res1)) {
   14925           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_getTextString" "', argument " "1"" of type '" "struct labelObj *""'"); 
   14926             :     }
   14927           0 :     arg1 = (struct labelObj *)(argp1);
   14928             :     result = (char *)labelObj_getTextString(arg1);
   14929           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   14930             :     
   14931           0 :     free((char*)result);
   14932           0 :     XSRETURN(argvi);
   14933           0 :   fail:
   14934             :     
   14935           0 :     SWIG_croak_null();
   14936             :   }
   14937             : }
   14938             : 
   14939             : 
   14940           0 : XS(_wrap_labelObj_getStyle) {
   14941             :   {
   14942             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   14943             :     int arg2 ;
   14944           0 :     void *argp1 = 0 ;
   14945             :     int res1 = 0 ;
   14946             :     int val2 ;
   14947             :     int ecode2 = 0 ;
   14948             :     int argvi = 0;
   14949             :     styleObj *result = 0 ;
   14950           0 :     dXSARGS;
   14951             :     
   14952           0 :     if ((items < 2) || (items > 2)) {
   14953           0 :       SWIG_croak("Usage: labelObj_getStyle(self,i);");
   14954             :     }
   14955           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   14956           0 :     if (!SWIG_IsOK(res1)) {
   14957           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_getStyle" "', argument " "1"" of type '" "struct labelObj *""'"); 
   14958             :     }
   14959           0 :     arg1 = (struct labelObj *)(argp1);
   14960           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   14961           0 :     if (!SWIG_IsOK(ecode2)) {
   14962           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_getStyle" "', argument " "2"" of type '" "int""'");
   14963             :     } 
   14964             :     arg2 = (int)(val2);
   14965           0 :     result = (styleObj *)labelObj_getStyle(arg1,arg2);
   14966           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_styleObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   14967             :     
   14968             :     
   14969           0 :     XSRETURN(argvi);
   14970           0 :   fail:
   14971             :     
   14972             :     
   14973           0 :     SWIG_croak_null();
   14974             :   }
   14975             : }
   14976             : 
   14977             : 
   14978           0 : XS(_wrap_labelObj_insertStyle) {
   14979             :   {
   14980             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   14981             :     styleObj *arg2 = (styleObj *) 0 ;
   14982             :     int arg3 = (int) -1 ;
   14983           0 :     void *argp1 = 0 ;
   14984             :     int res1 = 0 ;
   14985           0 :     void *argp2 = 0 ;
   14986             :     int res2 = 0 ;
   14987             :     int val3 ;
   14988             :     int ecode3 = 0 ;
   14989             :     int argvi = 0;
   14990             :     int result;
   14991           0 :     dXSARGS;
   14992             :     
   14993           0 :     if ((items < 2) || (items > 3)) {
   14994           0 :       SWIG_croak("Usage: labelObj_insertStyle(self,style,index);");
   14995             :     }
   14996           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   14997           0 :     if (!SWIG_IsOK(res1)) {
   14998           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_insertStyle" "', argument " "1"" of type '" "struct labelObj *""'"); 
   14999             :     }
   15000           0 :     arg1 = (struct labelObj *)(argp1);
   15001           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_styleObj, 0 |  0 );
   15002           0 :     if (!SWIG_IsOK(res2)) {
   15003           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "labelObj_insertStyle" "', argument " "2"" of type '" "styleObj *""'"); 
   15004             :     }
   15005           0 :     arg2 = (styleObj *)(argp2);
   15006           0 :     if (items > 2) {
   15007           0 :       ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
   15008           0 :       if (!SWIG_IsOK(ecode3)) {
   15009           0 :         SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "labelObj_insertStyle" "', argument " "3"" of type '" "int""'");
   15010             :       } 
   15011             :       arg3 = (int)(val3);
   15012             :     }
   15013             :     result = (int)labelObj_insertStyle(arg1,arg2,arg3);
   15014           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   15015             :     
   15016             :     
   15017             :     
   15018           0 :     XSRETURN(argvi);
   15019           0 :   fail:
   15020             :     
   15021             :     
   15022             :     
   15023           0 :     SWIG_croak_null();
   15024             :   }
   15025             : }
   15026             : 
   15027             : 
   15028           0 : XS(_wrap_labelObj_removeStyle) {
   15029             :   {
   15030             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   15031             :     int arg2 ;
   15032           0 :     void *argp1 = 0 ;
   15033             :     int res1 = 0 ;
   15034             :     int val2 ;
   15035             :     int ecode2 = 0 ;
   15036             :     int argvi = 0;
   15037             :     styleObj *result = 0 ;
   15038           0 :     dXSARGS;
   15039             :     
   15040           0 :     if ((items < 2) || (items > 2)) {
   15041           0 :       SWIG_croak("Usage: labelObj_removeStyle(self,index);");
   15042             :     }
   15043           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   15044           0 :     if (!SWIG_IsOK(res1)) {
   15045           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_removeStyle" "', argument " "1"" of type '" "struct labelObj *""'"); 
   15046             :     }
   15047           0 :     arg1 = (struct labelObj *)(argp1);
   15048           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   15049           0 :     if (!SWIG_IsOK(ecode2)) {
   15050           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_removeStyle" "', argument " "2"" of type '" "int""'");
   15051             :     } 
   15052             :     arg2 = (int)(val2);
   15053           0 :     result = (styleObj *)labelObj_removeStyle(arg1,arg2);
   15054           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_styleObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   15055             :     
   15056             :     
   15057           0 :     XSRETURN(argvi);
   15058           0 :   fail:
   15059             :     
   15060             :     
   15061           0 :     SWIG_croak_null();
   15062             :   }
   15063             : }
   15064             : 
   15065             : 
   15066           0 : XS(_wrap_labelObj_moveStyleUp) {
   15067             :   {
   15068             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   15069             :     int arg2 ;
   15070           0 :     void *argp1 = 0 ;
   15071             :     int res1 = 0 ;
   15072             :     int val2 ;
   15073             :     int ecode2 = 0 ;
   15074             :     int argvi = 0;
   15075             :     int result;
   15076           0 :     dXSARGS;
   15077             :     
   15078           0 :     if ((items < 2) || (items > 2)) {
   15079           0 :       SWIG_croak("Usage: labelObj_moveStyleUp(self,index);");
   15080             :     }
   15081           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   15082           0 :     if (!SWIG_IsOK(res1)) {
   15083           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_moveStyleUp" "', argument " "1"" of type '" "struct labelObj *""'"); 
   15084             :     }
   15085           0 :     arg1 = (struct labelObj *)(argp1);
   15086           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   15087           0 :     if (!SWIG_IsOK(ecode2)) {
   15088           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_moveStyleUp" "', argument " "2"" of type '" "int""'");
   15089             :     } 
   15090             :     arg2 = (int)(val2);
   15091             :     result = (int)labelObj_moveStyleUp(arg1,arg2);
   15092           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   15093             :     
   15094             :     
   15095           0 :     XSRETURN(argvi);
   15096           0 :   fail:
   15097             :     
   15098             :     
   15099           0 :     SWIG_croak_null();
   15100             :   }
   15101             : }
   15102             : 
   15103             : 
   15104           0 : XS(_wrap_labelObj_moveStyleDown) {
   15105             :   {
   15106             :     struct labelObj *arg1 = (struct labelObj *) 0 ;
   15107             :     int arg2 ;
   15108           0 :     void *argp1 = 0 ;
   15109             :     int res1 = 0 ;
   15110             :     int val2 ;
   15111             :     int ecode2 = 0 ;
   15112             :     int argvi = 0;
   15113             :     int result;
   15114           0 :     dXSARGS;
   15115             :     
   15116           0 :     if ((items < 2) || (items > 2)) {
   15117           0 :       SWIG_croak("Usage: labelObj_moveStyleDown(self,index);");
   15118             :     }
   15119           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelObj, 0 |  0 );
   15120           0 :     if (!SWIG_IsOK(res1)) {
   15121           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelObj_moveStyleDown" "', argument " "1"" of type '" "struct labelObj *""'"); 
   15122             :     }
   15123           0 :     arg1 = (struct labelObj *)(argp1);
   15124           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   15125           0 :     if (!SWIG_IsOK(ecode2)) {
   15126           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "labelObj_moveStyleDown" "', argument " "2"" of type '" "int""'");
   15127             :     } 
   15128             :     arg2 = (int)(val2);
   15129             :     result = (int)labelObj_moveStyleDown(arg1,arg2);
   15130           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   15131             :     
   15132             :     
   15133           0 :     XSRETURN(argvi);
   15134           0 :   fail:
   15135             :     
   15136             :     
   15137           0 :     SWIG_croak_null();
   15138             :   }
   15139             : }
   15140             : 
   15141             : 
   15142           0 : XS(_wrap_classObj_metadata_get) {
   15143             :   {
   15144             :     struct classObj *arg1 = (struct classObj *) 0 ;
   15145           0 :     void *argp1 = 0 ;
   15146             :     int res1 = 0 ;
   15147             :     int argvi = 0;
   15148             :     hashTableObj *result = 0 ;
   15149           0 :     dXSARGS;
   15150             :     
   15151           0 :     if ((items < 1) || (items > 1)) {
   15152           0 :       SWIG_croak("Usage: classObj_metadata_get(self);");
   15153             :     }
   15154           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 |  0 );
   15155           0 :     if (!SWIG_IsOK(res1)) {
   15156           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_metadata_get" "', argument " "1"" of type '" "struct classObj *""'"); 
   15157             :     }
   15158           0 :     arg1 = (struct classObj *)(argp1);
   15159           0 :     result = (hashTableObj *)& ((arg1)->metadata);
   15160           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_hashTableObj, 0 | SWIG_SHADOW); argvi++ ;
   15161             :     
   15162           0 :     XSRETURN(argvi);
   15163           0 :   fail:
   15164             :     
   15165           0 :     SWIG_croak_null();
   15166             :   }
   15167             : }
   15168             : 
   15169             : 
   15170           0 : XS(_wrap_classObj_validation_get) {
   15171             :   {
   15172             :     struct classObj *arg1 = (struct classObj *) 0 ;
   15173           0 :     void *argp1 = 0 ;
   15174             :     int res1 = 0 ;
   15175             :     int argvi = 0;
   15176             :     hashTableObj *result = 0 ;
   15177           0 :     dXSARGS;
   15178             :     
   15179           0 :     if ((items < 1) || (items > 1)) {
   15180           0 :       SWIG_croak("Usage: classObj_validation_get(self);");
   15181             :     }
   15182           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 |  0 );
   15183           0 :     if (!SWIG_IsOK(res1)) {
   15184           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_validation_get" "', argument " "1"" of type '" "struct classObj *""'"); 
   15185             :     }
   15186           0 :     arg1 = (struct classObj *)(argp1);
   15187           0 :     result = (hashTableObj *)& ((arg1)->validation);
   15188           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_hashTableObj, 0 | SWIG_SHADOW); argvi++ ;
   15189             :     
   15190           0 :     XSRETURN(argvi);
   15191           0 :   fail:
   15192             :     
   15193           0 :     SWIG_croak_null();
   15194             :   }
   15195             : }
   15196             : 
   15197             : 
   15198           0 : XS(_wrap_classObj_numstyles_get) {
   15199             :   {
   15200             :     struct classObj *arg1 = (struct classObj *) 0 ;
   15201           0 :     void *argp1 = 0 ;
   15202             :     int res1 = 0 ;
   15203             :     int argvi = 0;
   15204             :     int result;
   15205           0 :     dXSARGS;
   15206             :     
   15207           0 :     if ((items < 1) || (items > 1)) {
   15208           0 :       SWIG_croak("Usage: classObj_numstyles_get(self);");
   15209             :     }
   15210           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 |  0 );
   15211           0 :     if (!SWIG_IsOK(res1)) {
   15212           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_numstyles_get" "', argument " "1"" of type '" "struct classObj *""'"); 
   15213             :     }
   15214           0 :     arg1 = (struct classObj *)(argp1);
   15215           0 :     result = (int) ((arg1)->numstyles);
   15216           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   15217             :     
   15218           0 :     XSRETURN(argvi);
   15219           0 :   fail:
   15220             :     
   15221           0 :     SWIG_croak_null();
   15222             :   }
   15223             : }
   15224             : 
   15225             : 
   15226           0 : XS(_wrap_classObj_numlabels_get) {
   15227             :   {
   15228             :     struct classObj *arg1 = (struct classObj *) 0 ;
   15229           0 :     void *argp1 = 0 ;
   15230             :     int res1 = 0 ;
   15231             :     int argvi = 0;
   15232             :     int result;
   15233           0 :     dXSARGS;
   15234             :     
   15235           0 :     if ((items < 1) || (items > 1)) {
   15236           0 :       SWIG_croak("Usage: classObj_numlabels_get(self);");
   15237             :     }
   15238           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 |  0 );
   15239           0 :     if (!SWIG_IsOK(res1)) {
   15240           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_numlabels_get" "', argument " "1"" of type '" "struct classObj *""'"); 
   15241             :     }
   15242           0 :     arg1 = (struct classObj *)(argp1);
   15243           0 :     result = (int) ((arg1)->numlabels);
   15244           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   15245             :     
   15246           0 :     XSRETURN(argvi);
   15247           0 :   fail:
   15248             :     
   15249           0 :     SWIG_croak_null();
   15250             :   }
   15251             : }
   15252             : 
   15253             : 
   15254           0 : XS(_wrap_classObj_refcount_get) {
   15255             :   {
   15256             :     struct classObj *arg1 = (struct classObj *) 0 ;
   15257           0 :     void *argp1 = 0 ;
   15258             :     int res1 = 0 ;
   15259             :     int argvi = 0;
   15260             :     int result;
   15261           0 :     dXSARGS;
   15262             :     
   15263           0 :     if ((items < 1) || (items > 1)) {
   15264           0 :       SWIG_croak("Usage: classObj_refcount_get(self);");
   15265             :     }
   15266           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 |  0 );
   15267           0 :     if (!SWIG_IsOK(res1)) {
   15268           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_refcount_get" "', argument " "1"" of type '" "struct classObj *""'"); 
   15269             :     }
   15270           0 :     arg1 = (struct classObj *)(argp1);
   15271           0 :     result = (int) ((arg1)->refcount);
   15272           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   15273             :     
   15274           0 :     XSRETURN(argvi);
   15275           0 :   fail:
   15276             :     
   15277           0 :     SWIG_croak_null();
   15278             :   }
   15279             : }
   15280             : 
   15281             : 
   15282           1 : XS(_wrap_classObj_layer_get) {
   15283             :   {
   15284             :     struct classObj *arg1 = (struct classObj *) 0 ;
   15285           1 :     void *argp1 = 0 ;
   15286             :     int res1 = 0 ;
   15287             :     int argvi = 0;
   15288             :     struct layerObj *result = 0 ;
   15289           1 :     dXSARGS;
   15290             :     
   15291           1 :     if ((items < 1) || (items > 1)) {
   15292           0 :       SWIG_croak("Usage: classObj_layer_get(self);");
   15293             :     }
   15294           1 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 |  0 );
   15295           1 :     if (!SWIG_IsOK(res1)) {
   15296           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_layer_get" "', argument " "1"" of type '" "struct classObj *""'"); 
   15297             :     }
   15298           1 :     arg1 = (struct classObj *)(argp1);
   15299             :     {
   15300             :       /* Accessing layer */
   15301           1 :       result = (struct layerObj *) ((arg1)->layer);;
   15302           1 :       MS_REFCNT_INCR(result);
   15303             :     }
   15304           1 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_layerObj, 0 | SWIG_SHADOW); argvi++ ;
   15305             :     
   15306           1 :     XSRETURN(argvi);
   15307           0 :   fail:
   15308             :     
   15309           0 :     SWIG_croak_null();
   15310             :   }
   15311             : }
   15312             : 
   15313             : 
   15314           0 : XS(_wrap_classObj_leader_get) {
   15315             :   {
   15316             :     struct classObj *arg1 = (struct classObj *) 0 ;
   15317           0 :     void *argp1 = 0 ;
   15318             :     int res1 = 0 ;
   15319             :     int argvi = 0;
   15320             :     labelLeaderObj *result = 0 ;
   15321           0 :     dXSARGS;
   15322             :     
   15323           0 :     if ((items < 1) || (items > 1)) {
   15324           0 :       SWIG_croak("Usage: classObj_leader_get(self);");
   15325             :     }
   15326           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 |  0 );
   15327           0 :     if (!SWIG_IsOK(res1)) {
   15328           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_leader_get" "', argument " "1"" of type '" "struct classObj *""'"); 
   15329             :     }
   15330           0 :     arg1 = (struct classObj *)(argp1);
   15331           0 :     result = (labelLeaderObj *) ((arg1)->leader);
   15332           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_labelLeaderObj, 0 | SWIG_SHADOW); argvi++ ;
   15333             :     
   15334           0 :     XSRETURN(argvi);
   15335           0 :   fail:
   15336             :     
   15337           0 :     SWIG_croak_null();
   15338             :   }
   15339             : }
   15340             : 
   15341             : 
   15342           0 : XS(_wrap_classObj_status_set) {
   15343             :   {
   15344             :     struct classObj *arg1 = (struct classObj *) 0 ;
   15345             :     int arg2 ;
   15346           0 :     void *argp1 = 0 ;
   15347             :     int res1 = 0 ;
   15348             :     int val2 ;
   15349             :     int ecode2 = 0 ;
   15350             :     int argvi = 0;
   15351           0 :     dXSARGS;
   15352             :     
   15353           0 :     if ((items < 2) || (items > 2)) {
   15354           0 :       SWIG_croak("Usage: classObj_status_set(self,status);");
   15355             :     }
   15356           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 |  0 );
   15357           0 :     if (!SWIG_IsOK(res1)) {
   15358           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_status_set" "', argument " "1"" of type '" "struct classObj *""'"); 
   15359             :     }
   15360           0 :     arg1 = (struct classObj *)(argp1);
   15361           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   15362           0 :     if (!SWIG_IsOK(ecode2)) {
   15363           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "classObj_status_set" "', argument " "2"" of type '" "int""'");
   15364             :     } 
   15365             :     arg2 = (int)(val2);
   15366           0 :     if (arg1) (arg1)->status = arg2;
   15367           0 :     ST(argvi) = sv_newmortal();
   15368             :     
   15369             :     
   15370           0 :     XSRETURN(argvi);
   15371           0 :   fail:
   15372             :     
   15373             :     
   15374           0 :     SWIG_croak_null();
   15375             :   }
   15376             : }
   15377             : 
   15378             : 
   15379           0 : XS(_wrap_classObj_status_get) {
   15380             :   {
   15381             :     struct classObj *arg1 = (struct classObj *) 0 ;
   15382           0 :     void *argp1 = 0 ;
   15383             :     int res1 = 0 ;
   15384             :     int argvi = 0;
   15385             :     int result;
   15386           0 :     dXSARGS;
   15387             :     
   15388           0 :     if ((items < 1) || (items > 1)) {
   15389           0 :       SWIG_croak("Usage: classObj_status_get(self);");
   15390             :     }
   15391           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 |  0 );
   15392           0 :     if (!SWIG_IsOK(res1)) {
   15393           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_status_get" "', argument " "1"" of type '" "struct classObj *""'"); 
   15394             :     }
   15395           0 :     arg1 = (struct classObj *)(argp1);
   15396           0 :     result = (int) ((arg1)->status);
   15397           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   15398             :     
   15399           0 :     XSRETURN(argvi);
   15400           0 :   fail:
   15401             :     
   15402           0 :     SWIG_croak_null();
   15403             :   }
   15404             : }
   15405             : 
   15406             : 
   15407           0 : XS(_wrap_classObj_isfallback_set) {
   15408             :   {
   15409             :     struct classObj *arg1 = (struct classObj *) 0 ;
   15410             :     int arg2 ;
   15411           0 :     void *argp1 = 0 ;
   15412             :     int res1 = 0 ;
   15413             :     int val2 ;
   15414             :     int ecode2 = 0 ;
   15415             :     int argvi = 0;
   15416           0 :     dXSARGS;
   15417             :     
   15418           0 :     if ((items < 2) || (items > 2)) {
   15419           0 :       SWIG_croak("Usage: classObj_isfallback_set(self,isfallback);");
   15420             :     }
   15421           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 |  0 );
   15422           0 :     if (!SWIG_IsOK(res1)) {
   15423           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_isfallback_set" "', argument " "1"" of type '" "struct classObj *""'"); 
   15424             :     }
   15425           0 :     arg1 = (struct classObj *)(argp1);
   15426           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   15427           0 :     if (!SWIG_IsOK(ecode2)) {
   15428           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "classObj_isfallback_set" "', argument " "2"" of type '" "int""'");
   15429             :     } 
   15430             :     arg2 = (int)(val2);
   15431           0 :     if (arg1) (arg1)->isfallback = arg2;
   15432           0 :     ST(argvi) = sv_newmortal();
   15433             :     
   15434             :     
   15435           0 :     XSRETURN(argvi);
   15436           0 :   fail:
   15437             :     
   15438             :     
   15439           0 :     SWIG_croak_null();
   15440             :   }
   15441             : }
   15442             : 
   15443             : 
   15444           0 : XS(_wrap_classObj_isfallback_get) {
   15445             :   {
   15446             :     struct classObj *arg1 = (struct classObj *) 0 ;
   15447           0 :     void *argp1 = 0 ;
   15448             :     int res1 = 0 ;
   15449             :     int argvi = 0;
   15450             :     int result;
   15451           0 :     dXSARGS;
   15452             :     
   15453           0 :     if ((items < 1) || (items > 1)) {
   15454           0 :       SWIG_croak("Usage: classObj_isfallback_get(self);");
   15455             :     }
   15456           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 |  0 );
   15457           0 :     if (!SWIG_IsOK(res1)) {
   15458           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_isfallback_get" "', argument " "1"" of type '" "struct classObj *""'"); 
   15459             :     }
   15460           0 :     arg1 = (struct classObj *)(argp1);
   15461           0 :     result = (int) ((arg1)->isfallback);
   15462           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   15463             :     
   15464           0 :     XSRETURN(argvi);
   15465           0 :   fail:
   15466             :     
   15467           0 :     SWIG_croak_null();
   15468             :   }
   15469             : }
   15470             : 
   15471             : 
   15472           0 : XS(_wrap_classObj_name_set) {
   15473             :   {
   15474             :     struct classObj *arg1 = (struct classObj *) 0 ;
   15475             :     char *arg2 = (char *) 0 ;
   15476           0 :     void *argp1 = 0 ;
   15477             :     int res1 = 0 ;
   15478             :     int res2 ;
   15479           0 :     char *buf2 = 0 ;
   15480           0 :     int alloc2 = 0 ;
   15481             :     int argvi = 0;
   15482           0 :     dXSARGS;
   15483             :     
   15484           0 :     if ((items < 2) || (items > 2)) {
   15485           0 :       SWIG_croak("Usage: classObj_name_set(self,name);");
   15486             :     }
   15487           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 |  0 );
   15488           0 :     if (!SWIG_IsOK(res1)) {
   15489           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_name_set" "', argument " "1"" of type '" "struct classObj *""'"); 
   15490             :     }
   15491           0 :     arg1 = (struct classObj *)(argp1);
   15492           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   15493           0 :     if (!SWIG_IsOK(res2)) {
   15494           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "classObj_name_set" "', argument " "2"" of type '" "char *""'");
   15495             :     }
   15496           0 :     arg2 = (char *)(buf2);
   15497             :     {
   15498           0 :       if (arg1->name) free((char*)arg1->name);
   15499           0 :       if (arg2) {
   15500           0 :         arg1->name = (char *) malloc(strlen(arg2)+1);
   15501             :         strcpy((char*)arg1->name,arg2);
   15502             :       } else {
   15503           0 :         arg1->name = 0;
   15504             :       }
   15505             :     }
   15506           0 :     ST(argvi) = sv_newmortal();
   15507             :     
   15508           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   15509           0 :     XSRETURN(argvi);
   15510           0 :   fail:
   15511             :     
   15512           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   15513           0 :     SWIG_croak_null();
   15514             :   }
   15515             : }
   15516             : 
   15517             : 
   15518           0 : XS(_wrap_classObj_name_get) {
   15519             :   {
   15520             :     struct classObj *arg1 = (struct classObj *) 0 ;
   15521           0 :     void *argp1 = 0 ;
   15522             :     int res1 = 0 ;
   15523             :     int argvi = 0;
   15524             :     char *result = 0 ;
   15525           0 :     dXSARGS;
   15526             :     
   15527           0 :     if ((items < 1) || (items > 1)) {
   15528           0 :       SWIG_croak("Usage: classObj_name_get(self);");
   15529             :     }
   15530           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 |  0 );
   15531           0 :     if (!SWIG_IsOK(res1)) {
   15532           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_name_get" "', argument " "1"" of type '" "struct classObj *""'"); 
   15533             :     }
   15534           0 :     arg1 = (struct classObj *)(argp1);
   15535           0 :     result = (char *) ((arg1)->name);
   15536           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   15537             :     
   15538           0 :     XSRETURN(argvi);
   15539           0 :   fail:
   15540             :     
   15541           0 :     SWIG_croak_null();
   15542             :   }
   15543             : }
   15544             : 
   15545             : 
   15546           0 : XS(_wrap_classObj_title_set) {
   15547             :   {
   15548             :     struct classObj *arg1 = (struct classObj *) 0 ;
   15549             :     char *arg2 = (char *) 0 ;
   15550           0 :     void *argp1 = 0 ;
   15551             :     int res1 = 0 ;
   15552             :     int res2 ;
   15553           0 :     char *buf2 = 0 ;
   15554           0 :     int alloc2 = 0 ;
   15555             :     int argvi = 0;
   15556           0 :     dXSARGS;
   15557             :     
   15558           0 :     if ((items < 2) || (items > 2)) {
   15559           0 :       SWIG_croak("Usage: classObj_title_set(self,title);");
   15560             :     }
   15561           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 |  0 );
   15562           0 :     if (!SWIG_IsOK(res1)) {
   15563           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_title_set" "', argument " "1"" of type '" "struct classObj *""'"); 
   15564             :     }
   15565           0 :     arg1 = (struct classObj *)(argp1);
   15566           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   15567           0 :     if (!SWIG_IsOK(res2)) {
   15568           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "classObj_title_set" "', argument " "2"" of type '" "char *""'");
   15569             :     }
   15570           0 :     arg2 = (char *)(buf2);
   15571             :     {
   15572           0 :       if (arg1->title) free((char*)arg1->title);
   15573           0 :       if (arg2) {
   15574           0 :         arg1->title = (char *) malloc(strlen(arg2)+1);
   15575             :         strcpy((char*)arg1->title,arg2);
   15576             :       } else {
   15577           0 :         arg1->title = 0;
   15578             :       }
   15579             :     }
   15580           0 :     ST(argvi) = sv_newmortal();
   15581             :     
   15582           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   15583           0 :     XSRETURN(argvi);
   15584           0 :   fail:
   15585             :     
   15586           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   15587           0 :     SWIG_croak_null();
   15588             :   }
   15589             : }
   15590             : 
   15591             : 
   15592           0 : XS(_wrap_classObj_title_get) {
   15593             :   {
   15594             :     struct classObj *arg1 = (struct classObj *) 0 ;
   15595           0 :     void *argp1 = 0 ;
   15596             :     int res1 = 0 ;
   15597             :     int argvi = 0;
   15598             :     char *result = 0 ;
   15599           0 :     dXSARGS;
   15600             :     
   15601           0 :     if ((items < 1) || (items > 1)) {
   15602           0 :       SWIG_croak("Usage: classObj_title_get(self);");
   15603             :     }
   15604           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 |  0 );
   15605           0 :     if (!SWIG_IsOK(res1)) {
   15606           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_title_get" "', argument " "1"" of type '" "struct classObj *""'"); 
   15607             :     }
   15608           0 :     arg1 = (struct classObj *)(argp1);
   15609           0 :     result = (char *) ((arg1)->title);
   15610           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   15611             :     
   15612           0 :     XSRETURN(argvi);
   15613           0 :   fail:
   15614             :     
   15615           0 :     SWIG_croak_null();
   15616             :   }
   15617             : }
   15618             : 
   15619             : 
   15620           0 : XS(_wrap_classObj_minscaledenom_set) {
   15621             :   {
   15622             :     struct classObj *arg1 = (struct classObj *) 0 ;
   15623             :     double arg2 ;
   15624           0 :     void *argp1 = 0 ;
   15625             :     int res1 = 0 ;
   15626             :     double val2 ;
   15627             :     int ecode2 = 0 ;
   15628             :     int argvi = 0;
   15629           0 :     dXSARGS;
   15630             :     
   15631           0 :     if ((items < 2) || (items > 2)) {
   15632           0 :       SWIG_croak("Usage: classObj_minscaledenom_set(self,minscaledenom);");
   15633             :     }
   15634           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 |  0 );
   15635           0 :     if (!SWIG_IsOK(res1)) {
   15636           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_minscaledenom_set" "', argument " "1"" of type '" "struct classObj *""'"); 
   15637             :     }
   15638           0 :     arg1 = (struct classObj *)(argp1);
   15639           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   15640           0 :     if (!SWIG_IsOK(ecode2)) {
   15641           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "classObj_minscaledenom_set" "', argument " "2"" of type '" "double""'");
   15642             :     } 
   15643           0 :     arg2 = (double)(val2);
   15644           0 :     if (arg1) (arg1)->minscaledenom = arg2;
   15645           0 :     ST(argvi) = sv_newmortal();
   15646             :     
   15647             :     
   15648           0 :     XSRETURN(argvi);
   15649           0 :   fail:
   15650             :     
   15651             :     
   15652           0 :     SWIG_croak_null();
   15653             :   }
   15654             : }
   15655             : 
   15656             : 
   15657           0 : XS(_wrap_classObj_minscaledenom_get) {
   15658             :   {
   15659             :     struct classObj *arg1 = (struct classObj *) 0 ;
   15660           0 :     void *argp1 = 0 ;
   15661             :     int res1 = 0 ;
   15662             :     int argvi = 0;
   15663             :     double result;
   15664           0 :     dXSARGS;
   15665             :     
   15666           0 :     if ((items < 1) || (items > 1)) {
   15667           0 :       SWIG_croak("Usage: classObj_minscaledenom_get(self);");
   15668             :     }
   15669           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 |  0 );
   15670           0 :     if (!SWIG_IsOK(res1)) {
   15671           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_minscaledenom_get" "', argument " "1"" of type '" "struct classObj *""'"); 
   15672             :     }
   15673           0 :     arg1 = (struct classObj *)(argp1);
   15674           0 :     result = (double) ((arg1)->minscaledenom);
   15675           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   15676             :     
   15677           0 :     XSRETURN(argvi);
   15678           0 :   fail:
   15679             :     
   15680           0 :     SWIG_croak_null();
   15681             :   }
   15682             : }
   15683             : 
   15684             : 
   15685           0 : XS(_wrap_classObj_maxscaledenom_set) {
   15686             :   {
   15687             :     struct classObj *arg1 = (struct classObj *) 0 ;
   15688             :     double arg2 ;
   15689           0 :     void *argp1 = 0 ;
   15690             :     int res1 = 0 ;
   15691             :     double val2 ;
   15692             :     int ecode2 = 0 ;
   15693             :     int argvi = 0;
   15694           0 :     dXSARGS;
   15695             :     
   15696           0 :     if ((items < 2) || (items > 2)) {
   15697           0 :       SWIG_croak("Usage: classObj_maxscaledenom_set(self,maxscaledenom);");
   15698             :     }
   15699           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 |  0 );
   15700           0 :     if (!SWIG_IsOK(res1)) {
   15701           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_maxscaledenom_set" "', argument " "1"" of type '" "struct classObj *""'"); 
   15702             :     }
   15703           0 :     arg1 = (struct classObj *)(argp1);
   15704           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   15705           0 :     if (!SWIG_IsOK(ecode2)) {
   15706           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "classObj_maxscaledenom_set" "', argument " "2"" of type '" "double""'");
   15707             :     } 
   15708           0 :     arg2 = (double)(val2);
   15709           0 :     if (arg1) (arg1)->maxscaledenom = arg2;
   15710           0 :     ST(argvi) = sv_newmortal();
   15711             :     
   15712             :     
   15713           0 :     XSRETURN(argvi);
   15714           0 :   fail:
   15715             :     
   15716             :     
   15717           0 :     SWIG_croak_null();
   15718             :   }
   15719             : }
   15720             : 
   15721             : 
   15722           0 : XS(_wrap_classObj_maxscaledenom_get) {
   15723             :   {
   15724             :     struct classObj *arg1 = (struct classObj *) 0 ;
   15725           0 :     void *argp1 = 0 ;
   15726             :     int res1 = 0 ;
   15727             :     int argvi = 0;
   15728             :     double result;
   15729           0 :     dXSARGS;
   15730             :     
   15731           0 :     if ((items < 1) || (items > 1)) {
   15732           0 :       SWIG_croak("Usage: classObj_maxscaledenom_get(self);");
   15733             :     }
   15734           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 |  0 );
   15735           0 :     if (!SWIG_IsOK(res1)) {
   15736           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_maxscaledenom_get" "', argument " "1"" of type '" "struct classObj *""'"); 
   15737             :     }
   15738           0 :     arg1 = (struct classObj *)(argp1);
   15739           0 :     result = (double) ((arg1)->maxscaledenom);
   15740           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   15741             :     
   15742           0 :     XSRETURN(argvi);
   15743           0 :   fail:
   15744             :     
   15745           0 :     SWIG_croak_null();
   15746             :   }
   15747             : }
   15748             : 
   15749             : 
   15750           0 : XS(_wrap_classObj_minfeaturesize_set) {
   15751             :   {
   15752             :     struct classObj *arg1 = (struct classObj *) 0 ;
   15753             :     int arg2 ;
   15754           0 :     void *argp1 = 0 ;
   15755             :     int res1 = 0 ;
   15756             :     int val2 ;
   15757             :     int ecode2 = 0 ;
   15758             :     int argvi = 0;
   15759           0 :     dXSARGS;
   15760             :     
   15761           0 :     if ((items < 2) || (items > 2)) {
   15762           0 :       SWIG_croak("Usage: classObj_minfeaturesize_set(self,minfeaturesize);");
   15763             :     }
   15764           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 |  0 );
   15765           0 :     if (!SWIG_IsOK(res1)) {
   15766           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_minfeaturesize_set" "', argument " "1"" of type '" "struct classObj *""'"); 
   15767             :     }
   15768           0 :     arg1 = (struct classObj *)(argp1);
   15769           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   15770           0 :     if (!SWIG_IsOK(ecode2)) {
   15771           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "classObj_minfeaturesize_set" "', argument " "2"" of type '" "int""'");
   15772             :     } 
   15773             :     arg2 = (int)(val2);
   15774           0 :     if (arg1) (arg1)->minfeaturesize = arg2;
   15775           0 :     ST(argvi) = sv_newmortal();
   15776             :     
   15777             :     
   15778           0 :     XSRETURN(argvi);
   15779           0 :   fail:
   15780             :     
   15781             :     
   15782           0 :     SWIG_croak_null();
   15783             :   }
   15784             : }
   15785             : 
   15786             : 
   15787           0 : XS(_wrap_classObj_minfeaturesize_get) {
   15788             :   {
   15789             :     struct classObj *arg1 = (struct classObj *) 0 ;
   15790           0 :     void *argp1 = 0 ;
   15791             :     int res1 = 0 ;
   15792             :     int argvi = 0;
   15793             :     int result;
   15794           0 :     dXSARGS;
   15795             :     
   15796           0 :     if ((items < 1) || (items > 1)) {
   15797           0 :       SWIG_croak("Usage: classObj_minfeaturesize_get(self);");
   15798             :     }
   15799           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 |  0 );
   15800           0 :     if (!SWIG_IsOK(res1)) {
   15801           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_minfeaturesize_get" "', argument " "1"" of type '" "struct classObj *""'"); 
   15802             :     }
   15803           0 :     arg1 = (struct classObj *)(argp1);
   15804           0 :     result = (int) ((arg1)->minfeaturesize);
   15805           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   15806             :     
   15807           0 :     XSRETURN(argvi);
   15808           0 :   fail:
   15809             :     
   15810           0 :     SWIG_croak_null();
   15811             :   }
   15812             : }
   15813             : 
   15814             : 
   15815           0 : XS(_wrap_classObj_debug_set) {
   15816             :   {
   15817             :     struct classObj *arg1 = (struct classObj *) 0 ;
   15818             :     int arg2 ;
   15819           0 :     void *argp1 = 0 ;
   15820             :     int res1 = 0 ;
   15821             :     int val2 ;
   15822             :     int ecode2 = 0 ;
   15823             :     int argvi = 0;
   15824           0 :     dXSARGS;
   15825             :     
   15826           0 :     if ((items < 2) || (items > 2)) {
   15827           0 :       SWIG_croak("Usage: classObj_debug_set(self,debug);");
   15828             :     }
   15829           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 |  0 );
   15830           0 :     if (!SWIG_IsOK(res1)) {
   15831           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_debug_set" "', argument " "1"" of type '" "struct classObj *""'"); 
   15832             :     }
   15833           0 :     arg1 = (struct classObj *)(argp1);
   15834           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   15835           0 :     if (!SWIG_IsOK(ecode2)) {
   15836           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "classObj_debug_set" "', argument " "2"" of type '" "int""'");
   15837             :     } 
   15838             :     arg2 = (int)(val2);
   15839           0 :     if (arg1) (arg1)->debug = arg2;
   15840           0 :     ST(argvi) = sv_newmortal();
   15841             :     
   15842             :     
   15843           0 :     XSRETURN(argvi);
   15844           0 :   fail:
   15845             :     
   15846             :     
   15847           0 :     SWIG_croak_null();
   15848             :   }
   15849             : }
   15850             : 
   15851             : 
   15852           0 : XS(_wrap_classObj_debug_get) {
   15853             :   {
   15854             :     struct classObj *arg1 = (struct classObj *) 0 ;
   15855           0 :     void *argp1 = 0 ;
   15856             :     int res1 = 0 ;
   15857             :     int argvi = 0;
   15858             :     int result;
   15859           0 :     dXSARGS;
   15860             :     
   15861           0 :     if ((items < 1) || (items > 1)) {
   15862           0 :       SWIG_croak("Usage: classObj_debug_get(self);");
   15863             :     }
   15864           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 |  0 );
   15865           0 :     if (!SWIG_IsOK(res1)) {
   15866           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_debug_get" "', argument " "1"" of type '" "struct classObj *""'"); 
   15867             :     }
   15868           0 :     arg1 = (struct classObj *)(argp1);
   15869           0 :     result = (int) ((arg1)->debug);
   15870           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   15871             :     
   15872           0 :     XSRETURN(argvi);
   15873           0 :   fail:
   15874             :     
   15875           0 :     SWIG_croak_null();
   15876             :   }
   15877             : }
   15878             : 
   15879             : 
   15880           0 : XS(_wrap_classObj_keyimage_set) {
   15881             :   {
   15882             :     struct classObj *arg1 = (struct classObj *) 0 ;
   15883             :     char *arg2 = (char *) 0 ;
   15884           0 :     void *argp1 = 0 ;
   15885             :     int res1 = 0 ;
   15886             :     int res2 ;
   15887           0 :     char *buf2 = 0 ;
   15888           0 :     int alloc2 = 0 ;
   15889             :     int argvi = 0;
   15890           0 :     dXSARGS;
   15891             :     
   15892           0 :     if ((items < 2) || (items > 2)) {
   15893           0 :       SWIG_croak("Usage: classObj_keyimage_set(self,keyimage);");
   15894             :     }
   15895           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 |  0 );
   15896           0 :     if (!SWIG_IsOK(res1)) {
   15897           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_keyimage_set" "', argument " "1"" of type '" "struct classObj *""'"); 
   15898             :     }
   15899           0 :     arg1 = (struct classObj *)(argp1);
   15900           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   15901           0 :     if (!SWIG_IsOK(res2)) {
   15902           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "classObj_keyimage_set" "', argument " "2"" of type '" "char *""'");
   15903             :     }
   15904           0 :     arg2 = (char *)(buf2);
   15905             :     {
   15906           0 :       if (arg1->keyimage) free((char*)arg1->keyimage);
   15907           0 :       if (arg2) {
   15908           0 :         arg1->keyimage = (char *) malloc(strlen(arg2)+1);
   15909             :         strcpy((char*)arg1->keyimage,arg2);
   15910             :       } else {
   15911           0 :         arg1->keyimage = 0;
   15912             :       }
   15913             :     }
   15914           0 :     ST(argvi) = sv_newmortal();
   15915             :     
   15916           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   15917           0 :     XSRETURN(argvi);
   15918           0 :   fail:
   15919             :     
   15920           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   15921           0 :     SWIG_croak_null();
   15922             :   }
   15923             : }
   15924             : 
   15925             : 
   15926           0 : XS(_wrap_classObj_keyimage_get) {
   15927             :   {
   15928             :     struct classObj *arg1 = (struct classObj *) 0 ;
   15929           0 :     void *argp1 = 0 ;
   15930             :     int res1 = 0 ;
   15931             :     int argvi = 0;
   15932             :     char *result = 0 ;
   15933           0 :     dXSARGS;
   15934             :     
   15935           0 :     if ((items < 1) || (items > 1)) {
   15936           0 :       SWIG_croak("Usage: classObj_keyimage_get(self);");
   15937             :     }
   15938           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 |  0 );
   15939           0 :     if (!SWIG_IsOK(res1)) {
   15940           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_keyimage_get" "', argument " "1"" of type '" "struct classObj *""'"); 
   15941             :     }
   15942           0 :     arg1 = (struct classObj *)(argp1);
   15943           0 :     result = (char *) ((arg1)->keyimage);
   15944           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   15945             :     
   15946           0 :     XSRETURN(argvi);
   15947           0 :   fail:
   15948             :     
   15949           0 :     SWIG_croak_null();
   15950             :   }
   15951             : }
   15952             : 
   15953             : 
   15954           0 : XS(_wrap_classObj_group_set) {
   15955             :   {
   15956             :     struct classObj *arg1 = (struct classObj *) 0 ;
   15957             :     char *arg2 = (char *) 0 ;
   15958           0 :     void *argp1 = 0 ;
   15959             :     int res1 = 0 ;
   15960             :     int res2 ;
   15961           0 :     char *buf2 = 0 ;
   15962           0 :     int alloc2 = 0 ;
   15963             :     int argvi = 0;
   15964           0 :     dXSARGS;
   15965             :     
   15966           0 :     if ((items < 2) || (items > 2)) {
   15967           0 :       SWIG_croak("Usage: classObj_group_set(self,group);");
   15968             :     }
   15969           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 |  0 );
   15970           0 :     if (!SWIG_IsOK(res1)) {
   15971           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_group_set" "', argument " "1"" of type '" "struct classObj *""'"); 
   15972             :     }
   15973           0 :     arg1 = (struct classObj *)(argp1);
   15974           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   15975           0 :     if (!SWIG_IsOK(res2)) {
   15976           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "classObj_group_set" "', argument " "2"" of type '" "char *""'");
   15977             :     }
   15978           0 :     arg2 = (char *)(buf2);
   15979             :     {
   15980           0 :       if (arg1->group) free((char*)arg1->group);
   15981           0 :       if (arg2) {
   15982           0 :         arg1->group = (char *) malloc(strlen(arg2)+1);
   15983             :         strcpy((char*)arg1->group,arg2);
   15984             :       } else {
   15985           0 :         arg1->group = 0;
   15986             :       }
   15987             :     }
   15988           0 :     ST(argvi) = sv_newmortal();
   15989             :     
   15990           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   15991           0 :     XSRETURN(argvi);
   15992           0 :   fail:
   15993             :     
   15994           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   15995           0 :     SWIG_croak_null();
   15996             :   }
   15997             : }
   15998             : 
   15999             : 
   16000           0 : XS(_wrap_classObj_group_get) {
   16001             :   {
   16002             :     struct classObj *arg1 = (struct classObj *) 0 ;
   16003           0 :     void *argp1 = 0 ;
   16004             :     int res1 = 0 ;
   16005             :     int argvi = 0;
   16006             :     char *result = 0 ;
   16007           0 :     dXSARGS;
   16008             :     
   16009           0 :     if ((items < 1) || (items > 1)) {
   16010           0 :       SWIG_croak("Usage: classObj_group_get(self);");
   16011             :     }
   16012           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 |  0 );
   16013           0 :     if (!SWIG_IsOK(res1)) {
   16014           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_group_get" "', argument " "1"" of type '" "struct classObj *""'"); 
   16015             :     }
   16016           0 :     arg1 = (struct classObj *)(argp1);
   16017           0 :     result = (char *) ((arg1)->group);
   16018           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   16019             :     
   16020           0 :     XSRETURN(argvi);
   16021           0 :   fail:
   16022             :     
   16023           0 :     SWIG_croak_null();
   16024             :   }
   16025             : }
   16026             : 
   16027             : 
   16028           0 : XS(_wrap_classObj_sizeunits_set) {
   16029             :   {
   16030             :     struct classObj *arg1 = (struct classObj *) 0 ;
   16031             :     int arg2 ;
   16032           0 :     void *argp1 = 0 ;
   16033             :     int res1 = 0 ;
   16034             :     int val2 ;
   16035             :     int ecode2 = 0 ;
   16036             :     int argvi = 0;
   16037           0 :     dXSARGS;
   16038             :     
   16039           0 :     if ((items < 2) || (items > 2)) {
   16040           0 :       SWIG_croak("Usage: classObj_sizeunits_set(self,sizeunits);");
   16041             :     }
   16042           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 |  0 );
   16043           0 :     if (!SWIG_IsOK(res1)) {
   16044           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_sizeunits_set" "', argument " "1"" of type '" "struct classObj *""'"); 
   16045             :     }
   16046           0 :     arg1 = (struct classObj *)(argp1);
   16047           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   16048           0 :     if (!SWIG_IsOK(ecode2)) {
   16049           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "classObj_sizeunits_set" "', argument " "2"" of type '" "int""'");
   16050             :     } 
   16051             :     arg2 = (int)(val2);
   16052           0 :     if (arg1) (arg1)->sizeunits = arg2;
   16053           0 :     ST(argvi) = sv_newmortal();
   16054             :     
   16055             :     
   16056           0 :     XSRETURN(argvi);
   16057           0 :   fail:
   16058             :     
   16059             :     
   16060           0 :     SWIG_croak_null();
   16061             :   }
   16062             : }
   16063             : 
   16064             : 
   16065           0 : XS(_wrap_classObj_sizeunits_get) {
   16066             :   {
   16067             :     struct classObj *arg1 = (struct classObj *) 0 ;
   16068           0 :     void *argp1 = 0 ;
   16069             :     int res1 = 0 ;
   16070             :     int argvi = 0;
   16071             :     int result;
   16072           0 :     dXSARGS;
   16073             :     
   16074           0 :     if ((items < 1) || (items > 1)) {
   16075           0 :       SWIG_croak("Usage: classObj_sizeunits_get(self);");
   16076             :     }
   16077           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 |  0 );
   16078           0 :     if (!SWIG_IsOK(res1)) {
   16079           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_sizeunits_get" "', argument " "1"" of type '" "struct classObj *""'"); 
   16080             :     }
   16081           0 :     arg1 = (struct classObj *)(argp1);
   16082           0 :     result = (int) ((arg1)->sizeunits);
   16083           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   16084             :     
   16085           0 :     XSRETURN(argvi);
   16086           0 :   fail:
   16087             :     
   16088           0 :     SWIG_croak_null();
   16089             :   }
   16090             : }
   16091             : 
   16092             : 
   16093           0 : XS(_wrap_classObj_template_set) {
   16094             :   {
   16095             :     struct classObj *arg1 = (struct classObj *) 0 ;
   16096             :     char *arg2 = (char *) 0 ;
   16097           0 :     void *argp1 = 0 ;
   16098             :     int res1 = 0 ;
   16099             :     int res2 ;
   16100           0 :     char *buf2 = 0 ;
   16101           0 :     int alloc2 = 0 ;
   16102             :     int argvi = 0;
   16103           0 :     dXSARGS;
   16104             :     
   16105           0 :     if ((items < 2) || (items > 2)) {
   16106           0 :       SWIG_croak("Usage: classObj_template_set(self,template);");
   16107             :     }
   16108           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 |  0 );
   16109           0 :     if (!SWIG_IsOK(res1)) {
   16110           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_template_set" "', argument " "1"" of type '" "struct classObj *""'"); 
   16111             :     }
   16112           0 :     arg1 = (struct classObj *)(argp1);
   16113           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   16114           0 :     if (!SWIG_IsOK(res2)) {
   16115           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "classObj_template_set" "', argument " "2"" of type '" "char *""'");
   16116             :     }
   16117           0 :     arg2 = (char *)(buf2);
   16118             :     {
   16119           0 :       if (arg1->template) free((char*)arg1->template);
   16120           0 :       if (arg2) {
   16121           0 :         arg1->template = (char *) malloc(strlen(arg2)+1);
   16122             :         strcpy((char*)arg1->template,arg2);
   16123             :       } else {
   16124           0 :         arg1->template = 0;
   16125             :       }
   16126             :     }
   16127           0 :     ST(argvi) = sv_newmortal();
   16128             :     
   16129           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   16130           0 :     XSRETURN(argvi);
   16131           0 :   fail:
   16132             :     
   16133           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   16134           0 :     SWIG_croak_null();
   16135             :   }
   16136             : }
   16137             : 
   16138             : 
   16139           0 : XS(_wrap_classObj_template_get) {
   16140             :   {
   16141             :     struct classObj *arg1 = (struct classObj *) 0 ;
   16142           0 :     void *argp1 = 0 ;
   16143             :     int res1 = 0 ;
   16144             :     int argvi = 0;
   16145             :     char *result = 0 ;
   16146           0 :     dXSARGS;
   16147             :     
   16148           0 :     if ((items < 1) || (items > 1)) {
   16149           0 :       SWIG_croak("Usage: classObj_template_get(self);");
   16150             :     }
   16151           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 |  0 );
   16152           0 :     if (!SWIG_IsOK(res1)) {
   16153           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_template_get" "', argument " "1"" of type '" "struct classObj *""'"); 
   16154             :     }
   16155           0 :     arg1 = (struct classObj *)(argp1);
   16156           0 :     result = (char *) ((arg1)->template);
   16157           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   16158             :     
   16159           0 :     XSRETURN(argvi);
   16160           0 :   fail:
   16161             :     
   16162           0 :     SWIG_croak_null();
   16163             :   }
   16164             : }
   16165             : 
   16166             : 
   16167           1 : XS(_wrap_new_classObj) {
   16168             :   {
   16169             :     layerObj *arg1 = (layerObj *) NULL ;
   16170           1 :     void *argp1 = 0 ;
   16171             :     int res1 = 0 ;
   16172             :     int argvi = 0;
   16173             :     struct classObj *result = 0 ;
   16174           1 :     dXSARGS;
   16175             :     
   16176           1 :     if ((items < 0) || (items > 1)) {
   16177           0 :       SWIG_croak("Usage: new_classObj(layer);");
   16178             :     }
   16179           1 :     if (items > 0) {
   16180           1 :       res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   16181           1 :       if (!SWIG_IsOK(res1)) {
   16182           0 :         SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_classObj" "', argument " "1"" of type '" "layerObj *""'"); 
   16183             :       }
   16184           1 :       arg1 = (layerObj *)(argp1);
   16185             :     }
   16186           1 :     result = (struct classObj *)new_classObj(arg1);
   16187           1 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_classObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   16188             :     
   16189           1 :     XSRETURN(argvi);
   16190           0 :   fail:
   16191             :     
   16192           0 :     SWIG_croak_null();
   16193             :   }
   16194             : }
   16195             : 
   16196             : 
   16197           1 : XS(_wrap_delete_classObj) {
   16198             :   {
   16199             :     struct classObj *arg1 = (struct classObj *) 0 ;
   16200           1 :     void *argp1 = 0 ;
   16201             :     int res1 = 0 ;
   16202             :     int argvi = 0;
   16203           1 :     dXSARGS;
   16204             :     
   16205           1 :     if ((items < 1) || (items > 1)) {
   16206           0 :       SWIG_croak("Usage: delete_classObj(self);");
   16207             :     }
   16208           1 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, SWIG_POINTER_DISOWN |  0 );
   16209           1 :     if (!SWIG_IsOK(res1)) {
   16210           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_classObj" "', argument " "1"" of type '" "struct classObj *""'"); 
   16211             :     }
   16212           1 :     arg1 = (struct classObj *)(argp1);
   16213           1 :     delete_classObj(arg1);
   16214           1 :     ST(argvi) = sv_newmortal();
   16215             :     
   16216           1 :     XSRETURN(argvi);
   16217           0 :   fail:
   16218             :     
   16219           0 :     SWIG_croak_null();
   16220             :   }
   16221             : }
   16222             : 
   16223             : 
   16224           0 : XS(_wrap_classObj_updateFromString) {
   16225             :   {
   16226             :     struct classObj *arg1 = (struct classObj *) 0 ;
   16227             :     char *arg2 = (char *) 0 ;
   16228           0 :     void *argp1 = 0 ;
   16229             :     int res1 = 0 ;
   16230             :     int res2 ;
   16231           0 :     char *buf2 = 0 ;
   16232           0 :     int alloc2 = 0 ;
   16233             :     int argvi = 0;
   16234             :     int result;
   16235           0 :     dXSARGS;
   16236             :     
   16237           0 :     if ((items < 2) || (items > 2)) {
   16238           0 :       SWIG_croak("Usage: classObj_updateFromString(self,snippet);");
   16239             :     }
   16240           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 |  0 );
   16241           0 :     if (!SWIG_IsOK(res1)) {
   16242           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_updateFromString" "', argument " "1"" of type '" "struct classObj *""'"); 
   16243             :     }
   16244           0 :     arg1 = (struct classObj *)(argp1);
   16245           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   16246           0 :     if (!SWIG_IsOK(res2)) {
   16247           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "classObj_updateFromString" "', argument " "2"" of type '" "char *""'");
   16248             :     }
   16249           0 :     arg2 = (char *)(buf2);
   16250             :     result = (int)classObj_updateFromString(arg1,arg2);
   16251           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   16252             :     
   16253           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   16254           0 :     XSRETURN(argvi);
   16255           0 :   fail:
   16256             :     
   16257           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   16258           0 :     SWIG_croak_null();
   16259             :   }
   16260             : }
   16261             : 
   16262             : 
   16263           0 : XS(_wrap_classObj_convertToString) {
   16264             :   {
   16265             :     struct classObj *arg1 = (struct classObj *) 0 ;
   16266           0 :     void *argp1 = 0 ;
   16267             :     int res1 = 0 ;
   16268             :     int argvi = 0;
   16269             :     char *result = 0 ;
   16270           0 :     dXSARGS;
   16271             :     
   16272           0 :     if ((items < 1) || (items > 1)) {
   16273           0 :       SWIG_croak("Usage: classObj_convertToString(self);");
   16274             :     }
   16275           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 |  0 );
   16276           0 :     if (!SWIG_IsOK(res1)) {
   16277           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_convertToString" "', argument " "1"" of type '" "struct classObj *""'"); 
   16278             :     }
   16279           0 :     arg1 = (struct classObj *)(argp1);
   16280             :     result = (char *)classObj_convertToString(arg1);
   16281           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   16282             :     
   16283           0 :     free((char*)result);
   16284           0 :     XSRETURN(argvi);
   16285           0 :   fail:
   16286             :     
   16287           0 :     SWIG_croak_null();
   16288             :   }
   16289             : }
   16290             : 
   16291             : 
   16292           0 : XS(_wrap_classObj_clone) {
   16293             :   {
   16294             :     struct classObj *arg1 = (struct classObj *) 0 ;
   16295           0 :     void *argp1 = 0 ;
   16296             :     int res1 = 0 ;
   16297             :     int argvi = 0;
   16298             :     classObj *result = 0 ;
   16299           0 :     dXSARGS;
   16300             :     
   16301           0 :     if ((items < 1) || (items > 1)) {
   16302           0 :       SWIG_croak("Usage: classObj_clone(self);");
   16303             :     }
   16304           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 |  0 );
   16305           0 :     if (!SWIG_IsOK(res1)) {
   16306           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_clone" "', argument " "1"" of type '" "struct classObj *""'"); 
   16307             :     }
   16308           0 :     arg1 = (struct classObj *)(argp1);
   16309           0 :     result = (classObj *)classObj_clone(arg1);
   16310           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_classObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   16311             :     
   16312           0 :     XSRETURN(argvi);
   16313           0 :   fail:
   16314             :     
   16315           0 :     SWIG_croak_null();
   16316             :   }
   16317             : }
   16318             : 
   16319             : 
   16320           0 : XS(_wrap_classObj_setExpression) {
   16321             :   {
   16322             :     struct classObj *arg1 = (struct classObj *) 0 ;
   16323             :     char *arg2 = (char *) 0 ;
   16324           0 :     void *argp1 = 0 ;
   16325             :     int res1 = 0 ;
   16326             :     int res2 ;
   16327           0 :     char *buf2 = 0 ;
   16328           0 :     int alloc2 = 0 ;
   16329             :     int argvi = 0;
   16330             :     int result;
   16331           0 :     dXSARGS;
   16332             :     
   16333           0 :     if ((items < 2) || (items > 2)) {
   16334           0 :       SWIG_croak("Usage: classObj_setExpression(self,expression);");
   16335             :     }
   16336           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 |  0 );
   16337           0 :     if (!SWIG_IsOK(res1)) {
   16338           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_setExpression" "', argument " "1"" of type '" "struct classObj *""'"); 
   16339             :     }
   16340           0 :     arg1 = (struct classObj *)(argp1);
   16341           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   16342           0 :     if (!SWIG_IsOK(res2)) {
   16343           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "classObj_setExpression" "', argument " "2"" of type '" "char *""'");
   16344             :     }
   16345           0 :     arg2 = (char *)(buf2);
   16346           0 :     result = (int)classObj_setExpression(arg1,arg2);
   16347           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   16348             :     
   16349           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   16350           0 :     XSRETURN(argvi);
   16351           0 :   fail:
   16352             :     
   16353           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   16354           0 :     SWIG_croak_null();
   16355             :   }
   16356             : }
   16357             : 
   16358             : 
   16359           0 : XS(_wrap_classObj_getExpressionString) {
   16360             :   {
   16361             :     struct classObj *arg1 = (struct classObj *) 0 ;
   16362           0 :     void *argp1 = 0 ;
   16363             :     int res1 = 0 ;
   16364             :     int argvi = 0;
   16365             :     char *result = 0 ;
   16366           0 :     dXSARGS;
   16367             :     
   16368           0 :     if ((items < 1) || (items > 1)) {
   16369           0 :       SWIG_croak("Usage: classObj_getExpressionString(self);");
   16370             :     }
   16371           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 |  0 );
   16372           0 :     if (!SWIG_IsOK(res1)) {
   16373           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_getExpressionString" "', argument " "1"" of type '" "struct classObj *""'"); 
   16374             :     }
   16375           0 :     arg1 = (struct classObj *)(argp1);
   16376             :     result = (char *)classObj_getExpressionString(arg1);
   16377           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   16378             :     
   16379           0 :     free((char*)result);
   16380           0 :     XSRETURN(argvi);
   16381           0 :   fail:
   16382             :     
   16383           0 :     SWIG_croak_null();
   16384             :   }
   16385             : }
   16386             : 
   16387             : 
   16388           0 : XS(_wrap_classObj_setText) {
   16389             :   {
   16390             :     struct classObj *arg1 = (struct classObj *) 0 ;
   16391             :     char *arg2 = (char *) 0 ;
   16392           0 :     void *argp1 = 0 ;
   16393             :     int res1 = 0 ;
   16394             :     int res2 ;
   16395           0 :     char *buf2 = 0 ;
   16396           0 :     int alloc2 = 0 ;
   16397             :     int argvi = 0;
   16398             :     int result;
   16399           0 :     dXSARGS;
   16400             :     
   16401           0 :     if ((items < 2) || (items > 2)) {
   16402           0 :       SWIG_croak("Usage: classObj_setText(self,text);");
   16403             :     }
   16404           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 |  0 );
   16405           0 :     if (!SWIG_IsOK(res1)) {
   16406           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_setText" "', argument " "1"" of type '" "struct classObj *""'"); 
   16407             :     }
   16408           0 :     arg1 = (struct classObj *)(argp1);
   16409           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   16410           0 :     if (!SWIG_IsOK(res2)) {
   16411           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "classObj_setText" "', argument " "2"" of type '" "char *""'");
   16412             :     }
   16413           0 :     arg2 = (char *)(buf2);
   16414           0 :     result = (int)classObj_setText(arg1,arg2);
   16415           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   16416             :     
   16417           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   16418           0 :     XSRETURN(argvi);
   16419           0 :   fail:
   16420             :     
   16421           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   16422           0 :     SWIG_croak_null();
   16423             :   }
   16424             : }
   16425             : 
   16426             : 
   16427           0 : XS(_wrap_classObj_getTextString) {
   16428             :   {
   16429             :     struct classObj *arg1 = (struct classObj *) 0 ;
   16430           0 :     void *argp1 = 0 ;
   16431             :     int res1 = 0 ;
   16432             :     int argvi = 0;
   16433             :     char *result = 0 ;
   16434           0 :     dXSARGS;
   16435             :     
   16436           0 :     if ((items < 1) || (items > 1)) {
   16437           0 :       SWIG_croak("Usage: classObj_getTextString(self);");
   16438             :     }
   16439           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 |  0 );
   16440           0 :     if (!SWIG_IsOK(res1)) {
   16441           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_getTextString" "', argument " "1"" of type '" "struct classObj *""'"); 
   16442             :     }
   16443           0 :     arg1 = (struct classObj *)(argp1);
   16444             :     result = (char *)classObj_getTextString(arg1);
   16445           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   16446             :     
   16447           0 :     free((char*)result);
   16448           0 :     XSRETURN(argvi);
   16449           0 :   fail:
   16450             :     
   16451           0 :     SWIG_croak_null();
   16452             :   }
   16453             : }
   16454             : 
   16455             : 
   16456           0 : XS(_wrap_classObj_getMetaData) {
   16457             :   {
   16458             :     struct classObj *arg1 = (struct classObj *) 0 ;
   16459             :     char *arg2 = (char *) 0 ;
   16460           0 :     void *argp1 = 0 ;
   16461             :     int res1 = 0 ;
   16462             :     int res2 ;
   16463           0 :     char *buf2 = 0 ;
   16464           0 :     int alloc2 = 0 ;
   16465             :     int argvi = 0;
   16466             :     char *result = 0 ;
   16467           0 :     dXSARGS;
   16468             :     
   16469           0 :     if ((items < 2) || (items > 2)) {
   16470           0 :       SWIG_croak("Usage: classObj_getMetaData(self,name);");
   16471             :     }
   16472           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 |  0 );
   16473           0 :     if (!SWIG_IsOK(res1)) {
   16474           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_getMetaData" "', argument " "1"" of type '" "struct classObj *""'"); 
   16475             :     }
   16476           0 :     arg1 = (struct classObj *)(argp1);
   16477           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   16478           0 :     if (!SWIG_IsOK(res2)) {
   16479           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "classObj_getMetaData" "', argument " "2"" of type '" "char *""'");
   16480             :     }
   16481           0 :     arg2 = (char *)(buf2);
   16482           0 :     result = (char *)classObj_getMetaData(arg1,arg2);
   16483           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   16484             :     
   16485           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   16486           0 :     XSRETURN(argvi);
   16487           0 :   fail:
   16488             :     
   16489           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   16490           0 :     SWIG_croak_null();
   16491             :   }
   16492             : }
   16493             : 
   16494             : 
   16495           0 : XS(_wrap_classObj_setMetaData) {
   16496             :   {
   16497             :     struct classObj *arg1 = (struct classObj *) 0 ;
   16498             :     char *arg2 = (char *) 0 ;
   16499             :     char *arg3 = (char *) 0 ;
   16500           0 :     void *argp1 = 0 ;
   16501             :     int res1 = 0 ;
   16502             :     int res2 ;
   16503           0 :     char *buf2 = 0 ;
   16504           0 :     int alloc2 = 0 ;
   16505             :     int res3 ;
   16506           0 :     char *buf3 = 0 ;
   16507           0 :     int alloc3 = 0 ;
   16508             :     int argvi = 0;
   16509             :     int result;
   16510           0 :     dXSARGS;
   16511             :     
   16512           0 :     if ((items < 3) || (items > 3)) {
   16513           0 :       SWIG_croak("Usage: classObj_setMetaData(self,name,value);");
   16514             :     }
   16515           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 |  0 );
   16516           0 :     if (!SWIG_IsOK(res1)) {
   16517           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_setMetaData" "', argument " "1"" of type '" "struct classObj *""'"); 
   16518             :     }
   16519           0 :     arg1 = (struct classObj *)(argp1);
   16520           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   16521           0 :     if (!SWIG_IsOK(res2)) {
   16522           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "classObj_setMetaData" "', argument " "2"" of type '" "char *""'");
   16523             :     }
   16524           0 :     arg2 = (char *)(buf2);
   16525           0 :     res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
   16526           0 :     if (!SWIG_IsOK(res3)) {
   16527           0 :       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "classObj_setMetaData" "', argument " "3"" of type '" "char *""'");
   16528             :     }
   16529           0 :     arg3 = (char *)(buf3);
   16530             :     result = (int)classObj_setMetaData(arg1,arg2,arg3);
   16531           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   16532             :     
   16533           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   16534           0 :     if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
   16535           0 :     XSRETURN(argvi);
   16536           0 :   fail:
   16537             :     
   16538           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   16539           0 :     if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
   16540           0 :     SWIG_croak_null();
   16541             :   }
   16542             : }
   16543             : 
   16544             : 
   16545           0 : XS(_wrap_classObj_getFirstMetaDataKey) {
   16546             :   {
   16547             :     struct classObj *arg1 = (struct classObj *) 0 ;
   16548           0 :     void *argp1 = 0 ;
   16549             :     int res1 = 0 ;
   16550             :     int argvi = 0;
   16551             :     char *result = 0 ;
   16552           0 :     dXSARGS;
   16553             :     
   16554           0 :     if ((items < 1) || (items > 1)) {
   16555           0 :       SWIG_croak("Usage: classObj_getFirstMetaDataKey(self);");
   16556             :     }
   16557           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 |  0 );
   16558           0 :     if (!SWIG_IsOK(res1)) {
   16559           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_getFirstMetaDataKey" "', argument " "1"" of type '" "struct classObj *""'"); 
   16560             :     }
   16561           0 :     arg1 = (struct classObj *)(argp1);
   16562             :     result = (char *)classObj_getFirstMetaDataKey(arg1);
   16563           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   16564             :     
   16565           0 :     XSRETURN(argvi);
   16566           0 :   fail:
   16567             :     
   16568           0 :     SWIG_croak_null();
   16569             :   }
   16570             : }
   16571             : 
   16572             : 
   16573           0 : XS(_wrap_classObj_getNextMetaDataKey) {
   16574             :   {
   16575             :     struct classObj *arg1 = (struct classObj *) 0 ;
   16576             :     char *arg2 = (char *) 0 ;
   16577           0 :     void *argp1 = 0 ;
   16578             :     int res1 = 0 ;
   16579             :     int res2 ;
   16580           0 :     char *buf2 = 0 ;
   16581           0 :     int alloc2 = 0 ;
   16582             :     int argvi = 0;
   16583             :     char *result = 0 ;
   16584           0 :     dXSARGS;
   16585             :     
   16586           0 :     if ((items < 2) || (items > 2)) {
   16587           0 :       SWIG_croak("Usage: classObj_getNextMetaDataKey(self,lastkey);");
   16588             :     }
   16589           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 |  0 );
   16590           0 :     if (!SWIG_IsOK(res1)) {
   16591           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_getNextMetaDataKey" "', argument " "1"" of type '" "struct classObj *""'"); 
   16592             :     }
   16593           0 :     arg1 = (struct classObj *)(argp1);
   16594           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   16595           0 :     if (!SWIG_IsOK(res2)) {
   16596           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "classObj_getNextMetaDataKey" "', argument " "2"" of type '" "char *""'");
   16597             :     }
   16598           0 :     arg2 = (char *)(buf2);
   16599             :     result = (char *)classObj_getNextMetaDataKey(arg1,arg2);
   16600           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   16601             :     
   16602           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   16603           0 :     XSRETURN(argvi);
   16604           0 :   fail:
   16605             :     
   16606           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   16607           0 :     SWIG_croak_null();
   16608             :   }
   16609             : }
   16610             : 
   16611             : 
   16612           0 : XS(_wrap_classObj_drawLegendIcon) {
   16613             :   {
   16614             :     struct classObj *arg1 = (struct classObj *) 0 ;
   16615             :     mapObj *arg2 = (mapObj *) 0 ;
   16616             :     layerObj *arg3 = (layerObj *) 0 ;
   16617             :     int arg4 ;
   16618             :     int arg5 ;
   16619             :     imageObj *arg6 = (imageObj *) 0 ;
   16620             :     int arg7 ;
   16621             :     int arg8 ;
   16622           0 :     void *argp1 = 0 ;
   16623             :     int res1 = 0 ;
   16624           0 :     void *argp2 = 0 ;
   16625             :     int res2 = 0 ;
   16626           0 :     void *argp3 = 0 ;
   16627             :     int res3 = 0 ;
   16628             :     int val4 ;
   16629             :     int ecode4 = 0 ;
   16630             :     int val5 ;
   16631             :     int ecode5 = 0 ;
   16632           0 :     void *argp6 = 0 ;
   16633             :     int res6 = 0 ;
   16634             :     int val7 ;
   16635             :     int ecode7 = 0 ;
   16636             :     int val8 ;
   16637             :     int ecode8 = 0 ;
   16638             :     int argvi = 0;
   16639             :     int result;
   16640           0 :     dXSARGS;
   16641             :     
   16642           0 :     if ((items < 8) || (items > 8)) {
   16643           0 :       SWIG_croak("Usage: classObj_drawLegendIcon(self,map,layer,width,height,dstImage,dstX,dstY);");
   16644             :     }
   16645           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 |  0 );
   16646           0 :     if (!SWIG_IsOK(res1)) {
   16647           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_drawLegendIcon" "', argument " "1"" of type '" "struct classObj *""'"); 
   16648             :     }
   16649           0 :     arg1 = (struct classObj *)(argp1);
   16650           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_mapObj, 0 |  0 );
   16651           0 :     if (!SWIG_IsOK(res2)) {
   16652           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "classObj_drawLegendIcon" "', argument " "2"" of type '" "mapObj *""'"); 
   16653             :     }
   16654           0 :     arg2 = (mapObj *)(argp2);
   16655           0 :     res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_layerObj, 0 |  0 );
   16656           0 :     if (!SWIG_IsOK(res3)) {
   16657           0 :       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "classObj_drawLegendIcon" "', argument " "3"" of type '" "layerObj *""'"); 
   16658             :     }
   16659           0 :     arg3 = (layerObj *)(argp3);
   16660           0 :     ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
   16661           0 :     if (!SWIG_IsOK(ecode4)) {
   16662           0 :       SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "classObj_drawLegendIcon" "', argument " "4"" of type '" "int""'");
   16663             :     } 
   16664             :     arg4 = (int)(val4);
   16665           0 :     ecode5 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
   16666           0 :     if (!SWIG_IsOK(ecode5)) {
   16667           0 :       SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "classObj_drawLegendIcon" "', argument " "5"" of type '" "int""'");
   16668             :     } 
   16669             :     arg5 = (int)(val5);
   16670           0 :     res6 = SWIG_ConvertPtr(ST(5), &argp6,SWIGTYPE_p_imageObj, 0 |  0 );
   16671           0 :     if (!SWIG_IsOK(res6)) {
   16672           0 :       SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "classObj_drawLegendIcon" "', argument " "6"" of type '" "imageObj *""'"); 
   16673             :     }
   16674           0 :     arg6 = (imageObj *)(argp6);
   16675           0 :     ecode7 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(6), &val7);
   16676           0 :     if (!SWIG_IsOK(ecode7)) {
   16677           0 :       SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "classObj_drawLegendIcon" "', argument " "7"" of type '" "int""'");
   16678             :     } 
   16679             :     arg7 = (int)(val7);
   16680           0 :     ecode8 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(7), &val8);
   16681           0 :     if (!SWIG_IsOK(ecode8)) {
   16682           0 :       SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "classObj_drawLegendIcon" "', argument " "8"" of type '" "int""'");
   16683             :     } 
   16684             :     arg8 = (int)(val8);
   16685           0 :     result = (int)classObj_drawLegendIcon(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8);
   16686           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   16687             :     
   16688             :     
   16689             :     
   16690             :     
   16691             :     
   16692             :     
   16693             :     
   16694             :     
   16695           0 :     XSRETURN(argvi);
   16696           0 :   fail:
   16697             :     
   16698             :     
   16699             :     
   16700             :     
   16701             :     
   16702             :     
   16703             :     
   16704             :     
   16705           0 :     SWIG_croak_null();
   16706             :   }
   16707             : }
   16708             : 
   16709             : 
   16710           0 : XS(_wrap_classObj_createLegendIcon) {
   16711             :   {
   16712             :     struct classObj *arg1 = (struct classObj *) 0 ;
   16713             :     mapObj *arg2 = (mapObj *) 0 ;
   16714             :     layerObj *arg3 = (layerObj *) 0 ;
   16715             :     int arg4 ;
   16716             :     int arg5 ;
   16717           0 :     void *argp1 = 0 ;
   16718             :     int res1 = 0 ;
   16719           0 :     void *argp2 = 0 ;
   16720             :     int res2 = 0 ;
   16721           0 :     void *argp3 = 0 ;
   16722             :     int res3 = 0 ;
   16723             :     int val4 ;
   16724             :     int ecode4 = 0 ;
   16725             :     int val5 ;
   16726             :     int ecode5 = 0 ;
   16727             :     int argvi = 0;
   16728             :     imageObj *result = 0 ;
   16729           0 :     dXSARGS;
   16730             :     
   16731           0 :     if ((items < 5) || (items > 5)) {
   16732           0 :       SWIG_croak("Usage: classObj_createLegendIcon(self,map,layer,width,height);");
   16733             :     }
   16734           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 |  0 );
   16735           0 :     if (!SWIG_IsOK(res1)) {
   16736           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_createLegendIcon" "', argument " "1"" of type '" "struct classObj *""'"); 
   16737             :     }
   16738           0 :     arg1 = (struct classObj *)(argp1);
   16739           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_mapObj, 0 |  0 );
   16740           0 :     if (!SWIG_IsOK(res2)) {
   16741           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "classObj_createLegendIcon" "', argument " "2"" of type '" "mapObj *""'"); 
   16742             :     }
   16743           0 :     arg2 = (mapObj *)(argp2);
   16744           0 :     res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_layerObj, 0 |  0 );
   16745           0 :     if (!SWIG_IsOK(res3)) {
   16746           0 :       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "classObj_createLegendIcon" "', argument " "3"" of type '" "layerObj *""'"); 
   16747             :     }
   16748           0 :     arg3 = (layerObj *)(argp3);
   16749           0 :     ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
   16750           0 :     if (!SWIG_IsOK(ecode4)) {
   16751           0 :       SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "classObj_createLegendIcon" "', argument " "4"" of type '" "int""'");
   16752             :     } 
   16753             :     arg4 = (int)(val4);
   16754           0 :     ecode5 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
   16755           0 :     if (!SWIG_IsOK(ecode5)) {
   16756           0 :       SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "classObj_createLegendIcon" "', argument " "5"" of type '" "int""'");
   16757             :     } 
   16758             :     arg5 = (int)(val5);
   16759             :     result = (imageObj *)classObj_createLegendIcon(arg1,arg2,arg3,arg4,arg5);
   16760           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_imageObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   16761             :     
   16762             :     
   16763             :     
   16764             :     
   16765             :     
   16766           0 :     XSRETURN(argvi);
   16767           0 :   fail:
   16768             :     
   16769             :     
   16770             :     
   16771             :     
   16772             :     
   16773           0 :     SWIG_croak_null();
   16774             :   }
   16775             : }
   16776             : 
   16777             : 
   16778           0 : XS(_wrap_classObj_getLabel) {
   16779             :   {
   16780             :     struct classObj *arg1 = (struct classObj *) 0 ;
   16781             :     int arg2 ;
   16782           0 :     void *argp1 = 0 ;
   16783             :     int res1 = 0 ;
   16784             :     int val2 ;
   16785             :     int ecode2 = 0 ;
   16786             :     int argvi = 0;
   16787             :     labelObj *result = 0 ;
   16788           0 :     dXSARGS;
   16789             :     
   16790           0 :     if ((items < 2) || (items > 2)) {
   16791           0 :       SWIG_croak("Usage: classObj_getLabel(self,i);");
   16792             :     }
   16793           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 |  0 );
   16794           0 :     if (!SWIG_IsOK(res1)) {
   16795           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_getLabel" "', argument " "1"" of type '" "struct classObj *""'"); 
   16796             :     }
   16797           0 :     arg1 = (struct classObj *)(argp1);
   16798           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   16799           0 :     if (!SWIG_IsOK(ecode2)) {
   16800           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "classObj_getLabel" "', argument " "2"" of type '" "int""'");
   16801             :     } 
   16802             :     arg2 = (int)(val2);
   16803           0 :     result = (labelObj *)classObj_getLabel(arg1,arg2);
   16804           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_labelObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   16805             :     
   16806             :     
   16807           0 :     XSRETURN(argvi);
   16808           0 :   fail:
   16809             :     
   16810             :     
   16811           0 :     SWIG_croak_null();
   16812             :   }
   16813             : }
   16814             : 
   16815             : 
   16816           0 : XS(_wrap_classObj_addLabel) {
   16817             :   {
   16818             :     struct classObj *arg1 = (struct classObj *) 0 ;
   16819             :     labelObj *arg2 = (labelObj *) 0 ;
   16820           0 :     void *argp1 = 0 ;
   16821             :     int res1 = 0 ;
   16822           0 :     void *argp2 = 0 ;
   16823             :     int res2 = 0 ;
   16824             :     int argvi = 0;
   16825             :     int result;
   16826           0 :     dXSARGS;
   16827             :     
   16828           0 :     if ((items < 2) || (items > 2)) {
   16829           0 :       SWIG_croak("Usage: classObj_addLabel(self,label);");
   16830             :     }
   16831           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 |  0 );
   16832           0 :     if (!SWIG_IsOK(res1)) {
   16833           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_addLabel" "', argument " "1"" of type '" "struct classObj *""'"); 
   16834             :     }
   16835           0 :     arg1 = (struct classObj *)(argp1);
   16836           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_labelObj, 0 |  0 );
   16837           0 :     if (!SWIG_IsOK(res2)) {
   16838           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "classObj_addLabel" "', argument " "2"" of type '" "labelObj *""'"); 
   16839             :     }
   16840           0 :     arg2 = (labelObj *)(argp2);
   16841             :     result = (int)classObj_addLabel(arg1,arg2);
   16842           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   16843             :     
   16844             :     
   16845           0 :     XSRETURN(argvi);
   16846           0 :   fail:
   16847             :     
   16848             :     
   16849           0 :     SWIG_croak_null();
   16850             :   }
   16851             : }
   16852             : 
   16853             : 
   16854           0 : XS(_wrap_classObj_removeLabel) {
   16855             :   {
   16856             :     struct classObj *arg1 = (struct classObj *) 0 ;
   16857             :     int arg2 ;
   16858           0 :     void *argp1 = 0 ;
   16859             :     int res1 = 0 ;
   16860             :     int val2 ;
   16861             :     int ecode2 = 0 ;
   16862             :     int argvi = 0;
   16863             :     labelObj *result = 0 ;
   16864           0 :     dXSARGS;
   16865             :     
   16866           0 :     if ((items < 2) || (items > 2)) {
   16867           0 :       SWIG_croak("Usage: classObj_removeLabel(self,index);");
   16868             :     }
   16869           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 |  0 );
   16870           0 :     if (!SWIG_IsOK(res1)) {
   16871           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_removeLabel" "', argument " "1"" of type '" "struct classObj *""'"); 
   16872             :     }
   16873           0 :     arg1 = (struct classObj *)(argp1);
   16874           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   16875           0 :     if (!SWIG_IsOK(ecode2)) {
   16876           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "classObj_removeLabel" "', argument " "2"" of type '" "int""'");
   16877             :     } 
   16878             :     arg2 = (int)(val2);
   16879           0 :     result = (labelObj *)classObj_removeLabel(arg1,arg2);
   16880           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_labelObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   16881             :     
   16882             :     
   16883           0 :     XSRETURN(argvi);
   16884           0 :   fail:
   16885             :     
   16886             :     
   16887           0 :     SWIG_croak_null();
   16888             :   }
   16889             : }
   16890             : 
   16891             : 
   16892           0 : XS(_wrap_classObj_getStyle) {
   16893             :   {
   16894             :     struct classObj *arg1 = (struct classObj *) 0 ;
   16895             :     int arg2 ;
   16896           0 :     void *argp1 = 0 ;
   16897             :     int res1 = 0 ;
   16898             :     int val2 ;
   16899             :     int ecode2 = 0 ;
   16900             :     int argvi = 0;
   16901             :     styleObj *result = 0 ;
   16902           0 :     dXSARGS;
   16903             :     
   16904           0 :     if ((items < 2) || (items > 2)) {
   16905           0 :       SWIG_croak("Usage: classObj_getStyle(self,i);");
   16906             :     }
   16907           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 |  0 );
   16908           0 :     if (!SWIG_IsOK(res1)) {
   16909           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_getStyle" "', argument " "1"" of type '" "struct classObj *""'"); 
   16910             :     }
   16911           0 :     arg1 = (struct classObj *)(argp1);
   16912           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   16913           0 :     if (!SWIG_IsOK(ecode2)) {
   16914           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "classObj_getStyle" "', argument " "2"" of type '" "int""'");
   16915             :     } 
   16916             :     arg2 = (int)(val2);
   16917           0 :     result = (styleObj *)classObj_getStyle(arg1,arg2);
   16918           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_styleObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   16919             :     
   16920             :     
   16921           0 :     XSRETURN(argvi);
   16922           0 :   fail:
   16923             :     
   16924             :     
   16925           0 :     SWIG_croak_null();
   16926             :   }
   16927             : }
   16928             : 
   16929             : 
   16930           0 : XS(_wrap_classObj_insertStyle) {
   16931             :   {
   16932             :     struct classObj *arg1 = (struct classObj *) 0 ;
   16933             :     styleObj *arg2 = (styleObj *) 0 ;
   16934             :     int arg3 = (int) -1 ;
   16935           0 :     void *argp1 = 0 ;
   16936             :     int res1 = 0 ;
   16937           0 :     void *argp2 = 0 ;
   16938             :     int res2 = 0 ;
   16939             :     int val3 ;
   16940             :     int ecode3 = 0 ;
   16941             :     int argvi = 0;
   16942             :     int result;
   16943           0 :     dXSARGS;
   16944             :     
   16945           0 :     if ((items < 2) || (items > 3)) {
   16946           0 :       SWIG_croak("Usage: classObj_insertStyle(self,style,index);");
   16947             :     }
   16948           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 |  0 );
   16949           0 :     if (!SWIG_IsOK(res1)) {
   16950           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_insertStyle" "', argument " "1"" of type '" "struct classObj *""'"); 
   16951             :     }
   16952           0 :     arg1 = (struct classObj *)(argp1);
   16953           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_styleObj, 0 |  0 );
   16954           0 :     if (!SWIG_IsOK(res2)) {
   16955           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "classObj_insertStyle" "', argument " "2"" of type '" "styleObj *""'"); 
   16956             :     }
   16957           0 :     arg2 = (styleObj *)(argp2);
   16958           0 :     if (items > 2) {
   16959           0 :       ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
   16960           0 :       if (!SWIG_IsOK(ecode3)) {
   16961           0 :         SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "classObj_insertStyle" "', argument " "3"" of type '" "int""'");
   16962             :       } 
   16963             :       arg3 = (int)(val3);
   16964             :     }
   16965             :     result = (int)classObj_insertStyle(arg1,arg2,arg3);
   16966           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   16967             :     
   16968             :     
   16969             :     
   16970           0 :     XSRETURN(argvi);
   16971           0 :   fail:
   16972             :     
   16973             :     
   16974             :     
   16975           0 :     SWIG_croak_null();
   16976             :   }
   16977             : }
   16978             : 
   16979             : 
   16980           0 : XS(_wrap_classObj_removeStyle) {
   16981             :   {
   16982             :     struct classObj *arg1 = (struct classObj *) 0 ;
   16983             :     int arg2 ;
   16984           0 :     void *argp1 = 0 ;
   16985             :     int res1 = 0 ;
   16986             :     int val2 ;
   16987             :     int ecode2 = 0 ;
   16988             :     int argvi = 0;
   16989             :     styleObj *result = 0 ;
   16990           0 :     dXSARGS;
   16991             :     
   16992           0 :     if ((items < 2) || (items > 2)) {
   16993           0 :       SWIG_croak("Usage: classObj_removeStyle(self,index);");
   16994             :     }
   16995           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 |  0 );
   16996           0 :     if (!SWIG_IsOK(res1)) {
   16997           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_removeStyle" "', argument " "1"" of type '" "struct classObj *""'"); 
   16998             :     }
   16999           0 :     arg1 = (struct classObj *)(argp1);
   17000           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   17001           0 :     if (!SWIG_IsOK(ecode2)) {
   17002           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "classObj_removeStyle" "', argument " "2"" of type '" "int""'");
   17003             :     } 
   17004             :     arg2 = (int)(val2);
   17005           0 :     result = (styleObj *)classObj_removeStyle(arg1,arg2);
   17006           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_styleObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   17007             :     
   17008             :     
   17009           0 :     XSRETURN(argvi);
   17010           0 :   fail:
   17011             :     
   17012             :     
   17013           0 :     SWIG_croak_null();
   17014             :   }
   17015             : }
   17016             : 
   17017             : 
   17018           0 : XS(_wrap_classObj_moveStyleUp) {
   17019             :   {
   17020             :     struct classObj *arg1 = (struct classObj *) 0 ;
   17021             :     int arg2 ;
   17022           0 :     void *argp1 = 0 ;
   17023             :     int res1 = 0 ;
   17024             :     int val2 ;
   17025             :     int ecode2 = 0 ;
   17026             :     int argvi = 0;
   17027             :     int result;
   17028           0 :     dXSARGS;
   17029             :     
   17030           0 :     if ((items < 2) || (items > 2)) {
   17031           0 :       SWIG_croak("Usage: classObj_moveStyleUp(self,index);");
   17032             :     }
   17033           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 |  0 );
   17034           0 :     if (!SWIG_IsOK(res1)) {
   17035           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_moveStyleUp" "', argument " "1"" of type '" "struct classObj *""'"); 
   17036             :     }
   17037           0 :     arg1 = (struct classObj *)(argp1);
   17038           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   17039           0 :     if (!SWIG_IsOK(ecode2)) {
   17040           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "classObj_moveStyleUp" "', argument " "2"" of type '" "int""'");
   17041             :     } 
   17042             :     arg2 = (int)(val2);
   17043             :     result = (int)classObj_moveStyleUp(arg1,arg2);
   17044           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   17045             :     
   17046             :     
   17047           0 :     XSRETURN(argvi);
   17048           0 :   fail:
   17049             :     
   17050             :     
   17051           0 :     SWIG_croak_null();
   17052             :   }
   17053             : }
   17054             : 
   17055             : 
   17056           0 : XS(_wrap_classObj_moveStyleDown) {
   17057             :   {
   17058             :     struct classObj *arg1 = (struct classObj *) 0 ;
   17059             :     int arg2 ;
   17060           0 :     void *argp1 = 0 ;
   17061             :     int res1 = 0 ;
   17062             :     int val2 ;
   17063             :     int ecode2 = 0 ;
   17064             :     int argvi = 0;
   17065             :     int result;
   17066           0 :     dXSARGS;
   17067             :     
   17068           0 :     if ((items < 2) || (items > 2)) {
   17069           0 :       SWIG_croak("Usage: classObj_moveStyleDown(self,index);");
   17070             :     }
   17071           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_classObj, 0 |  0 );
   17072           0 :     if (!SWIG_IsOK(res1)) {
   17073           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "classObj_moveStyleDown" "', argument " "1"" of type '" "struct classObj *""'"); 
   17074             :     }
   17075           0 :     arg1 = (struct classObj *)(argp1);
   17076           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   17077           0 :     if (!SWIG_IsOK(ecode2)) {
   17078           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "classObj_moveStyleDown" "', argument " "2"" of type '" "int""'");
   17079             :     } 
   17080             :     arg2 = (int)(val2);
   17081             :     result = (int)classObj_moveStyleDown(arg1,arg2);
   17082           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   17083             :     
   17084             :     
   17085           0 :     XSRETURN(argvi);
   17086           0 :   fail:
   17087             :     
   17088             :     
   17089           0 :     SWIG_croak_null();
   17090             :   }
   17091             : }
   17092             : 
   17093             : 
   17094           0 : XS(_wrap_labelCacheMemberObj_textsymbols_get) {
   17095             :   {
   17096             :     labelCacheMemberObj *arg1 = (labelCacheMemberObj *) 0 ;
   17097           0 :     void *argp1 = 0 ;
   17098             :     int res1 = 0 ;
   17099             :     int argvi = 0;
   17100             :     textSymbolObj **result = 0 ;
   17101           0 :     dXSARGS;
   17102             :     
   17103           0 :     if ((items < 1) || (items > 1)) {
   17104           0 :       SWIG_croak("Usage: labelCacheMemberObj_textsymbols_get(self);");
   17105             :     }
   17106           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheMemberObj, 0 |  0 );
   17107           0 :     if (!SWIG_IsOK(res1)) {
   17108           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheMemberObj_textsymbols_get" "', argument " "1"" of type '" "labelCacheMemberObj *""'"); 
   17109             :     }
   17110           0 :     arg1 = (labelCacheMemberObj *)(argp1);
   17111           0 :     result = (textSymbolObj **) ((arg1)->textsymbols);
   17112           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_p_textSymbolObj, 0 | 0); argvi++ ;
   17113             :     
   17114           0 :     XSRETURN(argvi);
   17115           0 :   fail:
   17116             :     
   17117           0 :     SWIG_croak_null();
   17118             :   }
   17119             : }
   17120             : 
   17121             : 
   17122           0 : XS(_wrap_labelCacheMemberObj_numtextsymbols_get) {
   17123             :   {
   17124             :     labelCacheMemberObj *arg1 = (labelCacheMemberObj *) 0 ;
   17125           0 :     void *argp1 = 0 ;
   17126             :     int res1 = 0 ;
   17127             :     int argvi = 0;
   17128             :     int result;
   17129           0 :     dXSARGS;
   17130             :     
   17131           0 :     if ((items < 1) || (items > 1)) {
   17132           0 :       SWIG_croak("Usage: labelCacheMemberObj_numtextsymbols_get(self);");
   17133             :     }
   17134           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheMemberObj, 0 |  0 );
   17135           0 :     if (!SWIG_IsOK(res1)) {
   17136           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheMemberObj_numtextsymbols_get" "', argument " "1"" of type '" "labelCacheMemberObj *""'"); 
   17137             :     }
   17138           0 :     arg1 = (labelCacheMemberObj *)(argp1);
   17139           0 :     result = (int) ((arg1)->numtextsymbols);
   17140           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   17141             :     
   17142           0 :     XSRETURN(argvi);
   17143           0 :   fail:
   17144             :     
   17145           0 :     SWIG_croak_null();
   17146             :   }
   17147             : }
   17148             : 
   17149             : 
   17150           0 : XS(_wrap_labelCacheMemberObj_layerindex_get) {
   17151             :   {
   17152             :     labelCacheMemberObj *arg1 = (labelCacheMemberObj *) 0 ;
   17153           0 :     void *argp1 = 0 ;
   17154             :     int res1 = 0 ;
   17155             :     int argvi = 0;
   17156             :     int result;
   17157           0 :     dXSARGS;
   17158             :     
   17159           0 :     if ((items < 1) || (items > 1)) {
   17160           0 :       SWIG_croak("Usage: labelCacheMemberObj_layerindex_get(self);");
   17161             :     }
   17162           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheMemberObj, 0 |  0 );
   17163           0 :     if (!SWIG_IsOK(res1)) {
   17164           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheMemberObj_layerindex_get" "', argument " "1"" of type '" "labelCacheMemberObj *""'"); 
   17165             :     }
   17166           0 :     arg1 = (labelCacheMemberObj *)(argp1);
   17167           0 :     result = (int) ((arg1)->layerindex);
   17168           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   17169             :     
   17170           0 :     XSRETURN(argvi);
   17171           0 :   fail:
   17172             :     
   17173           0 :     SWIG_croak_null();
   17174             :   }
   17175             : }
   17176             : 
   17177             : 
   17178           0 : XS(_wrap_labelCacheMemberObj_classindex_get) {
   17179             :   {
   17180             :     labelCacheMemberObj *arg1 = (labelCacheMemberObj *) 0 ;
   17181           0 :     void *argp1 = 0 ;
   17182             :     int res1 = 0 ;
   17183             :     int argvi = 0;
   17184             :     int result;
   17185           0 :     dXSARGS;
   17186             :     
   17187           0 :     if ((items < 1) || (items > 1)) {
   17188           0 :       SWIG_croak("Usage: labelCacheMemberObj_classindex_get(self);");
   17189             :     }
   17190           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheMemberObj, 0 |  0 );
   17191           0 :     if (!SWIG_IsOK(res1)) {
   17192           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheMemberObj_classindex_get" "', argument " "1"" of type '" "labelCacheMemberObj *""'"); 
   17193             :     }
   17194           0 :     arg1 = (labelCacheMemberObj *)(argp1);
   17195           0 :     result = (int) ((arg1)->classindex);
   17196           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   17197             :     
   17198           0 :     XSRETURN(argvi);
   17199           0 :   fail:
   17200             :     
   17201           0 :     SWIG_croak_null();
   17202             :   }
   17203             : }
   17204             : 
   17205             : 
   17206           0 : XS(_wrap_labelCacheMemberObj_point_get) {
   17207             :   {
   17208             :     labelCacheMemberObj *arg1 = (labelCacheMemberObj *) 0 ;
   17209           0 :     void *argp1 = 0 ;
   17210             :     int res1 = 0 ;
   17211             :     int argvi = 0;
   17212             :     pointObj *result = 0 ;
   17213           0 :     dXSARGS;
   17214             :     
   17215           0 :     if ((items < 1) || (items > 1)) {
   17216           0 :       SWIG_croak("Usage: labelCacheMemberObj_point_get(self);");
   17217             :     }
   17218           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheMemberObj, 0 |  0 );
   17219           0 :     if (!SWIG_IsOK(res1)) {
   17220           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheMemberObj_point_get" "', argument " "1"" of type '" "labelCacheMemberObj *""'"); 
   17221             :     }
   17222           0 :     arg1 = (labelCacheMemberObj *)(argp1);
   17223           0 :     result = (pointObj *)& ((arg1)->point);
   17224           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pointObj, 0 | SWIG_SHADOW); argvi++ ;
   17225             :     
   17226           0 :     XSRETURN(argvi);
   17227           0 :   fail:
   17228             :     
   17229           0 :     SWIG_croak_null();
   17230             :   }
   17231             : }
   17232             : 
   17233             : 
   17234           0 : XS(_wrap_labelCacheMemberObj_bbox_get) {
   17235             :   {
   17236             :     labelCacheMemberObj *arg1 = (labelCacheMemberObj *) 0 ;
   17237           0 :     void *argp1 = 0 ;
   17238             :     int res1 = 0 ;
   17239             :     int argvi = 0;
   17240             :     rectObj *result = 0 ;
   17241           0 :     dXSARGS;
   17242             :     
   17243           0 :     if ((items < 1) || (items > 1)) {
   17244           0 :       SWIG_croak("Usage: labelCacheMemberObj_bbox_get(self);");
   17245             :     }
   17246           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheMemberObj, 0 |  0 );
   17247           0 :     if (!SWIG_IsOK(res1)) {
   17248           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheMemberObj_bbox_get" "', argument " "1"" of type '" "labelCacheMemberObj *""'"); 
   17249             :     }
   17250           0 :     arg1 = (labelCacheMemberObj *)(argp1);
   17251           0 :     result = (rectObj *)& ((arg1)->bbox);
   17252           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_rectObj, 0 | SWIG_SHADOW); argvi++ ;
   17253             :     
   17254           0 :     XSRETURN(argvi);
   17255           0 :   fail:
   17256             :     
   17257           0 :     SWIG_croak_null();
   17258             :   }
   17259             : }
   17260             : 
   17261             : 
   17262           0 : XS(_wrap_labelCacheMemberObj_status_get) {
   17263             :   {
   17264             :     labelCacheMemberObj *arg1 = (labelCacheMemberObj *) 0 ;
   17265           0 :     void *argp1 = 0 ;
   17266             :     int res1 = 0 ;
   17267             :     int argvi = 0;
   17268             :     int result;
   17269           0 :     dXSARGS;
   17270             :     
   17271           0 :     if ((items < 1) || (items > 1)) {
   17272           0 :       SWIG_croak("Usage: labelCacheMemberObj_status_get(self);");
   17273             :     }
   17274           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheMemberObj, 0 |  0 );
   17275           0 :     if (!SWIG_IsOK(res1)) {
   17276           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheMemberObj_status_get" "', argument " "1"" of type '" "labelCacheMemberObj *""'"); 
   17277             :     }
   17278           0 :     arg1 = (labelCacheMemberObj *)(argp1);
   17279           0 :     result = (int) ((arg1)->status);
   17280           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   17281             :     
   17282           0 :     XSRETURN(argvi);
   17283           0 :   fail:
   17284             :     
   17285           0 :     SWIG_croak_null();
   17286             :   }
   17287             : }
   17288             : 
   17289             : 
   17290           0 : XS(_wrap_labelCacheMemberObj_markerid_get) {
   17291             :   {
   17292             :     labelCacheMemberObj *arg1 = (labelCacheMemberObj *) 0 ;
   17293           0 :     void *argp1 = 0 ;
   17294             :     int res1 = 0 ;
   17295             :     int argvi = 0;
   17296             :     int result;
   17297           0 :     dXSARGS;
   17298             :     
   17299           0 :     if ((items < 1) || (items > 1)) {
   17300           0 :       SWIG_croak("Usage: labelCacheMemberObj_markerid_get(self);");
   17301             :     }
   17302           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheMemberObj, 0 |  0 );
   17303           0 :     if (!SWIG_IsOK(res1)) {
   17304           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheMemberObj_markerid_get" "', argument " "1"" of type '" "labelCacheMemberObj *""'"); 
   17305             :     }
   17306           0 :     arg1 = (labelCacheMemberObj *)(argp1);
   17307           0 :     result = (int) ((arg1)->markerid);
   17308           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   17309             :     
   17310           0 :     XSRETURN(argvi);
   17311           0 :   fail:
   17312             :     
   17313           0 :     SWIG_croak_null();
   17314             :   }
   17315             : }
   17316             : 
   17317             : 
   17318           0 : XS(_wrap_labelCacheMemberObj_leaderline_get) {
   17319             :   {
   17320             :     labelCacheMemberObj *arg1 = (labelCacheMemberObj *) 0 ;
   17321           0 :     void *argp1 = 0 ;
   17322             :     int res1 = 0 ;
   17323             :     int argvi = 0;
   17324             :     lineObj *result = 0 ;
   17325           0 :     dXSARGS;
   17326             :     
   17327           0 :     if ((items < 1) || (items > 1)) {
   17328           0 :       SWIG_croak("Usage: labelCacheMemberObj_leaderline_get(self);");
   17329             :     }
   17330           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheMemberObj, 0 |  0 );
   17331           0 :     if (!SWIG_IsOK(res1)) {
   17332           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheMemberObj_leaderline_get" "', argument " "1"" of type '" "labelCacheMemberObj *""'"); 
   17333             :     }
   17334           0 :     arg1 = (labelCacheMemberObj *)(argp1);
   17335           0 :     result = (lineObj *) ((arg1)->leaderline);
   17336           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_lineObj, 0 | SWIG_SHADOW); argvi++ ;
   17337             :     
   17338           0 :     XSRETURN(argvi);
   17339           0 :   fail:
   17340             :     
   17341           0 :     SWIG_croak_null();
   17342             :   }
   17343             : }
   17344             : 
   17345             : 
   17346           0 : XS(_wrap_labelCacheMemberObj_leaderbbox_get) {
   17347             :   {
   17348             :     labelCacheMemberObj *arg1 = (labelCacheMemberObj *) 0 ;
   17349           0 :     void *argp1 = 0 ;
   17350             :     int res1 = 0 ;
   17351             :     int argvi = 0;
   17352             :     rectObj *result = 0 ;
   17353           0 :     dXSARGS;
   17354             :     
   17355           0 :     if ((items < 1) || (items > 1)) {
   17356           0 :       SWIG_croak("Usage: labelCacheMemberObj_leaderbbox_get(self);");
   17357             :     }
   17358           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheMemberObj, 0 |  0 );
   17359           0 :     if (!SWIG_IsOK(res1)) {
   17360           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheMemberObj_leaderbbox_get" "', argument " "1"" of type '" "labelCacheMemberObj *""'"); 
   17361             :     }
   17362           0 :     arg1 = (labelCacheMemberObj *)(argp1);
   17363           0 :     result = (rectObj *) ((arg1)->leaderbbox);
   17364           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_rectObj, 0 | SWIG_SHADOW); argvi++ ;
   17365             :     
   17366           0 :     XSRETURN(argvi);
   17367           0 :   fail:
   17368             :     
   17369           0 :     SWIG_croak_null();
   17370             :   }
   17371             : }
   17372             : 
   17373             : 
   17374           0 : XS(_wrap_new_labelCacheMemberObj) {
   17375             :   {
   17376             :     int argvi = 0;
   17377             :     labelCacheMemberObj *result = 0 ;
   17378           0 :     dXSARGS;
   17379             :     
   17380           0 :     if ((items < 0) || (items > 0)) {
   17381           0 :       SWIG_croak("Usage: new_labelCacheMemberObj();");
   17382             :     }
   17383           0 :     result = (labelCacheMemberObj *)calloc(1, sizeof(labelCacheMemberObj));
   17384           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_labelCacheMemberObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   17385           0 :     XSRETURN(argvi);
   17386             :   fail:
   17387           0 :     SWIG_croak_null();
   17388             :   }
   17389             : }
   17390             : 
   17391             : 
   17392           0 : XS(_wrap_delete_labelCacheMemberObj) {
   17393             :   {
   17394             :     labelCacheMemberObj *arg1 = (labelCacheMemberObj *) 0 ;
   17395           0 :     void *argp1 = 0 ;
   17396             :     int res1 = 0 ;
   17397             :     int argvi = 0;
   17398           0 :     dXSARGS;
   17399             :     
   17400           0 :     if ((items < 1) || (items > 1)) {
   17401           0 :       SWIG_croak("Usage: delete_labelCacheMemberObj(self);");
   17402             :     }
   17403           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheMemberObj, SWIG_POINTER_DISOWN |  0 );
   17404           0 :     if (!SWIG_IsOK(res1)) {
   17405           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_labelCacheMemberObj" "', argument " "1"" of type '" "labelCacheMemberObj *""'"); 
   17406             :     }
   17407           0 :     arg1 = (labelCacheMemberObj *)(argp1);
   17408           0 :     free((char *) arg1);
   17409           0 :     ST(argvi) = sv_newmortal();
   17410             :     
   17411           0 :     XSRETURN(argvi);
   17412           0 :   fail:
   17413             :     
   17414           0 :     SWIG_croak_null();
   17415             :   }
   17416             : }
   17417             : 
   17418             : 
   17419           0 : XS(_wrap_markerCacheMemberObj_id_get) {
   17420             :   {
   17421             :     markerCacheMemberObj *arg1 = (markerCacheMemberObj *) 0 ;
   17422           0 :     void *argp1 = 0 ;
   17423             :     int res1 = 0 ;
   17424             :     int argvi = 0;
   17425             :     int result;
   17426           0 :     dXSARGS;
   17427             :     
   17428           0 :     if ((items < 1) || (items > 1)) {
   17429           0 :       SWIG_croak("Usage: markerCacheMemberObj_id_get(self);");
   17430             :     }
   17431           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_markerCacheMemberObj, 0 |  0 );
   17432           0 :     if (!SWIG_IsOK(res1)) {
   17433           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "markerCacheMemberObj_id_get" "', argument " "1"" of type '" "markerCacheMemberObj *""'"); 
   17434             :     }
   17435           0 :     arg1 = (markerCacheMemberObj *)(argp1);
   17436           0 :     result = (int) ((arg1)->id);
   17437           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   17438             :     
   17439           0 :     XSRETURN(argvi);
   17440           0 :   fail:
   17441             :     
   17442           0 :     SWIG_croak_null();
   17443             :   }
   17444             : }
   17445             : 
   17446             : 
   17447           0 : XS(_wrap_markerCacheMemberObj_bounds_get) {
   17448             :   {
   17449             :     markerCacheMemberObj *arg1 = (markerCacheMemberObj *) 0 ;
   17450           0 :     void *argp1 = 0 ;
   17451             :     int res1 = 0 ;
   17452             :     int argvi = 0;
   17453             :     rectObj *result = 0 ;
   17454           0 :     dXSARGS;
   17455             :     
   17456           0 :     if ((items < 1) || (items > 1)) {
   17457           0 :       SWIG_croak("Usage: markerCacheMemberObj_bounds_get(self);");
   17458             :     }
   17459           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_markerCacheMemberObj, 0 |  0 );
   17460           0 :     if (!SWIG_IsOK(res1)) {
   17461           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "markerCacheMemberObj_bounds_get" "', argument " "1"" of type '" "markerCacheMemberObj *""'"); 
   17462             :     }
   17463           0 :     arg1 = (markerCacheMemberObj *)(argp1);
   17464           0 :     result = (rectObj *)& ((arg1)->bounds);
   17465           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_rectObj, 0 | SWIG_SHADOW); argvi++ ;
   17466             :     
   17467           0 :     XSRETURN(argvi);
   17468           0 :   fail:
   17469             :     
   17470           0 :     SWIG_croak_null();
   17471             :   }
   17472             : }
   17473             : 
   17474             : 
   17475           0 : XS(_wrap_new_markerCacheMemberObj) {
   17476             :   {
   17477             :     int argvi = 0;
   17478             :     markerCacheMemberObj *result = 0 ;
   17479           0 :     dXSARGS;
   17480             :     
   17481           0 :     if ((items < 0) || (items > 0)) {
   17482           0 :       SWIG_croak("Usage: new_markerCacheMemberObj();");
   17483             :     }
   17484           0 :     result = (markerCacheMemberObj *)calloc(1, sizeof(markerCacheMemberObj));
   17485           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_markerCacheMemberObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   17486           0 :     XSRETURN(argvi);
   17487             :   fail:
   17488           0 :     SWIG_croak_null();
   17489             :   }
   17490             : }
   17491             : 
   17492             : 
   17493           0 : XS(_wrap_delete_markerCacheMemberObj) {
   17494             :   {
   17495             :     markerCacheMemberObj *arg1 = (markerCacheMemberObj *) 0 ;
   17496           0 :     void *argp1 = 0 ;
   17497             :     int res1 = 0 ;
   17498             :     int argvi = 0;
   17499           0 :     dXSARGS;
   17500             :     
   17501           0 :     if ((items < 1) || (items > 1)) {
   17502           0 :       SWIG_croak("Usage: delete_markerCacheMemberObj(self);");
   17503             :     }
   17504           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_markerCacheMemberObj, SWIG_POINTER_DISOWN |  0 );
   17505           0 :     if (!SWIG_IsOK(res1)) {
   17506           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_markerCacheMemberObj" "', argument " "1"" of type '" "markerCacheMemberObj *""'"); 
   17507             :     }
   17508           0 :     arg1 = (markerCacheMemberObj *)(argp1);
   17509           0 :     free((char *) arg1);
   17510           0 :     ST(argvi) = sv_newmortal();
   17511             :     
   17512           0 :     XSRETURN(argvi);
   17513           0 :   fail:
   17514             :     
   17515           0 :     SWIG_croak_null();
   17516             :   }
   17517             : }
   17518             : 
   17519             : 
   17520           0 : XS(_wrap_labelCacheSlotObj_labels_get) {
   17521             :   {
   17522             :     labelCacheSlotObj *arg1 = (labelCacheSlotObj *) 0 ;
   17523           0 :     void *argp1 = 0 ;
   17524             :     int res1 = 0 ;
   17525             :     int argvi = 0;
   17526             :     labelCacheMemberObj *result = 0 ;
   17527           0 :     dXSARGS;
   17528             :     
   17529           0 :     if ((items < 1) || (items > 1)) {
   17530           0 :       SWIG_croak("Usage: labelCacheSlotObj_labels_get(self);");
   17531             :     }
   17532           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheSlotObj, 0 |  0 );
   17533           0 :     if (!SWIG_IsOK(res1)) {
   17534           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheSlotObj_labels_get" "', argument " "1"" of type '" "labelCacheSlotObj *""'"); 
   17535             :     }
   17536           0 :     arg1 = (labelCacheSlotObj *)(argp1);
   17537           0 :     result = (labelCacheMemberObj *) ((arg1)->labels);
   17538           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_labelCacheMemberObj, 0 | SWIG_SHADOW); argvi++ ;
   17539             :     
   17540           0 :     XSRETURN(argvi);
   17541           0 :   fail:
   17542             :     
   17543           0 :     SWIG_croak_null();
   17544             :   }
   17545             : }
   17546             : 
   17547             : 
   17548           0 : XS(_wrap_labelCacheSlotObj_numlabels_get) {
   17549             :   {
   17550             :     labelCacheSlotObj *arg1 = (labelCacheSlotObj *) 0 ;
   17551           0 :     void *argp1 = 0 ;
   17552             :     int res1 = 0 ;
   17553             :     int argvi = 0;
   17554             :     int result;
   17555           0 :     dXSARGS;
   17556             :     
   17557           0 :     if ((items < 1) || (items > 1)) {
   17558           0 :       SWIG_croak("Usage: labelCacheSlotObj_numlabels_get(self);");
   17559             :     }
   17560           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheSlotObj, 0 |  0 );
   17561           0 :     if (!SWIG_IsOK(res1)) {
   17562           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheSlotObj_numlabels_get" "', argument " "1"" of type '" "labelCacheSlotObj *""'"); 
   17563             :     }
   17564           0 :     arg1 = (labelCacheSlotObj *)(argp1);
   17565           0 :     result = (int) ((arg1)->numlabels);
   17566           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   17567             :     
   17568           0 :     XSRETURN(argvi);
   17569           0 :   fail:
   17570             :     
   17571           0 :     SWIG_croak_null();
   17572             :   }
   17573             : }
   17574             : 
   17575             : 
   17576           0 : XS(_wrap_labelCacheSlotObj_cachesize_get) {
   17577             :   {
   17578             :     labelCacheSlotObj *arg1 = (labelCacheSlotObj *) 0 ;
   17579           0 :     void *argp1 = 0 ;
   17580             :     int res1 = 0 ;
   17581             :     int argvi = 0;
   17582             :     int result;
   17583           0 :     dXSARGS;
   17584             :     
   17585           0 :     if ((items < 1) || (items > 1)) {
   17586           0 :       SWIG_croak("Usage: labelCacheSlotObj_cachesize_get(self);");
   17587             :     }
   17588           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheSlotObj, 0 |  0 );
   17589           0 :     if (!SWIG_IsOK(res1)) {
   17590           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheSlotObj_cachesize_get" "', argument " "1"" of type '" "labelCacheSlotObj *""'"); 
   17591             :     }
   17592           0 :     arg1 = (labelCacheSlotObj *)(argp1);
   17593           0 :     result = (int) ((arg1)->cachesize);
   17594           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   17595             :     
   17596           0 :     XSRETURN(argvi);
   17597           0 :   fail:
   17598             :     
   17599           0 :     SWIG_croak_null();
   17600             :   }
   17601             : }
   17602             : 
   17603             : 
   17604           0 : XS(_wrap_labelCacheSlotObj_markers_get) {
   17605             :   {
   17606             :     labelCacheSlotObj *arg1 = (labelCacheSlotObj *) 0 ;
   17607           0 :     void *argp1 = 0 ;
   17608             :     int res1 = 0 ;
   17609             :     int argvi = 0;
   17610             :     markerCacheMemberObj *result = 0 ;
   17611           0 :     dXSARGS;
   17612             :     
   17613           0 :     if ((items < 1) || (items > 1)) {
   17614           0 :       SWIG_croak("Usage: labelCacheSlotObj_markers_get(self);");
   17615             :     }
   17616           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheSlotObj, 0 |  0 );
   17617           0 :     if (!SWIG_IsOK(res1)) {
   17618           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheSlotObj_markers_get" "', argument " "1"" of type '" "labelCacheSlotObj *""'"); 
   17619             :     }
   17620           0 :     arg1 = (labelCacheSlotObj *)(argp1);
   17621           0 :     result = (markerCacheMemberObj *) ((arg1)->markers);
   17622           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_markerCacheMemberObj, 0 | SWIG_SHADOW); argvi++ ;
   17623             :     
   17624           0 :     XSRETURN(argvi);
   17625           0 :   fail:
   17626             :     
   17627           0 :     SWIG_croak_null();
   17628             :   }
   17629             : }
   17630             : 
   17631             : 
   17632           0 : XS(_wrap_labelCacheSlotObj_nummarkers_get) {
   17633             :   {
   17634             :     labelCacheSlotObj *arg1 = (labelCacheSlotObj *) 0 ;
   17635           0 :     void *argp1 = 0 ;
   17636             :     int res1 = 0 ;
   17637             :     int argvi = 0;
   17638             :     int result;
   17639           0 :     dXSARGS;
   17640             :     
   17641           0 :     if ((items < 1) || (items > 1)) {
   17642           0 :       SWIG_croak("Usage: labelCacheSlotObj_nummarkers_get(self);");
   17643             :     }
   17644           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheSlotObj, 0 |  0 );
   17645           0 :     if (!SWIG_IsOK(res1)) {
   17646           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheSlotObj_nummarkers_get" "', argument " "1"" of type '" "labelCacheSlotObj *""'"); 
   17647             :     }
   17648           0 :     arg1 = (labelCacheSlotObj *)(argp1);
   17649           0 :     result = (int) ((arg1)->nummarkers);
   17650           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   17651             :     
   17652           0 :     XSRETURN(argvi);
   17653           0 :   fail:
   17654             :     
   17655           0 :     SWIG_croak_null();
   17656             :   }
   17657             : }
   17658             : 
   17659             : 
   17660           0 : XS(_wrap_labelCacheSlotObj_markercachesize_get) {
   17661             :   {
   17662             :     labelCacheSlotObj *arg1 = (labelCacheSlotObj *) 0 ;
   17663           0 :     void *argp1 = 0 ;
   17664             :     int res1 = 0 ;
   17665             :     int argvi = 0;
   17666             :     int result;
   17667           0 :     dXSARGS;
   17668             :     
   17669           0 :     if ((items < 1) || (items > 1)) {
   17670           0 :       SWIG_croak("Usage: labelCacheSlotObj_markercachesize_get(self);");
   17671             :     }
   17672           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheSlotObj, 0 |  0 );
   17673           0 :     if (!SWIG_IsOK(res1)) {
   17674           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheSlotObj_markercachesize_get" "', argument " "1"" of type '" "labelCacheSlotObj *""'"); 
   17675             :     }
   17676           0 :     arg1 = (labelCacheSlotObj *)(argp1);
   17677           0 :     result = (int) ((arg1)->markercachesize);
   17678           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   17679             :     
   17680           0 :     XSRETURN(argvi);
   17681           0 :   fail:
   17682             :     
   17683           0 :     SWIG_croak_null();
   17684             :   }
   17685             : }
   17686             : 
   17687             : 
   17688           0 : XS(_wrap_new_labelCacheSlotObj) {
   17689             :   {
   17690             :     int argvi = 0;
   17691             :     labelCacheSlotObj *result = 0 ;
   17692           0 :     dXSARGS;
   17693             :     
   17694           0 :     if ((items < 0) || (items > 0)) {
   17695           0 :       SWIG_croak("Usage: new_labelCacheSlotObj();");
   17696             :     }
   17697           0 :     result = (labelCacheSlotObj *)calloc(1, sizeof(labelCacheSlotObj));
   17698           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_labelCacheSlotObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   17699           0 :     XSRETURN(argvi);
   17700             :   fail:
   17701           0 :     SWIG_croak_null();
   17702             :   }
   17703             : }
   17704             : 
   17705             : 
   17706           0 : XS(_wrap_delete_labelCacheSlotObj) {
   17707             :   {
   17708             :     labelCacheSlotObj *arg1 = (labelCacheSlotObj *) 0 ;
   17709           0 :     void *argp1 = 0 ;
   17710             :     int res1 = 0 ;
   17711             :     int argvi = 0;
   17712           0 :     dXSARGS;
   17713             :     
   17714           0 :     if ((items < 1) || (items > 1)) {
   17715           0 :       SWIG_croak("Usage: delete_labelCacheSlotObj(self);");
   17716             :     }
   17717           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheSlotObj, SWIG_POINTER_DISOWN |  0 );
   17718           0 :     if (!SWIG_IsOK(res1)) {
   17719           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_labelCacheSlotObj" "', argument " "1"" of type '" "labelCacheSlotObj *""'"); 
   17720             :     }
   17721           0 :     arg1 = (labelCacheSlotObj *)(argp1);
   17722           0 :     free((char *) arg1);
   17723           0 :     ST(argvi) = sv_newmortal();
   17724             :     
   17725           0 :     XSRETURN(argvi);
   17726           0 :   fail:
   17727             :     
   17728           0 :     SWIG_croak_null();
   17729             :   }
   17730             : }
   17731             : 
   17732             : 
   17733           0 : XS(_wrap_labelCacheObj_slots_get) {
   17734             :   {
   17735             :     labelCacheObj *arg1 = (labelCacheObj *) 0 ;
   17736           0 :     void *argp1 = 0 ;
   17737             :     int res1 = 0 ;
   17738             :     int argvi = 0;
   17739             :     labelCacheSlotObj *result = 0 ;
   17740           0 :     dXSARGS;
   17741             :     
   17742           0 :     if ((items < 1) || (items > 1)) {
   17743           0 :       SWIG_croak("Usage: labelCacheObj_slots_get(self);");
   17744             :     }
   17745           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheObj, 0 |  0 );
   17746           0 :     if (!SWIG_IsOK(res1)) {
   17747           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheObj_slots_get" "', argument " "1"" of type '" "labelCacheObj *""'"); 
   17748             :     }
   17749           0 :     arg1 = (labelCacheObj *)(argp1);
   17750           0 :     result = (labelCacheSlotObj *)(labelCacheSlotObj *) ((arg1)->slots);
   17751           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_labelCacheSlotObj, 0 | SWIG_SHADOW); argvi++ ;
   17752             :     
   17753           0 :     XSRETURN(argvi);
   17754           0 :   fail:
   17755             :     
   17756           0 :     SWIG_croak_null();
   17757             :   }
   17758             : }
   17759             : 
   17760             : 
   17761           0 : XS(_wrap_labelCacheObj_gutter_get) {
   17762             :   {
   17763             :     labelCacheObj *arg1 = (labelCacheObj *) 0 ;
   17764           0 :     void *argp1 = 0 ;
   17765             :     int res1 = 0 ;
   17766             :     int argvi = 0;
   17767             :     int result;
   17768           0 :     dXSARGS;
   17769             :     
   17770           0 :     if ((items < 1) || (items > 1)) {
   17771           0 :       SWIG_croak("Usage: labelCacheObj_gutter_get(self);");
   17772             :     }
   17773           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheObj, 0 |  0 );
   17774           0 :     if (!SWIG_IsOK(res1)) {
   17775           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheObj_gutter_get" "', argument " "1"" of type '" "labelCacheObj *""'"); 
   17776             :     }
   17777           0 :     arg1 = (labelCacheObj *)(argp1);
   17778           0 :     result = (int) ((arg1)->gutter);
   17779           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   17780             :     
   17781           0 :     XSRETURN(argvi);
   17782           0 :   fail:
   17783             :     
   17784           0 :     SWIG_croak_null();
   17785             :   }
   17786             : }
   17787             : 
   17788             : 
   17789           0 : XS(_wrap_labelCacheObj_rendered_text_symbols_get) {
   17790             :   {
   17791             :     labelCacheObj *arg1 = (labelCacheObj *) 0 ;
   17792           0 :     void *argp1 = 0 ;
   17793             :     int res1 = 0 ;
   17794             :     int argvi = 0;
   17795             :     labelCacheMemberObj **result = 0 ;
   17796           0 :     dXSARGS;
   17797             :     
   17798           0 :     if ((items < 1) || (items > 1)) {
   17799           0 :       SWIG_croak("Usage: labelCacheObj_rendered_text_symbols_get(self);");
   17800             :     }
   17801           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheObj, 0 |  0 );
   17802           0 :     if (!SWIG_IsOK(res1)) {
   17803           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheObj_rendered_text_symbols_get" "', argument " "1"" of type '" "labelCacheObj *""'"); 
   17804             :     }
   17805           0 :     arg1 = (labelCacheObj *)(argp1);
   17806           0 :     result = (labelCacheMemberObj **) ((arg1)->rendered_text_symbols);
   17807           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_p_labelCacheMemberObj, 0 | 0); argvi++ ;
   17808             :     
   17809           0 :     XSRETURN(argvi);
   17810           0 :   fail:
   17811             :     
   17812           0 :     SWIG_croak_null();
   17813             :   }
   17814             : }
   17815             : 
   17816             : 
   17817           0 : XS(_wrap_labelCacheObj_num_allocated_rendered_members_get) {
   17818             :   {
   17819             :     labelCacheObj *arg1 = (labelCacheObj *) 0 ;
   17820           0 :     void *argp1 = 0 ;
   17821             :     int res1 = 0 ;
   17822             :     int argvi = 0;
   17823             :     int result;
   17824           0 :     dXSARGS;
   17825             :     
   17826           0 :     if ((items < 1) || (items > 1)) {
   17827           0 :       SWIG_croak("Usage: labelCacheObj_num_allocated_rendered_members_get(self);");
   17828             :     }
   17829           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheObj, 0 |  0 );
   17830           0 :     if (!SWIG_IsOK(res1)) {
   17831           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheObj_num_allocated_rendered_members_get" "', argument " "1"" of type '" "labelCacheObj *""'"); 
   17832             :     }
   17833           0 :     arg1 = (labelCacheObj *)(argp1);
   17834           0 :     result = (int) ((arg1)->num_allocated_rendered_members);
   17835           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   17836             :     
   17837           0 :     XSRETURN(argvi);
   17838           0 :   fail:
   17839             :     
   17840           0 :     SWIG_croak_null();
   17841             :   }
   17842             : }
   17843             : 
   17844             : 
   17845           0 : XS(_wrap_labelCacheObj_num_rendered_members_get) {
   17846             :   {
   17847             :     labelCacheObj *arg1 = (labelCacheObj *) 0 ;
   17848           0 :     void *argp1 = 0 ;
   17849             :     int res1 = 0 ;
   17850             :     int argvi = 0;
   17851             :     int result;
   17852           0 :     dXSARGS;
   17853             :     
   17854           0 :     if ((items < 1) || (items > 1)) {
   17855           0 :       SWIG_croak("Usage: labelCacheObj_num_rendered_members_get(self);");
   17856             :     }
   17857           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheObj, 0 |  0 );
   17858           0 :     if (!SWIG_IsOK(res1)) {
   17859           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheObj_num_rendered_members_get" "', argument " "1"" of type '" "labelCacheObj *""'"); 
   17860             :     }
   17861           0 :     arg1 = (labelCacheObj *)(argp1);
   17862           0 :     result = (int) ((arg1)->num_rendered_members);
   17863           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   17864             :     
   17865           0 :     XSRETURN(argvi);
   17866           0 :   fail:
   17867             :     
   17868           0 :     SWIG_croak_null();
   17869             :   }
   17870             : }
   17871             : 
   17872             : 
   17873           0 : XS(_wrap_labelCacheObj_freeCache) {
   17874             :   {
   17875             :     labelCacheObj *arg1 = (labelCacheObj *) 0 ;
   17876           0 :     void *argp1 = 0 ;
   17877             :     int res1 = 0 ;
   17878             :     int argvi = 0;
   17879           0 :     dXSARGS;
   17880             :     
   17881           0 :     if ((items < 1) || (items > 1)) {
   17882           0 :       SWIG_croak("Usage: labelCacheObj_freeCache(self);");
   17883             :     }
   17884           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheObj, 0 |  0 );
   17885           0 :     if (!SWIG_IsOK(res1)) {
   17886           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "labelCacheObj_freeCache" "', argument " "1"" of type '" "labelCacheObj *""'"); 
   17887             :     }
   17888           0 :     arg1 = (labelCacheObj *)(argp1);
   17889             :     labelCacheObj_freeCache(arg1);
   17890           0 :     ST(argvi) = sv_newmortal();
   17891             :     
   17892           0 :     XSRETURN(argvi);
   17893           0 :   fail:
   17894             :     
   17895           0 :     SWIG_croak_null();
   17896             :   }
   17897             : }
   17898             : 
   17899             : 
   17900           0 : XS(_wrap_new_labelCacheObj) {
   17901             :   {
   17902             :     int argvi = 0;
   17903             :     labelCacheObj *result = 0 ;
   17904           0 :     dXSARGS;
   17905             :     
   17906           0 :     if ((items < 0) || (items > 0)) {
   17907           0 :       SWIG_croak("Usage: new_labelCacheObj();");
   17908             :     }
   17909           0 :     result = (labelCacheObj *)calloc(1, sizeof(labelCacheObj));
   17910           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_labelCacheObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   17911           0 :     XSRETURN(argvi);
   17912             :   fail:
   17913           0 :     SWIG_croak_null();
   17914             :   }
   17915             : }
   17916             : 
   17917             : 
   17918           0 : XS(_wrap_delete_labelCacheObj) {
   17919             :   {
   17920             :     labelCacheObj *arg1 = (labelCacheObj *) 0 ;
   17921           0 :     void *argp1 = 0 ;
   17922             :     int res1 = 0 ;
   17923             :     int argvi = 0;
   17924           0 :     dXSARGS;
   17925             :     
   17926           0 :     if ((items < 1) || (items > 1)) {
   17927           0 :       SWIG_croak("Usage: delete_labelCacheObj(self);");
   17928             :     }
   17929           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_labelCacheObj, SWIG_POINTER_DISOWN |  0 );
   17930           0 :     if (!SWIG_IsOK(res1)) {
   17931           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_labelCacheObj" "', argument " "1"" of type '" "labelCacheObj *""'"); 
   17932             :     }
   17933           0 :     arg1 = (labelCacheObj *)(argp1);
   17934           0 :     free((char *) arg1);
   17935           0 :     ST(argvi) = sv_newmortal();
   17936             :     
   17937           0 :     XSRETURN(argvi);
   17938           0 :   fail:
   17939             :     
   17940           0 :     SWIG_croak_null();
   17941             :   }
   17942             : }
   17943             : 
   17944             : 
   17945           0 : XS(_wrap_resultObj_shapeindex_get) {
   17946             :   {
   17947             :     resultObj *arg1 = (resultObj *) 0 ;
   17948           0 :     void *argp1 = 0 ;
   17949             :     int res1 = 0 ;
   17950             :     int argvi = 0;
   17951             :     long result;
   17952           0 :     dXSARGS;
   17953             :     
   17954           0 :     if ((items < 1) || (items > 1)) {
   17955           0 :       SWIG_croak("Usage: resultObj_shapeindex_get(self);");
   17956             :     }
   17957           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_resultObj, 0 |  0 );
   17958           0 :     if (!SWIG_IsOK(res1)) {
   17959           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "resultObj_shapeindex_get" "', argument " "1"" of type '" "resultObj *""'"); 
   17960             :     }
   17961           0 :     arg1 = (resultObj *)(argp1);
   17962           0 :     result = (long) ((arg1)->shapeindex);
   17963           0 :     ST(argvi) = SWIG_From_long  SWIG_PERL_CALL_ARGS_1((long)(result)); argvi++ ;
   17964             :     
   17965           0 :     XSRETURN(argvi);
   17966           0 :   fail:
   17967             :     
   17968           0 :     SWIG_croak_null();
   17969             :   }
   17970             : }
   17971             : 
   17972             : 
   17973           0 : XS(_wrap_resultObj_tileindex_get) {
   17974             :   {
   17975             :     resultObj *arg1 = (resultObj *) 0 ;
   17976           0 :     void *argp1 = 0 ;
   17977             :     int res1 = 0 ;
   17978             :     int argvi = 0;
   17979             :     int result;
   17980           0 :     dXSARGS;
   17981             :     
   17982           0 :     if ((items < 1) || (items > 1)) {
   17983           0 :       SWIG_croak("Usage: resultObj_tileindex_get(self);");
   17984             :     }
   17985           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_resultObj, 0 |  0 );
   17986           0 :     if (!SWIG_IsOK(res1)) {
   17987           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "resultObj_tileindex_get" "', argument " "1"" of type '" "resultObj *""'"); 
   17988             :     }
   17989           0 :     arg1 = (resultObj *)(argp1);
   17990           0 :     result = (int) ((arg1)->tileindex);
   17991           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   17992             :     
   17993           0 :     XSRETURN(argvi);
   17994           0 :   fail:
   17995             :     
   17996           0 :     SWIG_croak_null();
   17997             :   }
   17998             : }
   17999             : 
   18000             : 
   18001           0 : XS(_wrap_resultObj_resultindex_get) {
   18002             :   {
   18003             :     resultObj *arg1 = (resultObj *) 0 ;
   18004           0 :     void *argp1 = 0 ;
   18005             :     int res1 = 0 ;
   18006             :     int argvi = 0;
   18007             :     int result;
   18008           0 :     dXSARGS;
   18009             :     
   18010           0 :     if ((items < 1) || (items > 1)) {
   18011           0 :       SWIG_croak("Usage: resultObj_resultindex_get(self);");
   18012             :     }
   18013           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_resultObj, 0 |  0 );
   18014           0 :     if (!SWIG_IsOK(res1)) {
   18015           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "resultObj_resultindex_get" "', argument " "1"" of type '" "resultObj *""'"); 
   18016             :     }
   18017           0 :     arg1 = (resultObj *)(argp1);
   18018           0 :     result = (int) ((arg1)->resultindex);
   18019           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   18020             :     
   18021           0 :     XSRETURN(argvi);
   18022           0 :   fail:
   18023             :     
   18024           0 :     SWIG_croak_null();
   18025             :   }
   18026             : }
   18027             : 
   18028             : 
   18029           0 : XS(_wrap_resultObj_classindex_get) {
   18030             :   {
   18031             :     resultObj *arg1 = (resultObj *) 0 ;
   18032           0 :     void *argp1 = 0 ;
   18033             :     int res1 = 0 ;
   18034             :     int argvi = 0;
   18035             :     int result;
   18036           0 :     dXSARGS;
   18037             :     
   18038           0 :     if ((items < 1) || (items > 1)) {
   18039           0 :       SWIG_croak("Usage: resultObj_classindex_get(self);");
   18040             :     }
   18041           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_resultObj, 0 |  0 );
   18042           0 :     if (!SWIG_IsOK(res1)) {
   18043           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "resultObj_classindex_get" "', argument " "1"" of type '" "resultObj *""'"); 
   18044             :     }
   18045           0 :     arg1 = (resultObj *)(argp1);
   18046           0 :     result = (int) ((arg1)->classindex);
   18047           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   18048             :     
   18049           0 :     XSRETURN(argvi);
   18050           0 :   fail:
   18051             :     
   18052           0 :     SWIG_croak_null();
   18053             :   }
   18054             : }
   18055             : 
   18056             : 
   18057           0 : XS(_wrap_new_resultObj) {
   18058             :   {
   18059             :     long arg1 ;
   18060             :     long val1 ;
   18061             :     int ecode1 = 0 ;
   18062             :     int argvi = 0;
   18063             :     resultObj *result = 0 ;
   18064           0 :     dXSARGS;
   18065             :     
   18066           0 :     if ((items < 1) || (items > 1)) {
   18067           0 :       SWIG_croak("Usage: new_resultObj(shapeindex);");
   18068             :     }
   18069           0 :     ecode1 = SWIG_AsVal_long SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
   18070           0 :     if (!SWIG_IsOK(ecode1)) {
   18071           0 :       SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_resultObj" "', argument " "1"" of type '" "long""'");
   18072             :     } 
   18073           0 :     arg1 = (long)(val1);
   18074             :     result = (resultObj *)new_resultObj(arg1);
   18075           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_resultObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   18076             :     
   18077           0 :     XSRETURN(argvi);
   18078           0 :   fail:
   18079             :     
   18080           0 :     SWIG_croak_null();
   18081             :   }
   18082             : }
   18083             : 
   18084             : 
   18085           0 : XS(_wrap_delete_resultObj) {
   18086             :   {
   18087             :     resultObj *arg1 = (resultObj *) 0 ;
   18088           0 :     void *argp1 = 0 ;
   18089             :     int res1 = 0 ;
   18090             :     int argvi = 0;
   18091           0 :     dXSARGS;
   18092             :     
   18093           0 :     if ((items < 1) || (items > 1)) {
   18094           0 :       SWIG_croak("Usage: delete_resultObj(self);");
   18095             :     }
   18096           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_resultObj, SWIG_POINTER_DISOWN |  0 );
   18097           0 :     if (!SWIG_IsOK(res1)) {
   18098           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_resultObj" "', argument " "1"" of type '" "resultObj *""'"); 
   18099             :     }
   18100           0 :     arg1 = (resultObj *)(argp1);
   18101             :     delete_resultObj(arg1);
   18102           0 :     ST(argvi) = sv_newmortal();
   18103             :     
   18104           0 :     XSRETURN(argvi);
   18105           0 :   fail:
   18106             :     
   18107           0 :     SWIG_croak_null();
   18108             :   }
   18109             : }
   18110             : 
   18111             : 
   18112           0 : XS(_wrap_resultCacheObj_numresults_get) {
   18113             :   {
   18114             :     resultCacheObj *arg1 = (resultCacheObj *) 0 ;
   18115           0 :     void *argp1 = 0 ;
   18116             :     int res1 = 0 ;
   18117             :     int argvi = 0;
   18118             :     int result;
   18119           0 :     dXSARGS;
   18120             :     
   18121           0 :     if ((items < 1) || (items > 1)) {
   18122           0 :       SWIG_croak("Usage: resultCacheObj_numresults_get(self);");
   18123             :     }
   18124           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_resultCacheObj, 0 |  0 );
   18125           0 :     if (!SWIG_IsOK(res1)) {
   18126           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "resultCacheObj_numresults_get" "', argument " "1"" of type '" "resultCacheObj *""'"); 
   18127             :     }
   18128           0 :     arg1 = (resultCacheObj *)(argp1);
   18129           0 :     result = (int) ((arg1)->numresults);
   18130           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   18131             :     
   18132           0 :     XSRETURN(argvi);
   18133           0 :   fail:
   18134             :     
   18135           0 :     SWIG_croak_null();
   18136             :   }
   18137             : }
   18138             : 
   18139             : 
   18140           0 : XS(_wrap_resultCacheObj_bounds_get) {
   18141             :   {
   18142             :     resultCacheObj *arg1 = (resultCacheObj *) 0 ;
   18143           0 :     void *argp1 = 0 ;
   18144             :     int res1 = 0 ;
   18145             :     int argvi = 0;
   18146             :     rectObj *result = 0 ;
   18147           0 :     dXSARGS;
   18148             :     
   18149           0 :     if ((items < 1) || (items > 1)) {
   18150           0 :       SWIG_croak("Usage: resultCacheObj_bounds_get(self);");
   18151             :     }
   18152           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_resultCacheObj, 0 |  0 );
   18153           0 :     if (!SWIG_IsOK(res1)) {
   18154           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "resultCacheObj_bounds_get" "', argument " "1"" of type '" "resultCacheObj *""'"); 
   18155             :     }
   18156           0 :     arg1 = (resultCacheObj *)(argp1);
   18157           0 :     result = (rectObj *)& ((arg1)->bounds);
   18158           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_rectObj, 0 | SWIG_SHADOW); argvi++ ;
   18159             :     
   18160           0 :     XSRETURN(argvi);
   18161           0 :   fail:
   18162             :     
   18163           0 :     SWIG_croak_null();
   18164             :   }
   18165             : }
   18166             : 
   18167             : 
   18168           0 : XS(_wrap_resultCacheObj_usegetshape_set) {
   18169             :   {
   18170             :     resultCacheObj *arg1 = (resultCacheObj *) 0 ;
   18171             :     int arg2 ;
   18172           0 :     void *argp1 = 0 ;
   18173             :     int res1 = 0 ;
   18174             :     int val2 ;
   18175             :     int ecode2 = 0 ;
   18176             :     int argvi = 0;
   18177           0 :     dXSARGS;
   18178             :     
   18179           0 :     if ((items < 2) || (items > 2)) {
   18180           0 :       SWIG_croak("Usage: resultCacheObj_usegetshape_set(self,usegetshape);");
   18181             :     }
   18182           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_resultCacheObj, 0 |  0 );
   18183           0 :     if (!SWIG_IsOK(res1)) {
   18184           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "resultCacheObj_usegetshape_set" "', argument " "1"" of type '" "resultCacheObj *""'"); 
   18185             :     }
   18186           0 :     arg1 = (resultCacheObj *)(argp1);
   18187           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   18188           0 :     if (!SWIG_IsOK(ecode2)) {
   18189           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "resultCacheObj_usegetshape_set" "', argument " "2"" of type '" "int""'");
   18190             :     } 
   18191             :     arg2 = (int)(val2);
   18192           0 :     if (arg1) (arg1)->usegetshape = arg2;
   18193           0 :     ST(argvi) = sv_newmortal();
   18194             :     
   18195             :     
   18196           0 :     XSRETURN(argvi);
   18197           0 :   fail:
   18198             :     
   18199             :     
   18200           0 :     SWIG_croak_null();
   18201             :   }
   18202             : }
   18203             : 
   18204             : 
   18205           0 : XS(_wrap_resultCacheObj_usegetshape_get) {
   18206             :   {
   18207             :     resultCacheObj *arg1 = (resultCacheObj *) 0 ;
   18208           0 :     void *argp1 = 0 ;
   18209             :     int res1 = 0 ;
   18210             :     int argvi = 0;
   18211             :     int result;
   18212           0 :     dXSARGS;
   18213             :     
   18214           0 :     if ((items < 1) || (items > 1)) {
   18215           0 :       SWIG_croak("Usage: resultCacheObj_usegetshape_get(self);");
   18216             :     }
   18217           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_resultCacheObj, 0 |  0 );
   18218           0 :     if (!SWIG_IsOK(res1)) {
   18219           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "resultCacheObj_usegetshape_get" "', argument " "1"" of type '" "resultCacheObj *""'"); 
   18220             :     }
   18221           0 :     arg1 = (resultCacheObj *)(argp1);
   18222           0 :     result = (int) ((arg1)->usegetshape);
   18223           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   18224             :     
   18225           0 :     XSRETURN(argvi);
   18226           0 :   fail:
   18227             :     
   18228           0 :     SWIG_croak_null();
   18229             :   }
   18230             : }
   18231             : 
   18232             : 
   18233           0 : XS(_wrap_resultCacheObj_getResult) {
   18234             :   {
   18235             :     resultCacheObj *arg1 = (resultCacheObj *) 0 ;
   18236             :     int arg2 ;
   18237           0 :     void *argp1 = 0 ;
   18238             :     int res1 = 0 ;
   18239             :     int val2 ;
   18240             :     int ecode2 = 0 ;
   18241             :     int argvi = 0;
   18242             :     resultObj *result = 0 ;
   18243           0 :     dXSARGS;
   18244             :     
   18245           0 :     if ((items < 2) || (items > 2)) {
   18246           0 :       SWIG_croak("Usage: resultCacheObj_getResult(self,i);");
   18247             :     }
   18248           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_resultCacheObj, 0 |  0 );
   18249           0 :     if (!SWIG_IsOK(res1)) {
   18250           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "resultCacheObj_getResult" "', argument " "1"" of type '" "resultCacheObj *""'"); 
   18251             :     }
   18252           0 :     arg1 = (resultCacheObj *)(argp1);
   18253           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   18254           0 :     if (!SWIG_IsOK(ecode2)) {
   18255           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "resultCacheObj_getResult" "', argument " "2"" of type '" "int""'");
   18256             :     } 
   18257             :     arg2 = (int)(val2);
   18258             :     result = (resultObj *)resultCacheObj_getResult(arg1,arg2);
   18259           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_resultObj, 0 | SWIG_SHADOW); argvi++ ;
   18260             :     
   18261             :     
   18262           0 :     XSRETURN(argvi);
   18263           0 :   fail:
   18264             :     
   18265             :     
   18266           0 :     SWIG_croak_null();
   18267             :   }
   18268             : }
   18269             : 
   18270             : 
   18271           0 : XS(_wrap_new_resultCacheObj) {
   18272             :   {
   18273             :     int argvi = 0;
   18274             :     resultCacheObj *result = 0 ;
   18275           0 :     dXSARGS;
   18276             :     
   18277           0 :     if ((items < 0) || (items > 0)) {
   18278           0 :       SWIG_croak("Usage: new_resultCacheObj();");
   18279             :     }
   18280           0 :     result = (resultCacheObj *)calloc(1, sizeof(resultCacheObj));
   18281           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_resultCacheObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   18282           0 :     XSRETURN(argvi);
   18283             :   fail:
   18284           0 :     SWIG_croak_null();
   18285             :   }
   18286             : }
   18287             : 
   18288             : 
   18289           0 : XS(_wrap_delete_resultCacheObj) {
   18290             :   {
   18291             :     resultCacheObj *arg1 = (resultCacheObj *) 0 ;
   18292           0 :     void *argp1 = 0 ;
   18293             :     int res1 = 0 ;
   18294             :     int argvi = 0;
   18295           0 :     dXSARGS;
   18296             :     
   18297           0 :     if ((items < 1) || (items > 1)) {
   18298           0 :       SWIG_croak("Usage: delete_resultCacheObj(self);");
   18299             :     }
   18300           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_resultCacheObj, SWIG_POINTER_DISOWN |  0 );
   18301           0 :     if (!SWIG_IsOK(res1)) {
   18302           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_resultCacheObj" "', argument " "1"" of type '" "resultCacheObj *""'"); 
   18303             :     }
   18304           0 :     arg1 = (resultCacheObj *)(argp1);
   18305           0 :     free((char *) arg1);
   18306           0 :     ST(argvi) = sv_newmortal();
   18307             :     
   18308           0 :     XSRETURN(argvi);
   18309           0 :   fail:
   18310             :     
   18311           0 :     SWIG_croak_null();
   18312             :   }
   18313             : }
   18314             : 
   18315             : 
   18316           0 : XS(_wrap_symbolSetObj_filename_set) {
   18317             :   {
   18318             :     symbolSetObj *arg1 = (symbolSetObj *) 0 ;
   18319             :     char *arg2 = (char *) 0 ;
   18320           0 :     void *argp1 = 0 ;
   18321             :     int res1 = 0 ;
   18322             :     int res2 ;
   18323           0 :     char *buf2 = 0 ;
   18324           0 :     int alloc2 = 0 ;
   18325             :     int argvi = 0;
   18326           0 :     dXSARGS;
   18327             :     
   18328           0 :     if ((items < 2) || (items > 2)) {
   18329           0 :       SWIG_croak("Usage: symbolSetObj_filename_set(self,filename);");
   18330             :     }
   18331           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolSetObj, 0 |  0 );
   18332           0 :     if (!SWIG_IsOK(res1)) {
   18333           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolSetObj_filename_set" "', argument " "1"" of type '" "symbolSetObj *""'"); 
   18334             :     }
   18335           0 :     arg1 = (symbolSetObj *)(argp1);
   18336           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   18337           0 :     if (!SWIG_IsOK(res2)) {
   18338           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "symbolSetObj_filename_set" "', argument " "2"" of type '" "char *""'");
   18339             :     }
   18340           0 :     arg2 = (char *)(buf2);
   18341             :     {
   18342           0 :       if (arg1->filename) free((char*)arg1->filename);
   18343           0 :       if (arg2) {
   18344           0 :         arg1->filename = (char *) malloc(strlen(arg2)+1);
   18345             :         strcpy((char*)arg1->filename,arg2);
   18346             :       } else {
   18347           0 :         arg1->filename = 0;
   18348             :       }
   18349             :     }
   18350           0 :     ST(argvi) = sv_newmortal();
   18351             :     
   18352           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   18353           0 :     XSRETURN(argvi);
   18354           0 :   fail:
   18355             :     
   18356           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   18357           0 :     SWIG_croak_null();
   18358             :   }
   18359             : }
   18360             : 
   18361             : 
   18362           0 : XS(_wrap_symbolSetObj_filename_get) {
   18363             :   {
   18364             :     symbolSetObj *arg1 = (symbolSetObj *) 0 ;
   18365           0 :     void *argp1 = 0 ;
   18366             :     int res1 = 0 ;
   18367             :     int argvi = 0;
   18368             :     char *result = 0 ;
   18369           0 :     dXSARGS;
   18370             :     
   18371           0 :     if ((items < 1) || (items > 1)) {
   18372           0 :       SWIG_croak("Usage: symbolSetObj_filename_get(self);");
   18373             :     }
   18374           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolSetObj, 0 |  0 );
   18375           0 :     if (!SWIG_IsOK(res1)) {
   18376           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolSetObj_filename_get" "', argument " "1"" of type '" "symbolSetObj *""'"); 
   18377             :     }
   18378           0 :     arg1 = (symbolSetObj *)(argp1);
   18379           0 :     result = (char *) ((arg1)->filename);
   18380           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   18381             :     
   18382           0 :     XSRETURN(argvi);
   18383           0 :   fail:
   18384             :     
   18385           0 :     SWIG_croak_null();
   18386             :   }
   18387             : }
   18388             : 
   18389             : 
   18390           0 : XS(_wrap_symbolSetObj_imagecachesize_set) {
   18391             :   {
   18392             :     symbolSetObj *arg1 = (symbolSetObj *) 0 ;
   18393             :     int arg2 ;
   18394           0 :     void *argp1 = 0 ;
   18395             :     int res1 = 0 ;
   18396             :     int val2 ;
   18397             :     int ecode2 = 0 ;
   18398             :     int argvi = 0;
   18399           0 :     dXSARGS;
   18400             :     
   18401           0 :     if ((items < 2) || (items > 2)) {
   18402           0 :       SWIG_croak("Usage: symbolSetObj_imagecachesize_set(self,imagecachesize);");
   18403             :     }
   18404           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolSetObj, 0 |  0 );
   18405           0 :     if (!SWIG_IsOK(res1)) {
   18406           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolSetObj_imagecachesize_set" "', argument " "1"" of type '" "symbolSetObj *""'"); 
   18407             :     }
   18408           0 :     arg1 = (symbolSetObj *)(argp1);
   18409           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   18410           0 :     if (!SWIG_IsOK(ecode2)) {
   18411           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "symbolSetObj_imagecachesize_set" "', argument " "2"" of type '" "int""'");
   18412             :     } 
   18413             :     arg2 = (int)(val2);
   18414           0 :     if (arg1) (arg1)->imagecachesize = arg2;
   18415           0 :     ST(argvi) = sv_newmortal();
   18416             :     
   18417             :     
   18418           0 :     XSRETURN(argvi);
   18419           0 :   fail:
   18420             :     
   18421             :     
   18422           0 :     SWIG_croak_null();
   18423             :   }
   18424             : }
   18425             : 
   18426             : 
   18427           0 : XS(_wrap_symbolSetObj_imagecachesize_get) {
   18428             :   {
   18429             :     symbolSetObj *arg1 = (symbolSetObj *) 0 ;
   18430           0 :     void *argp1 = 0 ;
   18431             :     int res1 = 0 ;
   18432             :     int argvi = 0;
   18433             :     int result;
   18434           0 :     dXSARGS;
   18435             :     
   18436           0 :     if ((items < 1) || (items > 1)) {
   18437           0 :       SWIG_croak("Usage: symbolSetObj_imagecachesize_get(self);");
   18438             :     }
   18439           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolSetObj, 0 |  0 );
   18440           0 :     if (!SWIG_IsOK(res1)) {
   18441           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolSetObj_imagecachesize_get" "', argument " "1"" of type '" "symbolSetObj *""'"); 
   18442             :     }
   18443           0 :     arg1 = (symbolSetObj *)(argp1);
   18444           0 :     result = (int) ((arg1)->imagecachesize);
   18445           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   18446             :     
   18447           0 :     XSRETURN(argvi);
   18448           0 :   fail:
   18449             :     
   18450           0 :     SWIG_croak_null();
   18451             :   }
   18452             : }
   18453             : 
   18454             : 
   18455           0 : XS(_wrap_symbolSetObj_numsymbols_get) {
   18456             :   {
   18457             :     symbolSetObj *arg1 = (symbolSetObj *) 0 ;
   18458           0 :     void *argp1 = 0 ;
   18459             :     int res1 = 0 ;
   18460             :     int argvi = 0;
   18461             :     int result;
   18462           0 :     dXSARGS;
   18463             :     
   18464           0 :     if ((items < 1) || (items > 1)) {
   18465           0 :       SWIG_croak("Usage: symbolSetObj_numsymbols_get(self);");
   18466             :     }
   18467           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolSetObj, 0 |  0 );
   18468           0 :     if (!SWIG_IsOK(res1)) {
   18469           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolSetObj_numsymbols_get" "', argument " "1"" of type '" "symbolSetObj *""'"); 
   18470             :     }
   18471           0 :     arg1 = (symbolSetObj *)(argp1);
   18472           0 :     result = (int) ((arg1)->numsymbols);
   18473           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   18474             :     
   18475           0 :     XSRETURN(argvi);
   18476           0 :   fail:
   18477             :     
   18478           0 :     SWIG_croak_null();
   18479             :   }
   18480             : }
   18481             : 
   18482             : 
   18483           0 : XS(_wrap_symbolSetObj_maxsymbols_get) {
   18484             :   {
   18485             :     symbolSetObj *arg1 = (symbolSetObj *) 0 ;
   18486           0 :     void *argp1 = 0 ;
   18487             :     int res1 = 0 ;
   18488             :     int argvi = 0;
   18489             :     int result;
   18490           0 :     dXSARGS;
   18491             :     
   18492           0 :     if ((items < 1) || (items > 1)) {
   18493           0 :       SWIG_croak("Usage: symbolSetObj_maxsymbols_get(self);");
   18494             :     }
   18495           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolSetObj, 0 |  0 );
   18496           0 :     if (!SWIG_IsOK(res1)) {
   18497           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolSetObj_maxsymbols_get" "', argument " "1"" of type '" "symbolSetObj *""'"); 
   18498             :     }
   18499           0 :     arg1 = (symbolSetObj *)(argp1);
   18500           0 :     result = (int) ((arg1)->maxsymbols);
   18501           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   18502             :     
   18503           0 :     XSRETURN(argvi);
   18504           0 :   fail:
   18505             :     
   18506           0 :     SWIG_croak_null();
   18507             :   }
   18508             : }
   18509             : 
   18510             : 
   18511           0 : XS(_wrap_new_symbolSetObj) {
   18512             :   {
   18513             :     char *arg1 = (char *) NULL ;
   18514             :     int res1 ;
   18515           0 :     char *buf1 = 0 ;
   18516           0 :     int alloc1 = 0 ;
   18517             :     int argvi = 0;
   18518             :     symbolSetObj *result = 0 ;
   18519           0 :     dXSARGS;
   18520             :     
   18521           0 :     if ((items < 0) || (items > 1)) {
   18522           0 :       SWIG_croak("Usage: new_symbolSetObj(symbolfile);");
   18523             :     }
   18524           0 :     if (items > 0) {
   18525           0 :       res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
   18526           0 :       if (!SWIG_IsOK(res1)) {
   18527           0 :         SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_symbolSetObj" "', argument " "1"" of type '" "char const *""'");
   18528             :       }
   18529           0 :       arg1 = (char *)(buf1);
   18530             :     }
   18531           0 :     result = (symbolSetObj *)new_symbolSetObj((char const *)arg1);
   18532           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_symbolSetObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   18533           0 :     if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
   18534           0 :     XSRETURN(argvi);
   18535           0 :   fail:
   18536           0 :     if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
   18537           0 :     SWIG_croak_null();
   18538             :   }
   18539             : }
   18540             : 
   18541             : 
   18542           0 : XS(_wrap_delete_symbolSetObj) {
   18543             :   {
   18544             :     symbolSetObj *arg1 = (symbolSetObj *) 0 ;
   18545           0 :     void *argp1 = 0 ;
   18546             :     int res1 = 0 ;
   18547             :     int argvi = 0;
   18548           0 :     dXSARGS;
   18549             :     
   18550           0 :     if ((items < 1) || (items > 1)) {
   18551           0 :       SWIG_croak("Usage: delete_symbolSetObj(self);");
   18552             :     }
   18553           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolSetObj, SWIG_POINTER_DISOWN |  0 );
   18554           0 :     if (!SWIG_IsOK(res1)) {
   18555           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_symbolSetObj" "', argument " "1"" of type '" "symbolSetObj *""'"); 
   18556             :     }
   18557           0 :     arg1 = (symbolSetObj *)(argp1);
   18558           0 :     delete_symbolSetObj(arg1);
   18559           0 :     ST(argvi) = sv_newmortal();
   18560             :     
   18561           0 :     XSRETURN(argvi);
   18562           0 :   fail:
   18563             :     
   18564           0 :     SWIG_croak_null();
   18565             :   }
   18566             : }
   18567             : 
   18568             : 
   18569           0 : XS(_wrap_symbolSetObj_getSymbol) {
   18570             :   {
   18571             :     symbolSetObj *arg1 = (symbolSetObj *) 0 ;
   18572             :     int arg2 ;
   18573           0 :     void *argp1 = 0 ;
   18574             :     int res1 = 0 ;
   18575             :     int val2 ;
   18576             :     int ecode2 = 0 ;
   18577             :     int argvi = 0;
   18578             :     symbolObj *result = 0 ;
   18579           0 :     dXSARGS;
   18580             :     
   18581           0 :     if ((items < 2) || (items > 2)) {
   18582           0 :       SWIG_croak("Usage: symbolSetObj_getSymbol(self,i);");
   18583             :     }
   18584           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolSetObj, 0 |  0 );
   18585           0 :     if (!SWIG_IsOK(res1)) {
   18586           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolSetObj_getSymbol" "', argument " "1"" of type '" "symbolSetObj *""'"); 
   18587             :     }
   18588           0 :     arg1 = (symbolSetObj *)(argp1);
   18589           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   18590           0 :     if (!SWIG_IsOK(ecode2)) {
   18591           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "symbolSetObj_getSymbol" "', argument " "2"" of type '" "int""'");
   18592             :     } 
   18593             :     arg2 = (int)(val2);
   18594             :     result = (symbolObj *)symbolSetObj_getSymbol(arg1,arg2);
   18595           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_symbolObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   18596             :     
   18597             :     
   18598           0 :     XSRETURN(argvi);
   18599           0 :   fail:
   18600             :     
   18601             :     
   18602           0 :     SWIG_croak_null();
   18603             :   }
   18604             : }
   18605             : 
   18606             : 
   18607           0 : XS(_wrap_symbolSetObj_getSymbolByName) {
   18608             :   {
   18609             :     symbolSetObj *arg1 = (symbolSetObj *) 0 ;
   18610             :     char *arg2 = (char *) 0 ;
   18611           0 :     void *argp1 = 0 ;
   18612             :     int res1 = 0 ;
   18613             :     int res2 ;
   18614           0 :     char *buf2 = 0 ;
   18615           0 :     int alloc2 = 0 ;
   18616             :     int argvi = 0;
   18617             :     symbolObj *result = 0 ;
   18618           0 :     dXSARGS;
   18619             :     
   18620           0 :     if ((items < 2) || (items > 2)) {
   18621           0 :       SWIG_croak("Usage: symbolSetObj_getSymbolByName(self,symbolname);");
   18622             :     }
   18623           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolSetObj, 0 |  0 );
   18624           0 :     if (!SWIG_IsOK(res1)) {
   18625           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolSetObj_getSymbolByName" "', argument " "1"" of type '" "symbolSetObj *""'"); 
   18626             :     }
   18627           0 :     arg1 = (symbolSetObj *)(argp1);
   18628           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   18629           0 :     if (!SWIG_IsOK(res2)) {
   18630           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "symbolSetObj_getSymbolByName" "', argument " "2"" of type '" "char *""'");
   18631             :     }
   18632           0 :     arg2 = (char *)(buf2);
   18633           0 :     result = (symbolObj *)symbolSetObj_getSymbolByName(arg1,arg2);
   18634           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_symbolObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   18635             :     
   18636           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   18637           0 :     XSRETURN(argvi);
   18638           0 :   fail:
   18639             :     
   18640           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   18641           0 :     SWIG_croak_null();
   18642             :   }
   18643             : }
   18644             : 
   18645             : 
   18646           0 : XS(_wrap_symbolSetObj_index) {
   18647             :   {
   18648             :     symbolSetObj *arg1 = (symbolSetObj *) 0 ;
   18649             :     char *arg2 = (char *) 0 ;
   18650           0 :     void *argp1 = 0 ;
   18651             :     int res1 = 0 ;
   18652             :     int res2 ;
   18653           0 :     char *buf2 = 0 ;
   18654           0 :     int alloc2 = 0 ;
   18655             :     int argvi = 0;
   18656             :     int result;
   18657           0 :     dXSARGS;
   18658             :     
   18659           0 :     if ((items < 2) || (items > 2)) {
   18660           0 :       SWIG_croak("Usage: symbolSetObj_index(self,symbolname);");
   18661             :     }
   18662           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolSetObj, 0 |  0 );
   18663           0 :     if (!SWIG_IsOK(res1)) {
   18664           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolSetObj_index" "', argument " "1"" of type '" "symbolSetObj *""'"); 
   18665             :     }
   18666           0 :     arg1 = (symbolSetObj *)(argp1);
   18667           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   18668           0 :     if (!SWIG_IsOK(res2)) {
   18669           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "symbolSetObj_index" "', argument " "2"" of type '" "char *""'");
   18670             :     }
   18671           0 :     arg2 = (char *)(buf2);
   18672             :     result = (int)symbolSetObj_index(arg1,arg2);
   18673           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   18674             :     
   18675           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   18676           0 :     XSRETURN(argvi);
   18677           0 :   fail:
   18678             :     
   18679           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   18680           0 :     SWIG_croak_null();
   18681             :   }
   18682             : }
   18683             : 
   18684             : 
   18685           0 : XS(_wrap_symbolSetObj_appendSymbol) {
   18686             :   {
   18687             :     symbolSetObj *arg1 = (symbolSetObj *) 0 ;
   18688             :     symbolObj *arg2 = (symbolObj *) 0 ;
   18689           0 :     void *argp1 = 0 ;
   18690             :     int res1 = 0 ;
   18691           0 :     void *argp2 = 0 ;
   18692             :     int res2 = 0 ;
   18693             :     int argvi = 0;
   18694             :     int result;
   18695           0 :     dXSARGS;
   18696             :     
   18697           0 :     if ((items < 2) || (items > 2)) {
   18698           0 :       SWIG_croak("Usage: symbolSetObj_appendSymbol(self,symbol);");
   18699             :     }
   18700           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolSetObj, 0 |  0 );
   18701           0 :     if (!SWIG_IsOK(res1)) {
   18702           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolSetObj_appendSymbol" "', argument " "1"" of type '" "symbolSetObj *""'"); 
   18703             :     }
   18704           0 :     arg1 = (symbolSetObj *)(argp1);
   18705           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_symbolObj, 0 |  0 );
   18706           0 :     if (!SWIG_IsOK(res2)) {
   18707           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "symbolSetObj_appendSymbol" "', argument " "2"" of type '" "symbolObj *""'"); 
   18708             :     }
   18709           0 :     arg2 = (symbolObj *)(argp2);
   18710             :     result = (int)symbolSetObj_appendSymbol(arg1,arg2);
   18711           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   18712             :     
   18713             :     
   18714           0 :     XSRETURN(argvi);
   18715           0 :   fail:
   18716             :     
   18717             :     
   18718           0 :     SWIG_croak_null();
   18719             :   }
   18720             : }
   18721             : 
   18722             : 
   18723           0 : XS(_wrap_symbolSetObj_removeSymbol) {
   18724             :   {
   18725             :     symbolSetObj *arg1 = (symbolSetObj *) 0 ;
   18726             :     int arg2 ;
   18727           0 :     void *argp1 = 0 ;
   18728             :     int res1 = 0 ;
   18729             :     int val2 ;
   18730             :     int ecode2 = 0 ;
   18731             :     int argvi = 0;
   18732             :     symbolObj *result = 0 ;
   18733           0 :     dXSARGS;
   18734             :     
   18735           0 :     if ((items < 2) || (items > 2)) {
   18736           0 :       SWIG_croak("Usage: symbolSetObj_removeSymbol(self,index);");
   18737             :     }
   18738           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolSetObj, 0 |  0 );
   18739           0 :     if (!SWIG_IsOK(res1)) {
   18740           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolSetObj_removeSymbol" "', argument " "1"" of type '" "symbolSetObj *""'"); 
   18741             :     }
   18742           0 :     arg1 = (symbolSetObj *)(argp1);
   18743           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   18744           0 :     if (!SWIG_IsOK(ecode2)) {
   18745           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "symbolSetObj_removeSymbol" "', argument " "2"" of type '" "int""'");
   18746             :     } 
   18747             :     arg2 = (int)(val2);
   18748           0 :     result = (symbolObj *)symbolSetObj_removeSymbol(arg1,arg2);
   18749           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_symbolObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   18750             :     
   18751             :     
   18752           0 :     XSRETURN(argvi);
   18753           0 :   fail:
   18754             :     
   18755             :     
   18756           0 :     SWIG_croak_null();
   18757             :   }
   18758             : }
   18759             : 
   18760             : 
   18761           0 : XS(_wrap_symbolSetObj_save) {
   18762             :   {
   18763             :     symbolSetObj *arg1 = (symbolSetObj *) 0 ;
   18764             :     char *arg2 = (char *) 0 ;
   18765           0 :     void *argp1 = 0 ;
   18766             :     int res1 = 0 ;
   18767             :     int res2 ;
   18768           0 :     char *buf2 = 0 ;
   18769           0 :     int alloc2 = 0 ;
   18770             :     int argvi = 0;
   18771             :     int result;
   18772           0 :     dXSARGS;
   18773             :     
   18774           0 :     if ((items < 2) || (items > 2)) {
   18775           0 :       SWIG_croak("Usage: symbolSetObj_save(self,filename);");
   18776             :     }
   18777           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolSetObj, 0 |  0 );
   18778           0 :     if (!SWIG_IsOK(res1)) {
   18779           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolSetObj_save" "', argument " "1"" of type '" "symbolSetObj *""'"); 
   18780             :     }
   18781           0 :     arg1 = (symbolSetObj *)(argp1);
   18782           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   18783           0 :     if (!SWIG_IsOK(res2)) {
   18784           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "symbolSetObj_save" "', argument " "2"" of type '" "char const *""'");
   18785             :     }
   18786           0 :     arg2 = (char *)(buf2);
   18787             :     result = (int)symbolSetObj_save(arg1,(char const *)arg2);
   18788           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   18789             :     
   18790           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   18791           0 :     XSRETURN(argvi);
   18792           0 :   fail:
   18793             :     
   18794           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   18795           0 :     SWIG_croak_null();
   18796             :   }
   18797             : }
   18798             : 
   18799             : 
   18800           0 : XS(_wrap_referenceMapObj_extent_set) {
   18801             :   {
   18802             :     referenceMapObj *arg1 = (referenceMapObj *) 0 ;
   18803             :     rectObj *arg2 = (rectObj *) 0 ;
   18804           0 :     void *argp1 = 0 ;
   18805             :     int res1 = 0 ;
   18806           0 :     void *argp2 = 0 ;
   18807             :     int res2 = 0 ;
   18808             :     int argvi = 0;
   18809           0 :     dXSARGS;
   18810             :     
   18811           0 :     if ((items < 2) || (items > 2)) {
   18812           0 :       SWIG_croak("Usage: referenceMapObj_extent_set(self,extent);");
   18813             :     }
   18814           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 |  0 );
   18815           0 :     if (!SWIG_IsOK(res1)) {
   18816           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_extent_set" "', argument " "1"" of type '" "referenceMapObj *""'"); 
   18817             :     }
   18818           0 :     arg1 = (referenceMapObj *)(argp1);
   18819           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_rectObj, 0 |  0 );
   18820           0 :     if (!SWIG_IsOK(res2)) {
   18821           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "referenceMapObj_extent_set" "', argument " "2"" of type '" "rectObj *""'"); 
   18822             :     }
   18823           0 :     arg2 = (rectObj *)(argp2);
   18824           0 :     if (arg1) (arg1)->extent = *arg2;
   18825           0 :     ST(argvi) = sv_newmortal();
   18826             :     
   18827             :     
   18828           0 :     XSRETURN(argvi);
   18829           0 :   fail:
   18830             :     
   18831             :     
   18832           0 :     SWIG_croak_null();
   18833             :   }
   18834             : }
   18835             : 
   18836             : 
   18837           0 : XS(_wrap_referenceMapObj_extent_get) {
   18838             :   {
   18839             :     referenceMapObj *arg1 = (referenceMapObj *) 0 ;
   18840           0 :     void *argp1 = 0 ;
   18841             :     int res1 = 0 ;
   18842             :     int argvi = 0;
   18843             :     rectObj *result = 0 ;
   18844           0 :     dXSARGS;
   18845             :     
   18846           0 :     if ((items < 1) || (items > 1)) {
   18847           0 :       SWIG_croak("Usage: referenceMapObj_extent_get(self);");
   18848             :     }
   18849           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 |  0 );
   18850           0 :     if (!SWIG_IsOK(res1)) {
   18851           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_extent_get" "', argument " "1"" of type '" "referenceMapObj *""'"); 
   18852             :     }
   18853           0 :     arg1 = (referenceMapObj *)(argp1);
   18854           0 :     result = (rectObj *)& ((arg1)->extent);
   18855           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_rectObj, 0 | SWIG_SHADOW); argvi++ ;
   18856             :     
   18857           0 :     XSRETURN(argvi);
   18858           0 :   fail:
   18859             :     
   18860           0 :     SWIG_croak_null();
   18861             :   }
   18862             : }
   18863             : 
   18864             : 
   18865           0 : XS(_wrap_referenceMapObj_height_set) {
   18866             :   {
   18867             :     referenceMapObj *arg1 = (referenceMapObj *) 0 ;
   18868             :     int arg2 ;
   18869           0 :     void *argp1 = 0 ;
   18870             :     int res1 = 0 ;
   18871             :     int val2 ;
   18872             :     int ecode2 = 0 ;
   18873             :     int argvi = 0;
   18874           0 :     dXSARGS;
   18875             :     
   18876           0 :     if ((items < 2) || (items > 2)) {
   18877           0 :       SWIG_croak("Usage: referenceMapObj_height_set(self,height);");
   18878             :     }
   18879           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 |  0 );
   18880           0 :     if (!SWIG_IsOK(res1)) {
   18881           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_height_set" "', argument " "1"" of type '" "referenceMapObj *""'"); 
   18882             :     }
   18883           0 :     arg1 = (referenceMapObj *)(argp1);
   18884           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   18885           0 :     if (!SWIG_IsOK(ecode2)) {
   18886           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "referenceMapObj_height_set" "', argument " "2"" of type '" "int""'");
   18887             :     } 
   18888             :     arg2 = (int)(val2);
   18889           0 :     if (arg1) (arg1)->height = arg2;
   18890           0 :     ST(argvi) = sv_newmortal();
   18891             :     
   18892             :     
   18893           0 :     XSRETURN(argvi);
   18894           0 :   fail:
   18895             :     
   18896             :     
   18897           0 :     SWIG_croak_null();
   18898             :   }
   18899             : }
   18900             : 
   18901             : 
   18902           0 : XS(_wrap_referenceMapObj_height_get) {
   18903             :   {
   18904             :     referenceMapObj *arg1 = (referenceMapObj *) 0 ;
   18905           0 :     void *argp1 = 0 ;
   18906             :     int res1 = 0 ;
   18907             :     int argvi = 0;
   18908             :     int result;
   18909           0 :     dXSARGS;
   18910             :     
   18911           0 :     if ((items < 1) || (items > 1)) {
   18912           0 :       SWIG_croak("Usage: referenceMapObj_height_get(self);");
   18913             :     }
   18914           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 |  0 );
   18915           0 :     if (!SWIG_IsOK(res1)) {
   18916           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_height_get" "', argument " "1"" of type '" "referenceMapObj *""'"); 
   18917             :     }
   18918           0 :     arg1 = (referenceMapObj *)(argp1);
   18919           0 :     result = (int) ((arg1)->height);
   18920           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   18921             :     
   18922           0 :     XSRETURN(argvi);
   18923           0 :   fail:
   18924             :     
   18925           0 :     SWIG_croak_null();
   18926             :   }
   18927             : }
   18928             : 
   18929             : 
   18930           0 : XS(_wrap_referenceMapObj_width_set) {
   18931             :   {
   18932             :     referenceMapObj *arg1 = (referenceMapObj *) 0 ;
   18933             :     int arg2 ;
   18934           0 :     void *argp1 = 0 ;
   18935             :     int res1 = 0 ;
   18936             :     int val2 ;
   18937             :     int ecode2 = 0 ;
   18938             :     int argvi = 0;
   18939           0 :     dXSARGS;
   18940             :     
   18941           0 :     if ((items < 2) || (items > 2)) {
   18942           0 :       SWIG_croak("Usage: referenceMapObj_width_set(self,width);");
   18943             :     }
   18944           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 |  0 );
   18945           0 :     if (!SWIG_IsOK(res1)) {
   18946           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_width_set" "', argument " "1"" of type '" "referenceMapObj *""'"); 
   18947             :     }
   18948           0 :     arg1 = (referenceMapObj *)(argp1);
   18949           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   18950           0 :     if (!SWIG_IsOK(ecode2)) {
   18951           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "referenceMapObj_width_set" "', argument " "2"" of type '" "int""'");
   18952             :     } 
   18953             :     arg2 = (int)(val2);
   18954           0 :     if (arg1) (arg1)->width = arg2;
   18955           0 :     ST(argvi) = sv_newmortal();
   18956             :     
   18957             :     
   18958           0 :     XSRETURN(argvi);
   18959           0 :   fail:
   18960             :     
   18961             :     
   18962           0 :     SWIG_croak_null();
   18963             :   }
   18964             : }
   18965             : 
   18966             : 
   18967           0 : XS(_wrap_referenceMapObj_width_get) {
   18968             :   {
   18969             :     referenceMapObj *arg1 = (referenceMapObj *) 0 ;
   18970           0 :     void *argp1 = 0 ;
   18971             :     int res1 = 0 ;
   18972             :     int argvi = 0;
   18973             :     int result;
   18974           0 :     dXSARGS;
   18975             :     
   18976           0 :     if ((items < 1) || (items > 1)) {
   18977           0 :       SWIG_croak("Usage: referenceMapObj_width_get(self);");
   18978             :     }
   18979           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 |  0 );
   18980           0 :     if (!SWIG_IsOK(res1)) {
   18981           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_width_get" "', argument " "1"" of type '" "referenceMapObj *""'"); 
   18982             :     }
   18983           0 :     arg1 = (referenceMapObj *)(argp1);
   18984           0 :     result = (int) ((arg1)->width);
   18985           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   18986             :     
   18987           0 :     XSRETURN(argvi);
   18988           0 :   fail:
   18989             :     
   18990           0 :     SWIG_croak_null();
   18991             :   }
   18992             : }
   18993             : 
   18994             : 
   18995           0 : XS(_wrap_referenceMapObj_color_set) {
   18996             :   {
   18997             :     referenceMapObj *arg1 = (referenceMapObj *) 0 ;
   18998             :     colorObj *arg2 = (colorObj *) 0 ;
   18999           0 :     void *argp1 = 0 ;
   19000             :     int res1 = 0 ;
   19001           0 :     void *argp2 = 0 ;
   19002             :     int res2 = 0 ;
   19003             :     int argvi = 0;
   19004           0 :     dXSARGS;
   19005             :     
   19006           0 :     if ((items < 2) || (items > 2)) {
   19007           0 :       SWIG_croak("Usage: referenceMapObj_color_set(self,color);");
   19008             :     }
   19009           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 |  0 );
   19010           0 :     if (!SWIG_IsOK(res1)) {
   19011           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_color_set" "', argument " "1"" of type '" "referenceMapObj *""'"); 
   19012             :     }
   19013           0 :     arg1 = (referenceMapObj *)(argp1);
   19014           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_colorObj, 0 |  0 );
   19015           0 :     if (!SWIG_IsOK(res2)) {
   19016           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "referenceMapObj_color_set" "', argument " "2"" of type '" "colorObj *""'"); 
   19017             :     }
   19018           0 :     arg2 = (colorObj *)(argp2);
   19019           0 :     if (arg1) (arg1)->color = *arg2;
   19020           0 :     ST(argvi) = sv_newmortal();
   19021             :     
   19022             :     
   19023           0 :     XSRETURN(argvi);
   19024           0 :   fail:
   19025             :     
   19026             :     
   19027           0 :     SWIG_croak_null();
   19028             :   }
   19029             : }
   19030             : 
   19031             : 
   19032           0 : XS(_wrap_referenceMapObj_color_get) {
   19033             :   {
   19034             :     referenceMapObj *arg1 = (referenceMapObj *) 0 ;
   19035           0 :     void *argp1 = 0 ;
   19036             :     int res1 = 0 ;
   19037             :     int argvi = 0;
   19038             :     colorObj *result = 0 ;
   19039           0 :     dXSARGS;
   19040             :     
   19041           0 :     if ((items < 1) || (items > 1)) {
   19042           0 :       SWIG_croak("Usage: referenceMapObj_color_get(self);");
   19043             :     }
   19044           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 |  0 );
   19045           0 :     if (!SWIG_IsOK(res1)) {
   19046           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_color_get" "', argument " "1"" of type '" "referenceMapObj *""'"); 
   19047             :     }
   19048           0 :     arg1 = (referenceMapObj *)(argp1);
   19049           0 :     result = (colorObj *)& ((arg1)->color);
   19050           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_colorObj, 0 | SWIG_SHADOW); argvi++ ;
   19051             :     
   19052           0 :     XSRETURN(argvi);
   19053           0 :   fail:
   19054             :     
   19055           0 :     SWIG_croak_null();
   19056             :   }
   19057             : }
   19058             : 
   19059             : 
   19060           0 : XS(_wrap_referenceMapObj_outlinecolor_set) {
   19061             :   {
   19062             :     referenceMapObj *arg1 = (referenceMapObj *) 0 ;
   19063             :     colorObj *arg2 = (colorObj *) 0 ;
   19064           0 :     void *argp1 = 0 ;
   19065             :     int res1 = 0 ;
   19066           0 :     void *argp2 = 0 ;
   19067             :     int res2 = 0 ;
   19068             :     int argvi = 0;
   19069           0 :     dXSARGS;
   19070             :     
   19071           0 :     if ((items < 2) || (items > 2)) {
   19072           0 :       SWIG_croak("Usage: referenceMapObj_outlinecolor_set(self,outlinecolor);");
   19073             :     }
   19074           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 |  0 );
   19075           0 :     if (!SWIG_IsOK(res1)) {
   19076           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_outlinecolor_set" "', argument " "1"" of type '" "referenceMapObj *""'"); 
   19077             :     }
   19078           0 :     arg1 = (referenceMapObj *)(argp1);
   19079           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_colorObj, 0 |  0 );
   19080           0 :     if (!SWIG_IsOK(res2)) {
   19081           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "referenceMapObj_outlinecolor_set" "', argument " "2"" of type '" "colorObj *""'"); 
   19082             :     }
   19083           0 :     arg2 = (colorObj *)(argp2);
   19084           0 :     if (arg1) (arg1)->outlinecolor = *arg2;
   19085           0 :     ST(argvi) = sv_newmortal();
   19086             :     
   19087             :     
   19088           0 :     XSRETURN(argvi);
   19089           0 :   fail:
   19090             :     
   19091             :     
   19092           0 :     SWIG_croak_null();
   19093             :   }
   19094             : }
   19095             : 
   19096             : 
   19097           0 : XS(_wrap_referenceMapObj_outlinecolor_get) {
   19098             :   {
   19099             :     referenceMapObj *arg1 = (referenceMapObj *) 0 ;
   19100           0 :     void *argp1 = 0 ;
   19101             :     int res1 = 0 ;
   19102             :     int argvi = 0;
   19103             :     colorObj *result = 0 ;
   19104           0 :     dXSARGS;
   19105             :     
   19106           0 :     if ((items < 1) || (items > 1)) {
   19107           0 :       SWIG_croak("Usage: referenceMapObj_outlinecolor_get(self);");
   19108             :     }
   19109           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 |  0 );
   19110           0 :     if (!SWIG_IsOK(res1)) {
   19111           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_outlinecolor_get" "', argument " "1"" of type '" "referenceMapObj *""'"); 
   19112             :     }
   19113           0 :     arg1 = (referenceMapObj *)(argp1);
   19114           0 :     result = (colorObj *)& ((arg1)->outlinecolor);
   19115           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_colorObj, 0 | SWIG_SHADOW); argvi++ ;
   19116             :     
   19117           0 :     XSRETURN(argvi);
   19118           0 :   fail:
   19119             :     
   19120           0 :     SWIG_croak_null();
   19121             :   }
   19122             : }
   19123             : 
   19124             : 
   19125           0 : XS(_wrap_referenceMapObj_image_set) {
   19126             :   {
   19127             :     referenceMapObj *arg1 = (referenceMapObj *) 0 ;
   19128             :     char *arg2 = (char *) 0 ;
   19129           0 :     void *argp1 = 0 ;
   19130             :     int res1 = 0 ;
   19131             :     int res2 ;
   19132           0 :     char *buf2 = 0 ;
   19133           0 :     int alloc2 = 0 ;
   19134             :     int argvi = 0;
   19135           0 :     dXSARGS;
   19136             :     
   19137           0 :     if ((items < 2) || (items > 2)) {
   19138           0 :       SWIG_croak("Usage: referenceMapObj_image_set(self,image);");
   19139             :     }
   19140           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 |  0 );
   19141           0 :     if (!SWIG_IsOK(res1)) {
   19142           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_image_set" "', argument " "1"" of type '" "referenceMapObj *""'"); 
   19143             :     }
   19144           0 :     arg1 = (referenceMapObj *)(argp1);
   19145           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   19146           0 :     if (!SWIG_IsOK(res2)) {
   19147           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "referenceMapObj_image_set" "', argument " "2"" of type '" "char *""'");
   19148             :     }
   19149           0 :     arg2 = (char *)(buf2);
   19150             :     {
   19151           0 :       if (arg1->image) free((char*)arg1->image);
   19152           0 :       if (arg2) {
   19153           0 :         arg1->image = (char *) malloc(strlen(arg2)+1);
   19154             :         strcpy((char*)arg1->image,arg2);
   19155             :       } else {
   19156           0 :         arg1->image = 0;
   19157             :       }
   19158             :     }
   19159           0 :     ST(argvi) = sv_newmortal();
   19160             :     
   19161           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   19162           0 :     XSRETURN(argvi);
   19163           0 :   fail:
   19164             :     
   19165           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   19166           0 :     SWIG_croak_null();
   19167             :   }
   19168             : }
   19169             : 
   19170             : 
   19171           0 : XS(_wrap_referenceMapObj_image_get) {
   19172             :   {
   19173             :     referenceMapObj *arg1 = (referenceMapObj *) 0 ;
   19174           0 :     void *argp1 = 0 ;
   19175             :     int res1 = 0 ;
   19176             :     int argvi = 0;
   19177             :     char *result = 0 ;
   19178           0 :     dXSARGS;
   19179             :     
   19180           0 :     if ((items < 1) || (items > 1)) {
   19181           0 :       SWIG_croak("Usage: referenceMapObj_image_get(self);");
   19182             :     }
   19183           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 |  0 );
   19184           0 :     if (!SWIG_IsOK(res1)) {
   19185           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_image_get" "', argument " "1"" of type '" "referenceMapObj *""'"); 
   19186             :     }
   19187           0 :     arg1 = (referenceMapObj *)(argp1);
   19188           0 :     result = (char *) ((arg1)->image);
   19189           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   19190             :     
   19191           0 :     XSRETURN(argvi);
   19192           0 :   fail:
   19193             :     
   19194           0 :     SWIG_croak_null();
   19195             :   }
   19196             : }
   19197             : 
   19198             : 
   19199           0 : XS(_wrap_referenceMapObj_status_set) {
   19200             :   {
   19201             :     referenceMapObj *arg1 = (referenceMapObj *) 0 ;
   19202             :     int arg2 ;
   19203           0 :     void *argp1 = 0 ;
   19204             :     int res1 = 0 ;
   19205             :     int val2 ;
   19206             :     int ecode2 = 0 ;
   19207             :     int argvi = 0;
   19208           0 :     dXSARGS;
   19209             :     
   19210           0 :     if ((items < 2) || (items > 2)) {
   19211           0 :       SWIG_croak("Usage: referenceMapObj_status_set(self,status);");
   19212             :     }
   19213           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 |  0 );
   19214           0 :     if (!SWIG_IsOK(res1)) {
   19215           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_status_set" "', argument " "1"" of type '" "referenceMapObj *""'"); 
   19216             :     }
   19217           0 :     arg1 = (referenceMapObj *)(argp1);
   19218           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   19219           0 :     if (!SWIG_IsOK(ecode2)) {
   19220           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "referenceMapObj_status_set" "', argument " "2"" of type '" "int""'");
   19221             :     } 
   19222             :     arg2 = (int)(val2);
   19223           0 :     if (arg1) (arg1)->status = arg2;
   19224           0 :     ST(argvi) = sv_newmortal();
   19225             :     
   19226             :     
   19227           0 :     XSRETURN(argvi);
   19228           0 :   fail:
   19229             :     
   19230             :     
   19231           0 :     SWIG_croak_null();
   19232             :   }
   19233             : }
   19234             : 
   19235             : 
   19236           0 : XS(_wrap_referenceMapObj_status_get) {
   19237             :   {
   19238             :     referenceMapObj *arg1 = (referenceMapObj *) 0 ;
   19239           0 :     void *argp1 = 0 ;
   19240             :     int res1 = 0 ;
   19241             :     int argvi = 0;
   19242             :     int result;
   19243           0 :     dXSARGS;
   19244             :     
   19245           0 :     if ((items < 1) || (items > 1)) {
   19246           0 :       SWIG_croak("Usage: referenceMapObj_status_get(self);");
   19247             :     }
   19248           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 |  0 );
   19249           0 :     if (!SWIG_IsOK(res1)) {
   19250           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_status_get" "', argument " "1"" of type '" "referenceMapObj *""'"); 
   19251             :     }
   19252           0 :     arg1 = (referenceMapObj *)(argp1);
   19253           0 :     result = (int) ((arg1)->status);
   19254           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   19255             :     
   19256           0 :     XSRETURN(argvi);
   19257           0 :   fail:
   19258             :     
   19259           0 :     SWIG_croak_null();
   19260             :   }
   19261             : }
   19262             : 
   19263             : 
   19264           0 : XS(_wrap_referenceMapObj_marker_set) {
   19265             :   {
   19266             :     referenceMapObj *arg1 = (referenceMapObj *) 0 ;
   19267             :     int arg2 ;
   19268           0 :     void *argp1 = 0 ;
   19269             :     int res1 = 0 ;
   19270             :     int val2 ;
   19271             :     int ecode2 = 0 ;
   19272             :     int argvi = 0;
   19273           0 :     dXSARGS;
   19274             :     
   19275           0 :     if ((items < 2) || (items > 2)) {
   19276           0 :       SWIG_croak("Usage: referenceMapObj_marker_set(self,marker);");
   19277             :     }
   19278           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 |  0 );
   19279           0 :     if (!SWIG_IsOK(res1)) {
   19280           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_marker_set" "', argument " "1"" of type '" "referenceMapObj *""'"); 
   19281             :     }
   19282           0 :     arg1 = (referenceMapObj *)(argp1);
   19283           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   19284           0 :     if (!SWIG_IsOK(ecode2)) {
   19285           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "referenceMapObj_marker_set" "', argument " "2"" of type '" "int""'");
   19286             :     } 
   19287             :     arg2 = (int)(val2);
   19288           0 :     if (arg1) (arg1)->marker = arg2;
   19289           0 :     ST(argvi) = sv_newmortal();
   19290             :     
   19291             :     
   19292           0 :     XSRETURN(argvi);
   19293           0 :   fail:
   19294             :     
   19295             :     
   19296           0 :     SWIG_croak_null();
   19297             :   }
   19298             : }
   19299             : 
   19300             : 
   19301           0 : XS(_wrap_referenceMapObj_marker_get) {
   19302             :   {
   19303             :     referenceMapObj *arg1 = (referenceMapObj *) 0 ;
   19304           0 :     void *argp1 = 0 ;
   19305             :     int res1 = 0 ;
   19306             :     int argvi = 0;
   19307             :     int result;
   19308           0 :     dXSARGS;
   19309             :     
   19310           0 :     if ((items < 1) || (items > 1)) {
   19311           0 :       SWIG_croak("Usage: referenceMapObj_marker_get(self);");
   19312             :     }
   19313           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 |  0 );
   19314           0 :     if (!SWIG_IsOK(res1)) {
   19315           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_marker_get" "', argument " "1"" of type '" "referenceMapObj *""'"); 
   19316             :     }
   19317           0 :     arg1 = (referenceMapObj *)(argp1);
   19318           0 :     result = (int) ((arg1)->marker);
   19319           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   19320             :     
   19321           0 :     XSRETURN(argvi);
   19322           0 :   fail:
   19323             :     
   19324           0 :     SWIG_croak_null();
   19325             :   }
   19326             : }
   19327             : 
   19328             : 
   19329           0 : XS(_wrap_referenceMapObj_markername_set) {
   19330             :   {
   19331             :     referenceMapObj *arg1 = (referenceMapObj *) 0 ;
   19332             :     char *arg2 = (char *) 0 ;
   19333           0 :     void *argp1 = 0 ;
   19334             :     int res1 = 0 ;
   19335             :     int res2 ;
   19336           0 :     char *buf2 = 0 ;
   19337           0 :     int alloc2 = 0 ;
   19338             :     int argvi = 0;
   19339           0 :     dXSARGS;
   19340             :     
   19341           0 :     if ((items < 2) || (items > 2)) {
   19342           0 :       SWIG_croak("Usage: referenceMapObj_markername_set(self,markername);");
   19343             :     }
   19344           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 |  0 );
   19345           0 :     if (!SWIG_IsOK(res1)) {
   19346           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_markername_set" "', argument " "1"" of type '" "referenceMapObj *""'"); 
   19347             :     }
   19348           0 :     arg1 = (referenceMapObj *)(argp1);
   19349           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   19350           0 :     if (!SWIG_IsOK(res2)) {
   19351           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "referenceMapObj_markername_set" "', argument " "2"" of type '" "char *""'");
   19352             :     }
   19353           0 :     arg2 = (char *)(buf2);
   19354             :     {
   19355           0 :       if (arg1->markername) free((char*)arg1->markername);
   19356           0 :       if (arg2) {
   19357           0 :         arg1->markername = (char *) malloc(strlen(arg2)+1);
   19358             :         strcpy((char*)arg1->markername,arg2);
   19359             :       } else {
   19360           0 :         arg1->markername = 0;
   19361             :       }
   19362             :     }
   19363           0 :     ST(argvi) = sv_newmortal();
   19364             :     
   19365           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   19366           0 :     XSRETURN(argvi);
   19367           0 :   fail:
   19368             :     
   19369           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   19370           0 :     SWIG_croak_null();
   19371             :   }
   19372             : }
   19373             : 
   19374             : 
   19375           0 : XS(_wrap_referenceMapObj_markername_get) {
   19376             :   {
   19377             :     referenceMapObj *arg1 = (referenceMapObj *) 0 ;
   19378           0 :     void *argp1 = 0 ;
   19379             :     int res1 = 0 ;
   19380             :     int argvi = 0;
   19381             :     char *result = 0 ;
   19382           0 :     dXSARGS;
   19383             :     
   19384           0 :     if ((items < 1) || (items > 1)) {
   19385           0 :       SWIG_croak("Usage: referenceMapObj_markername_get(self);");
   19386             :     }
   19387           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 |  0 );
   19388           0 :     if (!SWIG_IsOK(res1)) {
   19389           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_markername_get" "', argument " "1"" of type '" "referenceMapObj *""'"); 
   19390             :     }
   19391           0 :     arg1 = (referenceMapObj *)(argp1);
   19392           0 :     result = (char *) ((arg1)->markername);
   19393           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   19394             :     
   19395           0 :     XSRETURN(argvi);
   19396           0 :   fail:
   19397             :     
   19398           0 :     SWIG_croak_null();
   19399             :   }
   19400             : }
   19401             : 
   19402             : 
   19403           0 : XS(_wrap_referenceMapObj_markersize_set) {
   19404             :   {
   19405             :     referenceMapObj *arg1 = (referenceMapObj *) 0 ;
   19406             :     int arg2 ;
   19407           0 :     void *argp1 = 0 ;
   19408             :     int res1 = 0 ;
   19409             :     int val2 ;
   19410             :     int ecode2 = 0 ;
   19411             :     int argvi = 0;
   19412           0 :     dXSARGS;
   19413             :     
   19414           0 :     if ((items < 2) || (items > 2)) {
   19415           0 :       SWIG_croak("Usage: referenceMapObj_markersize_set(self,markersize);");
   19416             :     }
   19417           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 |  0 );
   19418           0 :     if (!SWIG_IsOK(res1)) {
   19419           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_markersize_set" "', argument " "1"" of type '" "referenceMapObj *""'"); 
   19420             :     }
   19421           0 :     arg1 = (referenceMapObj *)(argp1);
   19422           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   19423           0 :     if (!SWIG_IsOK(ecode2)) {
   19424           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "referenceMapObj_markersize_set" "', argument " "2"" of type '" "int""'");
   19425             :     } 
   19426             :     arg2 = (int)(val2);
   19427           0 :     if (arg1) (arg1)->markersize = arg2;
   19428           0 :     ST(argvi) = sv_newmortal();
   19429             :     
   19430             :     
   19431           0 :     XSRETURN(argvi);
   19432           0 :   fail:
   19433             :     
   19434             :     
   19435           0 :     SWIG_croak_null();
   19436             :   }
   19437             : }
   19438             : 
   19439             : 
   19440           0 : XS(_wrap_referenceMapObj_markersize_get) {
   19441             :   {
   19442             :     referenceMapObj *arg1 = (referenceMapObj *) 0 ;
   19443           0 :     void *argp1 = 0 ;
   19444             :     int res1 = 0 ;
   19445             :     int argvi = 0;
   19446             :     int result;
   19447           0 :     dXSARGS;
   19448             :     
   19449           0 :     if ((items < 1) || (items > 1)) {
   19450           0 :       SWIG_croak("Usage: referenceMapObj_markersize_get(self);");
   19451             :     }
   19452           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 |  0 );
   19453           0 :     if (!SWIG_IsOK(res1)) {
   19454           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_markersize_get" "', argument " "1"" of type '" "referenceMapObj *""'"); 
   19455             :     }
   19456           0 :     arg1 = (referenceMapObj *)(argp1);
   19457           0 :     result = (int) ((arg1)->markersize);
   19458           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   19459             :     
   19460           0 :     XSRETURN(argvi);
   19461           0 :   fail:
   19462             :     
   19463           0 :     SWIG_croak_null();
   19464             :   }
   19465             : }
   19466             : 
   19467             : 
   19468           0 : XS(_wrap_referenceMapObj_minboxsize_set) {
   19469             :   {
   19470             :     referenceMapObj *arg1 = (referenceMapObj *) 0 ;
   19471             :     int arg2 ;
   19472           0 :     void *argp1 = 0 ;
   19473             :     int res1 = 0 ;
   19474             :     int val2 ;
   19475             :     int ecode2 = 0 ;
   19476             :     int argvi = 0;
   19477           0 :     dXSARGS;
   19478             :     
   19479           0 :     if ((items < 2) || (items > 2)) {
   19480           0 :       SWIG_croak("Usage: referenceMapObj_minboxsize_set(self,minboxsize);");
   19481             :     }
   19482           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 |  0 );
   19483           0 :     if (!SWIG_IsOK(res1)) {
   19484           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_minboxsize_set" "', argument " "1"" of type '" "referenceMapObj *""'"); 
   19485             :     }
   19486           0 :     arg1 = (referenceMapObj *)(argp1);
   19487           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   19488           0 :     if (!SWIG_IsOK(ecode2)) {
   19489           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "referenceMapObj_minboxsize_set" "', argument " "2"" of type '" "int""'");
   19490             :     } 
   19491             :     arg2 = (int)(val2);
   19492           0 :     if (arg1) (arg1)->minboxsize = arg2;
   19493           0 :     ST(argvi) = sv_newmortal();
   19494             :     
   19495             :     
   19496           0 :     XSRETURN(argvi);
   19497           0 :   fail:
   19498             :     
   19499             :     
   19500           0 :     SWIG_croak_null();
   19501             :   }
   19502             : }
   19503             : 
   19504             : 
   19505           0 : XS(_wrap_referenceMapObj_minboxsize_get) {
   19506             :   {
   19507             :     referenceMapObj *arg1 = (referenceMapObj *) 0 ;
   19508           0 :     void *argp1 = 0 ;
   19509             :     int res1 = 0 ;
   19510             :     int argvi = 0;
   19511             :     int result;
   19512           0 :     dXSARGS;
   19513             :     
   19514           0 :     if ((items < 1) || (items > 1)) {
   19515           0 :       SWIG_croak("Usage: referenceMapObj_minboxsize_get(self);");
   19516             :     }
   19517           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 |  0 );
   19518           0 :     if (!SWIG_IsOK(res1)) {
   19519           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_minboxsize_get" "', argument " "1"" of type '" "referenceMapObj *""'"); 
   19520             :     }
   19521           0 :     arg1 = (referenceMapObj *)(argp1);
   19522           0 :     result = (int) ((arg1)->minboxsize);
   19523           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   19524             :     
   19525           0 :     XSRETURN(argvi);
   19526           0 :   fail:
   19527             :     
   19528           0 :     SWIG_croak_null();
   19529             :   }
   19530             : }
   19531             : 
   19532             : 
   19533           0 : XS(_wrap_referenceMapObj_maxboxsize_set) {
   19534             :   {
   19535             :     referenceMapObj *arg1 = (referenceMapObj *) 0 ;
   19536             :     int arg2 ;
   19537           0 :     void *argp1 = 0 ;
   19538             :     int res1 = 0 ;
   19539             :     int val2 ;
   19540             :     int ecode2 = 0 ;
   19541             :     int argvi = 0;
   19542           0 :     dXSARGS;
   19543             :     
   19544           0 :     if ((items < 2) || (items > 2)) {
   19545           0 :       SWIG_croak("Usage: referenceMapObj_maxboxsize_set(self,maxboxsize);");
   19546             :     }
   19547           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 |  0 );
   19548           0 :     if (!SWIG_IsOK(res1)) {
   19549           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_maxboxsize_set" "', argument " "1"" of type '" "referenceMapObj *""'"); 
   19550             :     }
   19551           0 :     arg1 = (referenceMapObj *)(argp1);
   19552           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   19553           0 :     if (!SWIG_IsOK(ecode2)) {
   19554           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "referenceMapObj_maxboxsize_set" "', argument " "2"" of type '" "int""'");
   19555             :     } 
   19556             :     arg2 = (int)(val2);
   19557           0 :     if (arg1) (arg1)->maxboxsize = arg2;
   19558           0 :     ST(argvi) = sv_newmortal();
   19559             :     
   19560             :     
   19561           0 :     XSRETURN(argvi);
   19562           0 :   fail:
   19563             :     
   19564             :     
   19565           0 :     SWIG_croak_null();
   19566             :   }
   19567             : }
   19568             : 
   19569             : 
   19570           0 : XS(_wrap_referenceMapObj_maxboxsize_get) {
   19571             :   {
   19572             :     referenceMapObj *arg1 = (referenceMapObj *) 0 ;
   19573           0 :     void *argp1 = 0 ;
   19574             :     int res1 = 0 ;
   19575             :     int argvi = 0;
   19576             :     int result;
   19577           0 :     dXSARGS;
   19578             :     
   19579           0 :     if ((items < 1) || (items > 1)) {
   19580           0 :       SWIG_croak("Usage: referenceMapObj_maxboxsize_get(self);");
   19581             :     }
   19582           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 |  0 );
   19583           0 :     if (!SWIG_IsOK(res1)) {
   19584           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_maxboxsize_get" "', argument " "1"" of type '" "referenceMapObj *""'"); 
   19585             :     }
   19586           0 :     arg1 = (referenceMapObj *)(argp1);
   19587           0 :     result = (int) ((arg1)->maxboxsize);
   19588           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   19589             :     
   19590           0 :     XSRETURN(argvi);
   19591           0 :   fail:
   19592             :     
   19593           0 :     SWIG_croak_null();
   19594             :   }
   19595             : }
   19596             : 
   19597             : 
   19598           0 : XS(_wrap_referenceMapObj_map_get) {
   19599             :   {
   19600             :     referenceMapObj *arg1 = (referenceMapObj *) 0 ;
   19601           0 :     void *argp1 = 0 ;
   19602             :     int res1 = 0 ;
   19603             :     int argvi = 0;
   19604             :     struct mapObj *result = 0 ;
   19605           0 :     dXSARGS;
   19606             :     
   19607           0 :     if ((items < 1) || (items > 1)) {
   19608           0 :       SWIG_croak("Usage: referenceMapObj_map_get(self);");
   19609             :     }
   19610           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 |  0 );
   19611           0 :     if (!SWIG_IsOK(res1)) {
   19612           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_map_get" "', argument " "1"" of type '" "referenceMapObj *""'"); 
   19613             :     }
   19614           0 :     arg1 = (referenceMapObj *)(argp1);
   19615             :     {
   19616             :       /* Accessing map */
   19617           0 :       result = (struct mapObj *) ((arg1)->map);;
   19618           0 :       MS_REFCNT_INCR(result);
   19619             :     }
   19620           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mapObj, 0 | SWIG_SHADOW); argvi++ ;
   19621             :     
   19622           0 :     XSRETURN(argvi);
   19623           0 :   fail:
   19624             :     
   19625           0 :     SWIG_croak_null();
   19626             :   }
   19627             : }
   19628             : 
   19629             : 
   19630           0 : XS(_wrap_referenceMapObj_updateFromString) {
   19631             :   {
   19632             :     referenceMapObj *arg1 = (referenceMapObj *) 0 ;
   19633             :     char *arg2 = (char *) 0 ;
   19634           0 :     void *argp1 = 0 ;
   19635             :     int res1 = 0 ;
   19636             :     int res2 ;
   19637           0 :     char *buf2 = 0 ;
   19638           0 :     int alloc2 = 0 ;
   19639             :     int argvi = 0;
   19640             :     int result;
   19641           0 :     dXSARGS;
   19642             :     
   19643           0 :     if ((items < 2) || (items > 2)) {
   19644           0 :       SWIG_croak("Usage: referenceMapObj_updateFromString(self,snippet);");
   19645             :     }
   19646           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 |  0 );
   19647           0 :     if (!SWIG_IsOK(res1)) {
   19648           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_updateFromString" "', argument " "1"" of type '" "referenceMapObj *""'"); 
   19649             :     }
   19650           0 :     arg1 = (referenceMapObj *)(argp1);
   19651           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   19652           0 :     if (!SWIG_IsOK(res2)) {
   19653           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "referenceMapObj_updateFromString" "', argument " "2"" of type '" "char *""'");
   19654             :     }
   19655           0 :     arg2 = (char *)(buf2);
   19656             :     result = (int)referenceMapObj_updateFromString(arg1,arg2);
   19657           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   19658             :     
   19659           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   19660           0 :     XSRETURN(argvi);
   19661           0 :   fail:
   19662             :     
   19663           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   19664           0 :     SWIG_croak_null();
   19665             :   }
   19666             : }
   19667             : 
   19668             : 
   19669           0 : XS(_wrap_referenceMapObj_convertToString) {
   19670             :   {
   19671             :     referenceMapObj *arg1 = (referenceMapObj *) 0 ;
   19672           0 :     void *argp1 = 0 ;
   19673             :     int res1 = 0 ;
   19674             :     int argvi = 0;
   19675             :     char *result = 0 ;
   19676           0 :     dXSARGS;
   19677             :     
   19678           0 :     if ((items < 1) || (items > 1)) {
   19679           0 :       SWIG_croak("Usage: referenceMapObj_convertToString(self);");
   19680             :     }
   19681           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, 0 |  0 );
   19682           0 :     if (!SWIG_IsOK(res1)) {
   19683           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "referenceMapObj_convertToString" "', argument " "1"" of type '" "referenceMapObj *""'"); 
   19684             :     }
   19685           0 :     arg1 = (referenceMapObj *)(argp1);
   19686             :     result = (char *)referenceMapObj_convertToString(arg1);
   19687           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   19688             :     
   19689           0 :     free((char*)result);
   19690           0 :     XSRETURN(argvi);
   19691           0 :   fail:
   19692             :     
   19693           0 :     SWIG_croak_null();
   19694             :   }
   19695             : }
   19696             : 
   19697             : 
   19698           0 : XS(_wrap_new_referenceMapObj) {
   19699             :   {
   19700             :     int argvi = 0;
   19701             :     referenceMapObj *result = 0 ;
   19702           0 :     dXSARGS;
   19703             :     
   19704           0 :     if ((items < 0) || (items > 0)) {
   19705           0 :       SWIG_croak("Usage: new_referenceMapObj();");
   19706             :     }
   19707           0 :     result = (referenceMapObj *)calloc(1, sizeof(referenceMapObj));
   19708           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_referenceMapObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   19709           0 :     XSRETURN(argvi);
   19710             :   fail:
   19711           0 :     SWIG_croak_null();
   19712             :   }
   19713             : }
   19714             : 
   19715             : 
   19716           0 : XS(_wrap_delete_referenceMapObj) {
   19717             :   {
   19718             :     referenceMapObj *arg1 = (referenceMapObj *) 0 ;
   19719           0 :     void *argp1 = 0 ;
   19720             :     int res1 = 0 ;
   19721             :     int argvi = 0;
   19722           0 :     dXSARGS;
   19723             :     
   19724           0 :     if ((items < 1) || (items > 1)) {
   19725           0 :       SWIG_croak("Usage: delete_referenceMapObj(self);");
   19726             :     }
   19727           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_referenceMapObj, SWIG_POINTER_DISOWN |  0 );
   19728           0 :     if (!SWIG_IsOK(res1)) {
   19729           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_referenceMapObj" "', argument " "1"" of type '" "referenceMapObj *""'"); 
   19730             :     }
   19731           0 :     arg1 = (referenceMapObj *)(argp1);
   19732           0 :     free((char *) arg1);
   19733           0 :     ST(argvi) = sv_newmortal();
   19734             :     
   19735           0 :     XSRETURN(argvi);
   19736           0 :   fail:
   19737             :     
   19738           0 :     SWIG_croak_null();
   19739             :   }
   19740             : }
   19741             : 
   19742             : 
   19743           0 : XS(_wrap_scalebarObj_imagecolor_set) {
   19744             :   {
   19745             :     scalebarObj *arg1 = (scalebarObj *) 0 ;
   19746             :     colorObj *arg2 = (colorObj *) 0 ;
   19747           0 :     void *argp1 = 0 ;
   19748             :     int res1 = 0 ;
   19749           0 :     void *argp2 = 0 ;
   19750             :     int res2 = 0 ;
   19751             :     int argvi = 0;
   19752           0 :     dXSARGS;
   19753             :     
   19754           0 :     if ((items < 2) || (items > 2)) {
   19755           0 :       SWIG_croak("Usage: scalebarObj_imagecolor_set(self,imagecolor);");
   19756             :     }
   19757           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 |  0 );
   19758           0 :     if (!SWIG_IsOK(res1)) {
   19759           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_imagecolor_set" "', argument " "1"" of type '" "scalebarObj *""'"); 
   19760             :     }
   19761           0 :     arg1 = (scalebarObj *)(argp1);
   19762           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_colorObj, 0 |  0 );
   19763           0 :     if (!SWIG_IsOK(res2)) {
   19764           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "scalebarObj_imagecolor_set" "', argument " "2"" of type '" "colorObj *""'"); 
   19765             :     }
   19766           0 :     arg2 = (colorObj *)(argp2);
   19767           0 :     if (arg1) (arg1)->imagecolor = *arg2;
   19768           0 :     ST(argvi) = sv_newmortal();
   19769             :     
   19770             :     
   19771           0 :     XSRETURN(argvi);
   19772           0 :   fail:
   19773             :     
   19774             :     
   19775           0 :     SWIG_croak_null();
   19776             :   }
   19777             : }
   19778             : 
   19779             : 
   19780           0 : XS(_wrap_scalebarObj_imagecolor_get) {
   19781             :   {
   19782             :     scalebarObj *arg1 = (scalebarObj *) 0 ;
   19783           0 :     void *argp1 = 0 ;
   19784             :     int res1 = 0 ;
   19785             :     int argvi = 0;
   19786             :     colorObj *result = 0 ;
   19787           0 :     dXSARGS;
   19788             :     
   19789           0 :     if ((items < 1) || (items > 1)) {
   19790           0 :       SWIG_croak("Usage: scalebarObj_imagecolor_get(self);");
   19791             :     }
   19792           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 |  0 );
   19793           0 :     if (!SWIG_IsOK(res1)) {
   19794           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_imagecolor_get" "', argument " "1"" of type '" "scalebarObj *""'"); 
   19795             :     }
   19796           0 :     arg1 = (scalebarObj *)(argp1);
   19797           0 :     result = (colorObj *)& ((arg1)->imagecolor);
   19798           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_colorObj, 0 | SWIG_SHADOW); argvi++ ;
   19799             :     
   19800           0 :     XSRETURN(argvi);
   19801           0 :   fail:
   19802             :     
   19803           0 :     SWIG_croak_null();
   19804             :   }
   19805             : }
   19806             : 
   19807             : 
   19808           0 : XS(_wrap_scalebarObj_height_set) {
   19809             :   {
   19810             :     scalebarObj *arg1 = (scalebarObj *) 0 ;
   19811             :     int arg2 ;
   19812           0 :     void *argp1 = 0 ;
   19813             :     int res1 = 0 ;
   19814             :     int val2 ;
   19815             :     int ecode2 = 0 ;
   19816             :     int argvi = 0;
   19817           0 :     dXSARGS;
   19818             :     
   19819           0 :     if ((items < 2) || (items > 2)) {
   19820           0 :       SWIG_croak("Usage: scalebarObj_height_set(self,height);");
   19821             :     }
   19822           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 |  0 );
   19823           0 :     if (!SWIG_IsOK(res1)) {
   19824           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_height_set" "', argument " "1"" of type '" "scalebarObj *""'"); 
   19825             :     }
   19826           0 :     arg1 = (scalebarObj *)(argp1);
   19827           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   19828           0 :     if (!SWIG_IsOK(ecode2)) {
   19829           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "scalebarObj_height_set" "', argument " "2"" of type '" "int""'");
   19830             :     } 
   19831             :     arg2 = (int)(val2);
   19832           0 :     if (arg1) (arg1)->height = arg2;
   19833           0 :     ST(argvi) = sv_newmortal();
   19834             :     
   19835             :     
   19836           0 :     XSRETURN(argvi);
   19837           0 :   fail:
   19838             :     
   19839             :     
   19840           0 :     SWIG_croak_null();
   19841             :   }
   19842             : }
   19843             : 
   19844             : 
   19845           0 : XS(_wrap_scalebarObj_height_get) {
   19846             :   {
   19847             :     scalebarObj *arg1 = (scalebarObj *) 0 ;
   19848           0 :     void *argp1 = 0 ;
   19849             :     int res1 = 0 ;
   19850             :     int argvi = 0;
   19851             :     int result;
   19852           0 :     dXSARGS;
   19853             :     
   19854           0 :     if ((items < 1) || (items > 1)) {
   19855           0 :       SWIG_croak("Usage: scalebarObj_height_get(self);");
   19856             :     }
   19857           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 |  0 );
   19858           0 :     if (!SWIG_IsOK(res1)) {
   19859           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_height_get" "', argument " "1"" of type '" "scalebarObj *""'"); 
   19860             :     }
   19861           0 :     arg1 = (scalebarObj *)(argp1);
   19862           0 :     result = (int) ((arg1)->height);
   19863           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   19864             :     
   19865           0 :     XSRETURN(argvi);
   19866           0 :   fail:
   19867             :     
   19868           0 :     SWIG_croak_null();
   19869             :   }
   19870             : }
   19871             : 
   19872             : 
   19873           0 : XS(_wrap_scalebarObj_width_set) {
   19874             :   {
   19875             :     scalebarObj *arg1 = (scalebarObj *) 0 ;
   19876             :     int arg2 ;
   19877           0 :     void *argp1 = 0 ;
   19878             :     int res1 = 0 ;
   19879             :     int val2 ;
   19880             :     int ecode2 = 0 ;
   19881             :     int argvi = 0;
   19882           0 :     dXSARGS;
   19883             :     
   19884           0 :     if ((items < 2) || (items > 2)) {
   19885           0 :       SWIG_croak("Usage: scalebarObj_width_set(self,width);");
   19886             :     }
   19887           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 |  0 );
   19888           0 :     if (!SWIG_IsOK(res1)) {
   19889           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_width_set" "', argument " "1"" of type '" "scalebarObj *""'"); 
   19890             :     }
   19891           0 :     arg1 = (scalebarObj *)(argp1);
   19892           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   19893           0 :     if (!SWIG_IsOK(ecode2)) {
   19894           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "scalebarObj_width_set" "', argument " "2"" of type '" "int""'");
   19895             :     } 
   19896             :     arg2 = (int)(val2);
   19897           0 :     if (arg1) (arg1)->width = arg2;
   19898           0 :     ST(argvi) = sv_newmortal();
   19899             :     
   19900             :     
   19901           0 :     XSRETURN(argvi);
   19902           0 :   fail:
   19903             :     
   19904             :     
   19905           0 :     SWIG_croak_null();
   19906             :   }
   19907             : }
   19908             : 
   19909             : 
   19910           0 : XS(_wrap_scalebarObj_width_get) {
   19911             :   {
   19912             :     scalebarObj *arg1 = (scalebarObj *) 0 ;
   19913           0 :     void *argp1 = 0 ;
   19914             :     int res1 = 0 ;
   19915             :     int argvi = 0;
   19916             :     int result;
   19917           0 :     dXSARGS;
   19918             :     
   19919           0 :     if ((items < 1) || (items > 1)) {
   19920           0 :       SWIG_croak("Usage: scalebarObj_width_get(self);");
   19921             :     }
   19922           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 |  0 );
   19923           0 :     if (!SWIG_IsOK(res1)) {
   19924           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_width_get" "', argument " "1"" of type '" "scalebarObj *""'"); 
   19925             :     }
   19926           0 :     arg1 = (scalebarObj *)(argp1);
   19927           0 :     result = (int) ((arg1)->width);
   19928           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   19929             :     
   19930           0 :     XSRETURN(argvi);
   19931           0 :   fail:
   19932             :     
   19933           0 :     SWIG_croak_null();
   19934             :   }
   19935             : }
   19936             : 
   19937             : 
   19938           0 : XS(_wrap_scalebarObj_style_set) {
   19939             :   {
   19940             :     scalebarObj *arg1 = (scalebarObj *) 0 ;
   19941             :     int arg2 ;
   19942           0 :     void *argp1 = 0 ;
   19943             :     int res1 = 0 ;
   19944             :     int val2 ;
   19945             :     int ecode2 = 0 ;
   19946             :     int argvi = 0;
   19947           0 :     dXSARGS;
   19948             :     
   19949           0 :     if ((items < 2) || (items > 2)) {
   19950           0 :       SWIG_croak("Usage: scalebarObj_style_set(self,style);");
   19951             :     }
   19952           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 |  0 );
   19953           0 :     if (!SWIG_IsOK(res1)) {
   19954           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_style_set" "', argument " "1"" of type '" "scalebarObj *""'"); 
   19955             :     }
   19956           0 :     arg1 = (scalebarObj *)(argp1);
   19957           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   19958           0 :     if (!SWIG_IsOK(ecode2)) {
   19959           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "scalebarObj_style_set" "', argument " "2"" of type '" "int""'");
   19960             :     } 
   19961             :     arg2 = (int)(val2);
   19962           0 :     if (arg1) (arg1)->style = arg2;
   19963           0 :     ST(argvi) = sv_newmortal();
   19964             :     
   19965             :     
   19966           0 :     XSRETURN(argvi);
   19967           0 :   fail:
   19968             :     
   19969             :     
   19970           0 :     SWIG_croak_null();
   19971             :   }
   19972             : }
   19973             : 
   19974             : 
   19975           0 : XS(_wrap_scalebarObj_style_get) {
   19976             :   {
   19977             :     scalebarObj *arg1 = (scalebarObj *) 0 ;
   19978           0 :     void *argp1 = 0 ;
   19979             :     int res1 = 0 ;
   19980             :     int argvi = 0;
   19981             :     int result;
   19982           0 :     dXSARGS;
   19983             :     
   19984           0 :     if ((items < 1) || (items > 1)) {
   19985           0 :       SWIG_croak("Usage: scalebarObj_style_get(self);");
   19986             :     }
   19987           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 |  0 );
   19988           0 :     if (!SWIG_IsOK(res1)) {
   19989           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_style_get" "', argument " "1"" of type '" "scalebarObj *""'"); 
   19990             :     }
   19991           0 :     arg1 = (scalebarObj *)(argp1);
   19992           0 :     result = (int) ((arg1)->style);
   19993           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   19994             :     
   19995           0 :     XSRETURN(argvi);
   19996           0 :   fail:
   19997             :     
   19998           0 :     SWIG_croak_null();
   19999             :   }
   20000             : }
   20001             : 
   20002             : 
   20003           0 : XS(_wrap_scalebarObj_intervals_set) {
   20004             :   {
   20005             :     scalebarObj *arg1 = (scalebarObj *) 0 ;
   20006             :     int arg2 ;
   20007           0 :     void *argp1 = 0 ;
   20008             :     int res1 = 0 ;
   20009             :     int val2 ;
   20010             :     int ecode2 = 0 ;
   20011             :     int argvi = 0;
   20012           0 :     dXSARGS;
   20013             :     
   20014           0 :     if ((items < 2) || (items > 2)) {
   20015           0 :       SWIG_croak("Usage: scalebarObj_intervals_set(self,intervals);");
   20016             :     }
   20017           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 |  0 );
   20018           0 :     if (!SWIG_IsOK(res1)) {
   20019           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_intervals_set" "', argument " "1"" of type '" "scalebarObj *""'"); 
   20020             :     }
   20021           0 :     arg1 = (scalebarObj *)(argp1);
   20022           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   20023           0 :     if (!SWIG_IsOK(ecode2)) {
   20024           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "scalebarObj_intervals_set" "', argument " "2"" of type '" "int""'");
   20025             :     } 
   20026             :     arg2 = (int)(val2);
   20027           0 :     if (arg1) (arg1)->intervals = arg2;
   20028           0 :     ST(argvi) = sv_newmortal();
   20029             :     
   20030             :     
   20031           0 :     XSRETURN(argvi);
   20032           0 :   fail:
   20033             :     
   20034             :     
   20035           0 :     SWIG_croak_null();
   20036             :   }
   20037             : }
   20038             : 
   20039             : 
   20040           0 : XS(_wrap_scalebarObj_intervals_get) {
   20041             :   {
   20042             :     scalebarObj *arg1 = (scalebarObj *) 0 ;
   20043           0 :     void *argp1 = 0 ;
   20044             :     int res1 = 0 ;
   20045             :     int argvi = 0;
   20046             :     int result;
   20047           0 :     dXSARGS;
   20048             :     
   20049           0 :     if ((items < 1) || (items > 1)) {
   20050           0 :       SWIG_croak("Usage: scalebarObj_intervals_get(self);");
   20051             :     }
   20052           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 |  0 );
   20053           0 :     if (!SWIG_IsOK(res1)) {
   20054           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_intervals_get" "', argument " "1"" of type '" "scalebarObj *""'"); 
   20055             :     }
   20056           0 :     arg1 = (scalebarObj *)(argp1);
   20057           0 :     result = (int) ((arg1)->intervals);
   20058           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   20059             :     
   20060           0 :     XSRETURN(argvi);
   20061           0 :   fail:
   20062             :     
   20063           0 :     SWIG_croak_null();
   20064             :   }
   20065             : }
   20066             : 
   20067             : 
   20068           0 : XS(_wrap_scalebarObj_label_set) {
   20069             :   {
   20070             :     scalebarObj *arg1 = (scalebarObj *) 0 ;
   20071             :     labelObj *arg2 = (labelObj *) 0 ;
   20072           0 :     void *argp1 = 0 ;
   20073             :     int res1 = 0 ;
   20074           0 :     void *argp2 = 0 ;
   20075             :     int res2 = 0 ;
   20076             :     int argvi = 0;
   20077           0 :     dXSARGS;
   20078             :     
   20079           0 :     if ((items < 2) || (items > 2)) {
   20080           0 :       SWIG_croak("Usage: scalebarObj_label_set(self,label);");
   20081             :     }
   20082           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 |  0 );
   20083           0 :     if (!SWIG_IsOK(res1)) {
   20084           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_label_set" "', argument " "1"" of type '" "scalebarObj *""'"); 
   20085             :     }
   20086           0 :     arg1 = (scalebarObj *)(argp1);
   20087           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_labelObj, 0 |  0 );
   20088           0 :     if (!SWIG_IsOK(res2)) {
   20089           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "scalebarObj_label_set" "', argument " "2"" of type '" "labelObj *""'"); 
   20090             :     }
   20091           0 :     arg2 = (labelObj *)(argp2);
   20092           0 :     if (arg1) (arg1)->label = *arg2;
   20093           0 :     ST(argvi) = sv_newmortal();
   20094             :     
   20095             :     
   20096           0 :     XSRETURN(argvi);
   20097           0 :   fail:
   20098             :     
   20099             :     
   20100           0 :     SWIG_croak_null();
   20101             :   }
   20102             : }
   20103             : 
   20104             : 
   20105           0 : XS(_wrap_scalebarObj_label_get) {
   20106             :   {
   20107             :     scalebarObj *arg1 = (scalebarObj *) 0 ;
   20108           0 :     void *argp1 = 0 ;
   20109             :     int res1 = 0 ;
   20110             :     int argvi = 0;
   20111             :     labelObj *result = 0 ;
   20112           0 :     dXSARGS;
   20113             :     
   20114           0 :     if ((items < 1) || (items > 1)) {
   20115           0 :       SWIG_croak("Usage: scalebarObj_label_get(self);");
   20116             :     }
   20117           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 |  0 );
   20118           0 :     if (!SWIG_IsOK(res1)) {
   20119           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_label_get" "', argument " "1"" of type '" "scalebarObj *""'"); 
   20120             :     }
   20121           0 :     arg1 = (scalebarObj *)(argp1);
   20122           0 :     result = (labelObj *)& ((arg1)->label);
   20123           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_labelObj, 0 | SWIG_SHADOW); argvi++ ;
   20124             :     
   20125           0 :     XSRETURN(argvi);
   20126           0 :   fail:
   20127             :     
   20128           0 :     SWIG_croak_null();
   20129             :   }
   20130             : }
   20131             : 
   20132             : 
   20133           0 : XS(_wrap_scalebarObj_color_set) {
   20134             :   {
   20135             :     scalebarObj *arg1 = (scalebarObj *) 0 ;
   20136             :     colorObj *arg2 = (colorObj *) 0 ;
   20137           0 :     void *argp1 = 0 ;
   20138             :     int res1 = 0 ;
   20139           0 :     void *argp2 = 0 ;
   20140             :     int res2 = 0 ;
   20141             :     int argvi = 0;
   20142           0 :     dXSARGS;
   20143             :     
   20144           0 :     if ((items < 2) || (items > 2)) {
   20145           0 :       SWIG_croak("Usage: scalebarObj_color_set(self,color);");
   20146             :     }
   20147           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 |  0 );
   20148           0 :     if (!SWIG_IsOK(res1)) {
   20149           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_color_set" "', argument " "1"" of type '" "scalebarObj *""'"); 
   20150             :     }
   20151           0 :     arg1 = (scalebarObj *)(argp1);
   20152           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_colorObj, 0 |  0 );
   20153           0 :     if (!SWIG_IsOK(res2)) {
   20154           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "scalebarObj_color_set" "', argument " "2"" of type '" "colorObj *""'"); 
   20155             :     }
   20156           0 :     arg2 = (colorObj *)(argp2);
   20157           0 :     if (arg1) (arg1)->color = *arg2;
   20158           0 :     ST(argvi) = sv_newmortal();
   20159             :     
   20160             :     
   20161           0 :     XSRETURN(argvi);
   20162           0 :   fail:
   20163             :     
   20164             :     
   20165           0 :     SWIG_croak_null();
   20166             :   }
   20167             : }
   20168             : 
   20169             : 
   20170           0 : XS(_wrap_scalebarObj_color_get) {
   20171             :   {
   20172             :     scalebarObj *arg1 = (scalebarObj *) 0 ;
   20173           0 :     void *argp1 = 0 ;
   20174             :     int res1 = 0 ;
   20175             :     int argvi = 0;
   20176             :     colorObj *result = 0 ;
   20177           0 :     dXSARGS;
   20178             :     
   20179           0 :     if ((items < 1) || (items > 1)) {
   20180           0 :       SWIG_croak("Usage: scalebarObj_color_get(self);");
   20181             :     }
   20182           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 |  0 );
   20183           0 :     if (!SWIG_IsOK(res1)) {
   20184           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_color_get" "', argument " "1"" of type '" "scalebarObj *""'"); 
   20185             :     }
   20186           0 :     arg1 = (scalebarObj *)(argp1);
   20187           0 :     result = (colorObj *)& ((arg1)->color);
   20188           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_colorObj, 0 | SWIG_SHADOW); argvi++ ;
   20189             :     
   20190           0 :     XSRETURN(argvi);
   20191           0 :   fail:
   20192             :     
   20193           0 :     SWIG_croak_null();
   20194             :   }
   20195             : }
   20196             : 
   20197             : 
   20198           0 : XS(_wrap_scalebarObj_backgroundcolor_set) {
   20199             :   {
   20200             :     scalebarObj *arg1 = (scalebarObj *) 0 ;
   20201             :     colorObj *arg2 = (colorObj *) 0 ;
   20202           0 :     void *argp1 = 0 ;
   20203             :     int res1 = 0 ;
   20204           0 :     void *argp2 = 0 ;
   20205             :     int res2 = 0 ;
   20206             :     int argvi = 0;
   20207           0 :     dXSARGS;
   20208             :     
   20209           0 :     if ((items < 2) || (items > 2)) {
   20210           0 :       SWIG_croak("Usage: scalebarObj_backgroundcolor_set(self,backgroundcolor);");
   20211             :     }
   20212           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 |  0 );
   20213           0 :     if (!SWIG_IsOK(res1)) {
   20214           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_backgroundcolor_set" "', argument " "1"" of type '" "scalebarObj *""'"); 
   20215             :     }
   20216           0 :     arg1 = (scalebarObj *)(argp1);
   20217           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_colorObj, 0 |  0 );
   20218           0 :     if (!SWIG_IsOK(res2)) {
   20219           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "scalebarObj_backgroundcolor_set" "', argument " "2"" of type '" "colorObj *""'"); 
   20220             :     }
   20221           0 :     arg2 = (colorObj *)(argp2);
   20222           0 :     if (arg1) (arg1)->backgroundcolor = *arg2;
   20223           0 :     ST(argvi) = sv_newmortal();
   20224             :     
   20225             :     
   20226           0 :     XSRETURN(argvi);
   20227           0 :   fail:
   20228             :     
   20229             :     
   20230           0 :     SWIG_croak_null();
   20231             :   }
   20232             : }
   20233             : 
   20234             : 
   20235           0 : XS(_wrap_scalebarObj_backgroundcolor_get) {
   20236             :   {
   20237             :     scalebarObj *arg1 = (scalebarObj *) 0 ;
   20238           0 :     void *argp1 = 0 ;
   20239             :     int res1 = 0 ;
   20240             :     int argvi = 0;
   20241             :     colorObj *result = 0 ;
   20242           0 :     dXSARGS;
   20243             :     
   20244           0 :     if ((items < 1) || (items > 1)) {
   20245           0 :       SWIG_croak("Usage: scalebarObj_backgroundcolor_get(self);");
   20246             :     }
   20247           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 |  0 );
   20248           0 :     if (!SWIG_IsOK(res1)) {
   20249           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_backgroundcolor_get" "', argument " "1"" of type '" "scalebarObj *""'"); 
   20250             :     }
   20251           0 :     arg1 = (scalebarObj *)(argp1);
   20252           0 :     result = (colorObj *)& ((arg1)->backgroundcolor);
   20253           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_colorObj, 0 | SWIG_SHADOW); argvi++ ;
   20254             :     
   20255           0 :     XSRETURN(argvi);
   20256           0 :   fail:
   20257             :     
   20258           0 :     SWIG_croak_null();
   20259             :   }
   20260             : }
   20261             : 
   20262             : 
   20263           0 : XS(_wrap_scalebarObj_outlinecolor_set) {
   20264             :   {
   20265             :     scalebarObj *arg1 = (scalebarObj *) 0 ;
   20266             :     colorObj *arg2 = (colorObj *) 0 ;
   20267           0 :     void *argp1 = 0 ;
   20268             :     int res1 = 0 ;
   20269           0 :     void *argp2 = 0 ;
   20270             :     int res2 = 0 ;
   20271             :     int argvi = 0;
   20272           0 :     dXSARGS;
   20273             :     
   20274           0 :     if ((items < 2) || (items > 2)) {
   20275           0 :       SWIG_croak("Usage: scalebarObj_outlinecolor_set(self,outlinecolor);");
   20276             :     }
   20277           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 |  0 );
   20278           0 :     if (!SWIG_IsOK(res1)) {
   20279           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_outlinecolor_set" "', argument " "1"" of type '" "scalebarObj *""'"); 
   20280             :     }
   20281           0 :     arg1 = (scalebarObj *)(argp1);
   20282           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_colorObj, 0 |  0 );
   20283           0 :     if (!SWIG_IsOK(res2)) {
   20284           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "scalebarObj_outlinecolor_set" "', argument " "2"" of type '" "colorObj *""'"); 
   20285             :     }
   20286           0 :     arg2 = (colorObj *)(argp2);
   20287           0 :     if (arg1) (arg1)->outlinecolor = *arg2;
   20288           0 :     ST(argvi) = sv_newmortal();
   20289             :     
   20290             :     
   20291           0 :     XSRETURN(argvi);
   20292           0 :   fail:
   20293             :     
   20294             :     
   20295           0 :     SWIG_croak_null();
   20296             :   }
   20297             : }
   20298             : 
   20299             : 
   20300           0 : XS(_wrap_scalebarObj_outlinecolor_get) {
   20301             :   {
   20302             :     scalebarObj *arg1 = (scalebarObj *) 0 ;
   20303           0 :     void *argp1 = 0 ;
   20304             :     int res1 = 0 ;
   20305             :     int argvi = 0;
   20306             :     colorObj *result = 0 ;
   20307           0 :     dXSARGS;
   20308             :     
   20309           0 :     if ((items < 1) || (items > 1)) {
   20310           0 :       SWIG_croak("Usage: scalebarObj_outlinecolor_get(self);");
   20311             :     }
   20312           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 |  0 );
   20313           0 :     if (!SWIG_IsOK(res1)) {
   20314           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_outlinecolor_get" "', argument " "1"" of type '" "scalebarObj *""'"); 
   20315             :     }
   20316           0 :     arg1 = (scalebarObj *)(argp1);
   20317           0 :     result = (colorObj *)& ((arg1)->outlinecolor);
   20318           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_colorObj, 0 | SWIG_SHADOW); argvi++ ;
   20319             :     
   20320           0 :     XSRETURN(argvi);
   20321           0 :   fail:
   20322             :     
   20323           0 :     SWIG_croak_null();
   20324             :   }
   20325             : }
   20326             : 
   20327             : 
   20328           0 : XS(_wrap_scalebarObj_units_set) {
   20329             :   {
   20330             :     scalebarObj *arg1 = (scalebarObj *) 0 ;
   20331             :     int arg2 ;
   20332           0 :     void *argp1 = 0 ;
   20333             :     int res1 = 0 ;
   20334             :     int val2 ;
   20335             :     int ecode2 = 0 ;
   20336             :     int argvi = 0;
   20337           0 :     dXSARGS;
   20338             :     
   20339           0 :     if ((items < 2) || (items > 2)) {
   20340           0 :       SWIG_croak("Usage: scalebarObj_units_set(self,units);");
   20341             :     }
   20342           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 |  0 );
   20343           0 :     if (!SWIG_IsOK(res1)) {
   20344           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_units_set" "', argument " "1"" of type '" "scalebarObj *""'"); 
   20345             :     }
   20346           0 :     arg1 = (scalebarObj *)(argp1);
   20347           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   20348           0 :     if (!SWIG_IsOK(ecode2)) {
   20349           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "scalebarObj_units_set" "', argument " "2"" of type '" "int""'");
   20350             :     } 
   20351             :     arg2 = (int)(val2);
   20352           0 :     if (arg1) (arg1)->units = arg2;
   20353           0 :     ST(argvi) = sv_newmortal();
   20354             :     
   20355             :     
   20356           0 :     XSRETURN(argvi);
   20357           0 :   fail:
   20358             :     
   20359             :     
   20360           0 :     SWIG_croak_null();
   20361             :   }
   20362             : }
   20363             : 
   20364             : 
   20365           0 : XS(_wrap_scalebarObj_units_get) {
   20366             :   {
   20367             :     scalebarObj *arg1 = (scalebarObj *) 0 ;
   20368           0 :     void *argp1 = 0 ;
   20369             :     int res1 = 0 ;
   20370             :     int argvi = 0;
   20371             :     int result;
   20372           0 :     dXSARGS;
   20373             :     
   20374           0 :     if ((items < 1) || (items > 1)) {
   20375           0 :       SWIG_croak("Usage: scalebarObj_units_get(self);");
   20376             :     }
   20377           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 |  0 );
   20378           0 :     if (!SWIG_IsOK(res1)) {
   20379           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_units_get" "', argument " "1"" of type '" "scalebarObj *""'"); 
   20380             :     }
   20381           0 :     arg1 = (scalebarObj *)(argp1);
   20382           0 :     result = (int) ((arg1)->units);
   20383           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   20384             :     
   20385           0 :     XSRETURN(argvi);
   20386           0 :   fail:
   20387             :     
   20388           0 :     SWIG_croak_null();
   20389             :   }
   20390             : }
   20391             : 
   20392             : 
   20393           0 : XS(_wrap_scalebarObj_status_set) {
   20394             :   {
   20395             :     scalebarObj *arg1 = (scalebarObj *) 0 ;
   20396             :     int arg2 ;
   20397           0 :     void *argp1 = 0 ;
   20398             :     int res1 = 0 ;
   20399             :     int val2 ;
   20400             :     int ecode2 = 0 ;
   20401             :     int argvi = 0;
   20402           0 :     dXSARGS;
   20403             :     
   20404           0 :     if ((items < 2) || (items > 2)) {
   20405           0 :       SWIG_croak("Usage: scalebarObj_status_set(self,status);");
   20406             :     }
   20407           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 |  0 );
   20408           0 :     if (!SWIG_IsOK(res1)) {
   20409           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_status_set" "', argument " "1"" of type '" "scalebarObj *""'"); 
   20410             :     }
   20411           0 :     arg1 = (scalebarObj *)(argp1);
   20412           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   20413           0 :     if (!SWIG_IsOK(ecode2)) {
   20414           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "scalebarObj_status_set" "', argument " "2"" of type '" "int""'");
   20415             :     } 
   20416             :     arg2 = (int)(val2);
   20417           0 :     if (arg1) (arg1)->status = arg2;
   20418           0 :     ST(argvi) = sv_newmortal();
   20419             :     
   20420             :     
   20421           0 :     XSRETURN(argvi);
   20422           0 :   fail:
   20423             :     
   20424             :     
   20425           0 :     SWIG_croak_null();
   20426             :   }
   20427             : }
   20428             : 
   20429             : 
   20430           0 : XS(_wrap_scalebarObj_status_get) {
   20431             :   {
   20432             :     scalebarObj *arg1 = (scalebarObj *) 0 ;
   20433           0 :     void *argp1 = 0 ;
   20434             :     int res1 = 0 ;
   20435             :     int argvi = 0;
   20436             :     int result;
   20437           0 :     dXSARGS;
   20438             :     
   20439           0 :     if ((items < 1) || (items > 1)) {
   20440           0 :       SWIG_croak("Usage: scalebarObj_status_get(self);");
   20441             :     }
   20442           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 |  0 );
   20443           0 :     if (!SWIG_IsOK(res1)) {
   20444           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_status_get" "', argument " "1"" of type '" "scalebarObj *""'"); 
   20445             :     }
   20446           0 :     arg1 = (scalebarObj *)(argp1);
   20447           0 :     result = (int) ((arg1)->status);
   20448           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   20449             :     
   20450           0 :     XSRETURN(argvi);
   20451           0 :   fail:
   20452             :     
   20453           0 :     SWIG_croak_null();
   20454             :   }
   20455             : }
   20456             : 
   20457             : 
   20458           0 : XS(_wrap_scalebarObj_position_set) {
   20459             :   {
   20460             :     scalebarObj *arg1 = (scalebarObj *) 0 ;
   20461             :     int arg2 ;
   20462           0 :     void *argp1 = 0 ;
   20463             :     int res1 = 0 ;
   20464             :     int val2 ;
   20465             :     int ecode2 = 0 ;
   20466             :     int argvi = 0;
   20467           0 :     dXSARGS;
   20468             :     
   20469           0 :     if ((items < 2) || (items > 2)) {
   20470           0 :       SWIG_croak("Usage: scalebarObj_position_set(self,position);");
   20471             :     }
   20472           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 |  0 );
   20473           0 :     if (!SWIG_IsOK(res1)) {
   20474           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_position_set" "', argument " "1"" of type '" "scalebarObj *""'"); 
   20475             :     }
   20476           0 :     arg1 = (scalebarObj *)(argp1);
   20477           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   20478           0 :     if (!SWIG_IsOK(ecode2)) {
   20479           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "scalebarObj_position_set" "', argument " "2"" of type '" "int""'");
   20480             :     } 
   20481             :     arg2 = (int)(val2);
   20482           0 :     if (arg1) (arg1)->position = arg2;
   20483           0 :     ST(argvi) = sv_newmortal();
   20484             :     
   20485             :     
   20486           0 :     XSRETURN(argvi);
   20487           0 :   fail:
   20488             :     
   20489             :     
   20490           0 :     SWIG_croak_null();
   20491             :   }
   20492             : }
   20493             : 
   20494             : 
   20495           0 : XS(_wrap_scalebarObj_position_get) {
   20496             :   {
   20497             :     scalebarObj *arg1 = (scalebarObj *) 0 ;
   20498           0 :     void *argp1 = 0 ;
   20499             :     int res1 = 0 ;
   20500             :     int argvi = 0;
   20501             :     int result;
   20502           0 :     dXSARGS;
   20503             :     
   20504           0 :     if ((items < 1) || (items > 1)) {
   20505           0 :       SWIG_croak("Usage: scalebarObj_position_get(self);");
   20506             :     }
   20507           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 |  0 );
   20508           0 :     if (!SWIG_IsOK(res1)) {
   20509           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_position_get" "', argument " "1"" of type '" "scalebarObj *""'"); 
   20510             :     }
   20511           0 :     arg1 = (scalebarObj *)(argp1);
   20512           0 :     result = (int) ((arg1)->position);
   20513           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   20514             :     
   20515           0 :     XSRETURN(argvi);
   20516           0 :   fail:
   20517             :     
   20518           0 :     SWIG_croak_null();
   20519             :   }
   20520             : }
   20521             : 
   20522             : 
   20523           0 : XS(_wrap_scalebarObj_postlabelcache_set) {
   20524             :   {
   20525             :     scalebarObj *arg1 = (scalebarObj *) 0 ;
   20526             :     int arg2 ;
   20527           0 :     void *argp1 = 0 ;
   20528             :     int res1 = 0 ;
   20529             :     int val2 ;
   20530             :     int ecode2 = 0 ;
   20531             :     int argvi = 0;
   20532           0 :     dXSARGS;
   20533             :     
   20534           0 :     if ((items < 2) || (items > 2)) {
   20535           0 :       SWIG_croak("Usage: scalebarObj_postlabelcache_set(self,postlabelcache);");
   20536             :     }
   20537           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 |  0 );
   20538           0 :     if (!SWIG_IsOK(res1)) {
   20539           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_postlabelcache_set" "', argument " "1"" of type '" "scalebarObj *""'"); 
   20540             :     }
   20541           0 :     arg1 = (scalebarObj *)(argp1);
   20542           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   20543           0 :     if (!SWIG_IsOK(ecode2)) {
   20544           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "scalebarObj_postlabelcache_set" "', argument " "2"" of type '" "int""'");
   20545             :     } 
   20546             :     arg2 = (int)(val2);
   20547           0 :     if (arg1) (arg1)->postlabelcache = arg2;
   20548           0 :     ST(argvi) = sv_newmortal();
   20549             :     
   20550             :     
   20551           0 :     XSRETURN(argvi);
   20552           0 :   fail:
   20553             :     
   20554             :     
   20555           0 :     SWIG_croak_null();
   20556             :   }
   20557             : }
   20558             : 
   20559             : 
   20560           0 : XS(_wrap_scalebarObj_postlabelcache_get) {
   20561             :   {
   20562             :     scalebarObj *arg1 = (scalebarObj *) 0 ;
   20563           0 :     void *argp1 = 0 ;
   20564             :     int res1 = 0 ;
   20565             :     int argvi = 0;
   20566             :     int result;
   20567           0 :     dXSARGS;
   20568             :     
   20569           0 :     if ((items < 1) || (items > 1)) {
   20570           0 :       SWIG_croak("Usage: scalebarObj_postlabelcache_get(self);");
   20571             :     }
   20572           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 |  0 );
   20573           0 :     if (!SWIG_IsOK(res1)) {
   20574           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_postlabelcache_get" "', argument " "1"" of type '" "scalebarObj *""'"); 
   20575             :     }
   20576           0 :     arg1 = (scalebarObj *)(argp1);
   20577           0 :     result = (int) ((arg1)->postlabelcache);
   20578           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   20579             :     
   20580           0 :     XSRETURN(argvi);
   20581           0 :   fail:
   20582             :     
   20583           0 :     SWIG_croak_null();
   20584             :   }
   20585             : }
   20586             : 
   20587             : 
   20588           0 : XS(_wrap_scalebarObj_align_set) {
   20589             :   {
   20590             :     scalebarObj *arg1 = (scalebarObj *) 0 ;
   20591             :     int arg2 ;
   20592           0 :     void *argp1 = 0 ;
   20593             :     int res1 = 0 ;
   20594             :     int val2 ;
   20595             :     int ecode2 = 0 ;
   20596             :     int argvi = 0;
   20597           0 :     dXSARGS;
   20598             :     
   20599           0 :     if ((items < 2) || (items > 2)) {
   20600           0 :       SWIG_croak("Usage: scalebarObj_align_set(self,align);");
   20601             :     }
   20602           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 |  0 );
   20603           0 :     if (!SWIG_IsOK(res1)) {
   20604           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_align_set" "', argument " "1"" of type '" "scalebarObj *""'"); 
   20605             :     }
   20606           0 :     arg1 = (scalebarObj *)(argp1);
   20607           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   20608           0 :     if (!SWIG_IsOK(ecode2)) {
   20609           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "scalebarObj_align_set" "', argument " "2"" of type '" "int""'");
   20610             :     } 
   20611             :     arg2 = (int)(val2);
   20612           0 :     if (arg1) (arg1)->align = arg2;
   20613           0 :     ST(argvi) = sv_newmortal();
   20614             :     
   20615             :     
   20616           0 :     XSRETURN(argvi);
   20617           0 :   fail:
   20618             :     
   20619             :     
   20620           0 :     SWIG_croak_null();
   20621             :   }
   20622             : }
   20623             : 
   20624             : 
   20625           0 : XS(_wrap_scalebarObj_align_get) {
   20626             :   {
   20627             :     scalebarObj *arg1 = (scalebarObj *) 0 ;
   20628           0 :     void *argp1 = 0 ;
   20629             :     int res1 = 0 ;
   20630             :     int argvi = 0;
   20631             :     int result;
   20632           0 :     dXSARGS;
   20633             :     
   20634           0 :     if ((items < 1) || (items > 1)) {
   20635           0 :       SWIG_croak("Usage: scalebarObj_align_get(self);");
   20636             :     }
   20637           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 |  0 );
   20638           0 :     if (!SWIG_IsOK(res1)) {
   20639           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_align_get" "', argument " "1"" of type '" "scalebarObj *""'"); 
   20640             :     }
   20641           0 :     arg1 = (scalebarObj *)(argp1);
   20642           0 :     result = (int) ((arg1)->align);
   20643           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   20644             :     
   20645           0 :     XSRETURN(argvi);
   20646           0 :   fail:
   20647             :     
   20648           0 :     SWIG_croak_null();
   20649             :   }
   20650             : }
   20651             : 
   20652             : 
   20653           0 : XS(_wrap_scalebarObj_offsetx_set) {
   20654             :   {
   20655             :     scalebarObj *arg1 = (scalebarObj *) 0 ;
   20656             :     int arg2 ;
   20657           0 :     void *argp1 = 0 ;
   20658             :     int res1 = 0 ;
   20659             :     int val2 ;
   20660             :     int ecode2 = 0 ;
   20661             :     int argvi = 0;
   20662           0 :     dXSARGS;
   20663             :     
   20664           0 :     if ((items < 2) || (items > 2)) {
   20665           0 :       SWIG_croak("Usage: scalebarObj_offsetx_set(self,offsetx);");
   20666             :     }
   20667           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 |  0 );
   20668           0 :     if (!SWIG_IsOK(res1)) {
   20669           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_offsetx_set" "', argument " "1"" of type '" "scalebarObj *""'"); 
   20670             :     }
   20671           0 :     arg1 = (scalebarObj *)(argp1);
   20672           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   20673           0 :     if (!SWIG_IsOK(ecode2)) {
   20674           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "scalebarObj_offsetx_set" "', argument " "2"" of type '" "int""'");
   20675             :     } 
   20676             :     arg2 = (int)(val2);
   20677           0 :     if (arg1) (arg1)->offsetx = arg2;
   20678           0 :     ST(argvi) = sv_newmortal();
   20679             :     
   20680             :     
   20681           0 :     XSRETURN(argvi);
   20682           0 :   fail:
   20683             :     
   20684             :     
   20685           0 :     SWIG_croak_null();
   20686             :   }
   20687             : }
   20688             : 
   20689             : 
   20690           0 : XS(_wrap_scalebarObj_offsetx_get) {
   20691             :   {
   20692             :     scalebarObj *arg1 = (scalebarObj *) 0 ;
   20693           0 :     void *argp1 = 0 ;
   20694             :     int res1 = 0 ;
   20695             :     int argvi = 0;
   20696             :     int result;
   20697           0 :     dXSARGS;
   20698             :     
   20699           0 :     if ((items < 1) || (items > 1)) {
   20700           0 :       SWIG_croak("Usage: scalebarObj_offsetx_get(self);");
   20701             :     }
   20702           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 |  0 );
   20703           0 :     if (!SWIG_IsOK(res1)) {
   20704           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_offsetx_get" "', argument " "1"" of type '" "scalebarObj *""'"); 
   20705             :     }
   20706           0 :     arg1 = (scalebarObj *)(argp1);
   20707           0 :     result = (int) ((arg1)->offsetx);
   20708           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   20709             :     
   20710           0 :     XSRETURN(argvi);
   20711           0 :   fail:
   20712             :     
   20713           0 :     SWIG_croak_null();
   20714             :   }
   20715             : }
   20716             : 
   20717             : 
   20718           0 : XS(_wrap_scalebarObj_offsety_set) {
   20719             :   {
   20720             :     scalebarObj *arg1 = (scalebarObj *) 0 ;
   20721             :     int arg2 ;
   20722           0 :     void *argp1 = 0 ;
   20723             :     int res1 = 0 ;
   20724             :     int val2 ;
   20725             :     int ecode2 = 0 ;
   20726             :     int argvi = 0;
   20727           0 :     dXSARGS;
   20728             :     
   20729           0 :     if ((items < 2) || (items > 2)) {
   20730           0 :       SWIG_croak("Usage: scalebarObj_offsety_set(self,offsety);");
   20731             :     }
   20732           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 |  0 );
   20733           0 :     if (!SWIG_IsOK(res1)) {
   20734           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_offsety_set" "', argument " "1"" of type '" "scalebarObj *""'"); 
   20735             :     }
   20736           0 :     arg1 = (scalebarObj *)(argp1);
   20737           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   20738           0 :     if (!SWIG_IsOK(ecode2)) {
   20739           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "scalebarObj_offsety_set" "', argument " "2"" of type '" "int""'");
   20740             :     } 
   20741             :     arg2 = (int)(val2);
   20742           0 :     if (arg1) (arg1)->offsety = arg2;
   20743           0 :     ST(argvi) = sv_newmortal();
   20744             :     
   20745             :     
   20746           0 :     XSRETURN(argvi);
   20747           0 :   fail:
   20748             :     
   20749             :     
   20750           0 :     SWIG_croak_null();
   20751             :   }
   20752             : }
   20753             : 
   20754             : 
   20755           0 : XS(_wrap_scalebarObj_offsety_get) {
   20756             :   {
   20757             :     scalebarObj *arg1 = (scalebarObj *) 0 ;
   20758           0 :     void *argp1 = 0 ;
   20759             :     int res1 = 0 ;
   20760             :     int argvi = 0;
   20761             :     int result;
   20762           0 :     dXSARGS;
   20763             :     
   20764           0 :     if ((items < 1) || (items > 1)) {
   20765           0 :       SWIG_croak("Usage: scalebarObj_offsety_get(self);");
   20766             :     }
   20767           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 |  0 );
   20768           0 :     if (!SWIG_IsOK(res1)) {
   20769           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_offsety_get" "', argument " "1"" of type '" "scalebarObj *""'"); 
   20770             :     }
   20771           0 :     arg1 = (scalebarObj *)(argp1);
   20772           0 :     result = (int) ((arg1)->offsety);
   20773           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   20774             :     
   20775           0 :     XSRETURN(argvi);
   20776           0 :   fail:
   20777             :     
   20778           0 :     SWIG_croak_null();
   20779             :   }
   20780             : }
   20781             : 
   20782             : 
   20783           0 : XS(_wrap_scalebarObj_updateFromString) {
   20784             :   {
   20785             :     scalebarObj *arg1 = (scalebarObj *) 0 ;
   20786             :     char *arg2 = (char *) 0 ;
   20787           0 :     void *argp1 = 0 ;
   20788             :     int res1 = 0 ;
   20789             :     int res2 ;
   20790           0 :     char *buf2 = 0 ;
   20791           0 :     int alloc2 = 0 ;
   20792             :     int argvi = 0;
   20793             :     int result;
   20794           0 :     dXSARGS;
   20795             :     
   20796           0 :     if ((items < 2) || (items > 2)) {
   20797           0 :       SWIG_croak("Usage: scalebarObj_updateFromString(self,snippet);");
   20798             :     }
   20799           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 |  0 );
   20800           0 :     if (!SWIG_IsOK(res1)) {
   20801           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_updateFromString" "', argument " "1"" of type '" "scalebarObj *""'"); 
   20802             :     }
   20803           0 :     arg1 = (scalebarObj *)(argp1);
   20804           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   20805           0 :     if (!SWIG_IsOK(res2)) {
   20806           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "scalebarObj_updateFromString" "', argument " "2"" of type '" "char *""'");
   20807             :     }
   20808           0 :     arg2 = (char *)(buf2);
   20809             :     result = (int)scalebarObj_updateFromString(arg1,arg2);
   20810           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   20811             :     
   20812           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   20813           0 :     XSRETURN(argvi);
   20814           0 :   fail:
   20815             :     
   20816           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   20817           0 :     SWIG_croak_null();
   20818             :   }
   20819             : }
   20820             : 
   20821             : 
   20822           0 : XS(_wrap_scalebarObj_convertToString) {
   20823             :   {
   20824             :     scalebarObj *arg1 = (scalebarObj *) 0 ;
   20825           0 :     void *argp1 = 0 ;
   20826             :     int res1 = 0 ;
   20827             :     int argvi = 0;
   20828             :     char *result = 0 ;
   20829           0 :     dXSARGS;
   20830             :     
   20831           0 :     if ((items < 1) || (items > 1)) {
   20832           0 :       SWIG_croak("Usage: scalebarObj_convertToString(self);");
   20833             :     }
   20834           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, 0 |  0 );
   20835           0 :     if (!SWIG_IsOK(res1)) {
   20836           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scalebarObj_convertToString" "', argument " "1"" of type '" "scalebarObj *""'"); 
   20837             :     }
   20838           0 :     arg1 = (scalebarObj *)(argp1);
   20839             :     result = (char *)scalebarObj_convertToString(arg1);
   20840           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   20841             :     
   20842           0 :     free((char*)result);
   20843           0 :     XSRETURN(argvi);
   20844           0 :   fail:
   20845             :     
   20846           0 :     SWIG_croak_null();
   20847             :   }
   20848             : }
   20849             : 
   20850             : 
   20851           0 : XS(_wrap_new_scalebarObj) {
   20852             :   {
   20853             :     int argvi = 0;
   20854             :     scalebarObj *result = 0 ;
   20855           0 :     dXSARGS;
   20856             :     
   20857           0 :     if ((items < 0) || (items > 0)) {
   20858           0 :       SWIG_croak("Usage: new_scalebarObj();");
   20859             :     }
   20860           0 :     result = (scalebarObj *)calloc(1, sizeof(scalebarObj));
   20861           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_scalebarObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   20862           0 :     XSRETURN(argvi);
   20863             :   fail:
   20864           0 :     SWIG_croak_null();
   20865             :   }
   20866             : }
   20867             : 
   20868             : 
   20869           0 : XS(_wrap_delete_scalebarObj) {
   20870             :   {
   20871             :     scalebarObj *arg1 = (scalebarObj *) 0 ;
   20872           0 :     void *argp1 = 0 ;
   20873             :     int res1 = 0 ;
   20874             :     int argvi = 0;
   20875           0 :     dXSARGS;
   20876             :     
   20877           0 :     if ((items < 1) || (items > 1)) {
   20878           0 :       SWIG_croak("Usage: delete_scalebarObj(self);");
   20879             :     }
   20880           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scalebarObj, SWIG_POINTER_DISOWN |  0 );
   20881           0 :     if (!SWIG_IsOK(res1)) {
   20882           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_scalebarObj" "', argument " "1"" of type '" "scalebarObj *""'"); 
   20883             :     }
   20884           0 :     arg1 = (scalebarObj *)(argp1);
   20885           0 :     free((char *) arg1);
   20886           0 :     ST(argvi) = sv_newmortal();
   20887             :     
   20888           0 :     XSRETURN(argvi);
   20889           0 :   fail:
   20890             :     
   20891           0 :     SWIG_croak_null();
   20892             :   }
   20893             : }
   20894             : 
   20895             : 
   20896           0 : XS(_wrap_legendObj_imagecolor_set) {
   20897             :   {
   20898             :     legendObj *arg1 = (legendObj *) 0 ;
   20899             :     colorObj *arg2 = (colorObj *) 0 ;
   20900           0 :     void *argp1 = 0 ;
   20901             :     int res1 = 0 ;
   20902           0 :     void *argp2 = 0 ;
   20903             :     int res2 = 0 ;
   20904             :     int argvi = 0;
   20905           0 :     dXSARGS;
   20906             :     
   20907           0 :     if ((items < 2) || (items > 2)) {
   20908           0 :       SWIG_croak("Usage: legendObj_imagecolor_set(self,imagecolor);");
   20909             :     }
   20910           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 |  0 );
   20911           0 :     if (!SWIG_IsOK(res1)) {
   20912           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_imagecolor_set" "', argument " "1"" of type '" "legendObj *""'"); 
   20913             :     }
   20914           0 :     arg1 = (legendObj *)(argp1);
   20915           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_colorObj, 0 |  0 );
   20916           0 :     if (!SWIG_IsOK(res2)) {
   20917           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "legendObj_imagecolor_set" "', argument " "2"" of type '" "colorObj *""'"); 
   20918             :     }
   20919           0 :     arg2 = (colorObj *)(argp2);
   20920           0 :     if (arg1) (arg1)->imagecolor = *arg2;
   20921           0 :     ST(argvi) = sv_newmortal();
   20922             :     
   20923             :     
   20924           0 :     XSRETURN(argvi);
   20925           0 :   fail:
   20926             :     
   20927             :     
   20928           0 :     SWIG_croak_null();
   20929             :   }
   20930             : }
   20931             : 
   20932             : 
   20933           0 : XS(_wrap_legendObj_imagecolor_get) {
   20934             :   {
   20935             :     legendObj *arg1 = (legendObj *) 0 ;
   20936           0 :     void *argp1 = 0 ;
   20937             :     int res1 = 0 ;
   20938             :     int argvi = 0;
   20939             :     colorObj *result = 0 ;
   20940           0 :     dXSARGS;
   20941             :     
   20942           0 :     if ((items < 1) || (items > 1)) {
   20943           0 :       SWIG_croak("Usage: legendObj_imagecolor_get(self);");
   20944             :     }
   20945           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 |  0 );
   20946           0 :     if (!SWIG_IsOK(res1)) {
   20947           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_imagecolor_get" "', argument " "1"" of type '" "legendObj *""'"); 
   20948             :     }
   20949           0 :     arg1 = (legendObj *)(argp1);
   20950           0 :     result = (colorObj *)& ((arg1)->imagecolor);
   20951           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_colorObj, 0 | SWIG_SHADOW); argvi++ ;
   20952             :     
   20953           0 :     XSRETURN(argvi);
   20954           0 :   fail:
   20955             :     
   20956           0 :     SWIG_croak_null();
   20957             :   }
   20958             : }
   20959             : 
   20960             : 
   20961           0 : XS(_wrap_legendObj_label_get) {
   20962             :   {
   20963             :     legendObj *arg1 = (legendObj *) 0 ;
   20964           0 :     void *argp1 = 0 ;
   20965             :     int res1 = 0 ;
   20966             :     int argvi = 0;
   20967             :     labelObj *result = 0 ;
   20968           0 :     dXSARGS;
   20969             :     
   20970           0 :     if ((items < 1) || (items > 1)) {
   20971           0 :       SWIG_croak("Usage: legendObj_label_get(self);");
   20972             :     }
   20973           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 |  0 );
   20974           0 :     if (!SWIG_IsOK(res1)) {
   20975           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_label_get" "', argument " "1"" of type '" "legendObj *""'"); 
   20976             :     }
   20977           0 :     arg1 = (legendObj *)(argp1);
   20978           0 :     result = (labelObj *)& ((arg1)->label);
   20979           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_labelObj, 0 | SWIG_SHADOW); argvi++ ;
   20980             :     
   20981           0 :     XSRETURN(argvi);
   20982           0 :   fail:
   20983             :     
   20984           0 :     SWIG_croak_null();
   20985             :   }
   20986             : }
   20987             : 
   20988             : 
   20989           0 : XS(_wrap_legendObj_keysizex_set) {
   20990             :   {
   20991             :     legendObj *arg1 = (legendObj *) 0 ;
   20992             :     int arg2 ;
   20993           0 :     void *argp1 = 0 ;
   20994             :     int res1 = 0 ;
   20995             :     int val2 ;
   20996             :     int ecode2 = 0 ;
   20997             :     int argvi = 0;
   20998           0 :     dXSARGS;
   20999             :     
   21000           0 :     if ((items < 2) || (items > 2)) {
   21001           0 :       SWIG_croak("Usage: legendObj_keysizex_set(self,keysizex);");
   21002             :     }
   21003           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 |  0 );
   21004           0 :     if (!SWIG_IsOK(res1)) {
   21005           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_keysizex_set" "', argument " "1"" of type '" "legendObj *""'"); 
   21006             :     }
   21007           0 :     arg1 = (legendObj *)(argp1);
   21008           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   21009           0 :     if (!SWIG_IsOK(ecode2)) {
   21010           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "legendObj_keysizex_set" "', argument " "2"" of type '" "int""'");
   21011             :     } 
   21012             :     arg2 = (int)(val2);
   21013           0 :     if (arg1) (arg1)->keysizex = arg2;
   21014           0 :     ST(argvi) = sv_newmortal();
   21015             :     
   21016             :     
   21017           0 :     XSRETURN(argvi);
   21018           0 :   fail:
   21019             :     
   21020             :     
   21021           0 :     SWIG_croak_null();
   21022             :   }
   21023             : }
   21024             : 
   21025             : 
   21026           0 : XS(_wrap_legendObj_keysizex_get) {
   21027             :   {
   21028             :     legendObj *arg1 = (legendObj *) 0 ;
   21029           0 :     void *argp1 = 0 ;
   21030             :     int res1 = 0 ;
   21031             :     int argvi = 0;
   21032             :     int result;
   21033           0 :     dXSARGS;
   21034             :     
   21035           0 :     if ((items < 1) || (items > 1)) {
   21036           0 :       SWIG_croak("Usage: legendObj_keysizex_get(self);");
   21037             :     }
   21038           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 |  0 );
   21039           0 :     if (!SWIG_IsOK(res1)) {
   21040           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_keysizex_get" "', argument " "1"" of type '" "legendObj *""'"); 
   21041             :     }
   21042           0 :     arg1 = (legendObj *)(argp1);
   21043           0 :     result = (int) ((arg1)->keysizex);
   21044           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   21045             :     
   21046           0 :     XSRETURN(argvi);
   21047           0 :   fail:
   21048             :     
   21049           0 :     SWIG_croak_null();
   21050             :   }
   21051             : }
   21052             : 
   21053             : 
   21054           0 : XS(_wrap_legendObj_keysizey_set) {
   21055             :   {
   21056             :     legendObj *arg1 = (legendObj *) 0 ;
   21057             :     int arg2 ;
   21058           0 :     void *argp1 = 0 ;
   21059             :     int res1 = 0 ;
   21060             :     int val2 ;
   21061             :     int ecode2 = 0 ;
   21062             :     int argvi = 0;
   21063           0 :     dXSARGS;
   21064             :     
   21065           0 :     if ((items < 2) || (items > 2)) {
   21066           0 :       SWIG_croak("Usage: legendObj_keysizey_set(self,keysizey);");
   21067             :     }
   21068           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 |  0 );
   21069           0 :     if (!SWIG_IsOK(res1)) {
   21070           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_keysizey_set" "', argument " "1"" of type '" "legendObj *""'"); 
   21071             :     }
   21072           0 :     arg1 = (legendObj *)(argp1);
   21073           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   21074           0 :     if (!SWIG_IsOK(ecode2)) {
   21075           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "legendObj_keysizey_set" "', argument " "2"" of type '" "int""'");
   21076             :     } 
   21077             :     arg2 = (int)(val2);
   21078           0 :     if (arg1) (arg1)->keysizey = arg2;
   21079           0 :     ST(argvi) = sv_newmortal();
   21080             :     
   21081             :     
   21082           0 :     XSRETURN(argvi);
   21083           0 :   fail:
   21084             :     
   21085             :     
   21086           0 :     SWIG_croak_null();
   21087             :   }
   21088             : }
   21089             : 
   21090             : 
   21091           0 : XS(_wrap_legendObj_keysizey_get) {
   21092             :   {
   21093             :     legendObj *arg1 = (legendObj *) 0 ;
   21094           0 :     void *argp1 = 0 ;
   21095             :     int res1 = 0 ;
   21096             :     int argvi = 0;
   21097             :     int result;
   21098           0 :     dXSARGS;
   21099             :     
   21100           0 :     if ((items < 1) || (items > 1)) {
   21101           0 :       SWIG_croak("Usage: legendObj_keysizey_get(self);");
   21102             :     }
   21103           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 |  0 );
   21104           0 :     if (!SWIG_IsOK(res1)) {
   21105           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_keysizey_get" "', argument " "1"" of type '" "legendObj *""'"); 
   21106             :     }
   21107           0 :     arg1 = (legendObj *)(argp1);
   21108           0 :     result = (int) ((arg1)->keysizey);
   21109           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   21110             :     
   21111           0 :     XSRETURN(argvi);
   21112           0 :   fail:
   21113             :     
   21114           0 :     SWIG_croak_null();
   21115             :   }
   21116             : }
   21117             : 
   21118             : 
   21119           0 : XS(_wrap_legendObj_keyspacingx_set) {
   21120             :   {
   21121             :     legendObj *arg1 = (legendObj *) 0 ;
   21122             :     int arg2 ;
   21123           0 :     void *argp1 = 0 ;
   21124             :     int res1 = 0 ;
   21125             :     int val2 ;
   21126             :     int ecode2 = 0 ;
   21127             :     int argvi = 0;
   21128           0 :     dXSARGS;
   21129             :     
   21130           0 :     if ((items < 2) || (items > 2)) {
   21131           0 :       SWIG_croak("Usage: legendObj_keyspacingx_set(self,keyspacingx);");
   21132             :     }
   21133           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 |  0 );
   21134           0 :     if (!SWIG_IsOK(res1)) {
   21135           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_keyspacingx_set" "', argument " "1"" of type '" "legendObj *""'"); 
   21136             :     }
   21137           0 :     arg1 = (legendObj *)(argp1);
   21138           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   21139           0 :     if (!SWIG_IsOK(ecode2)) {
   21140           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "legendObj_keyspacingx_set" "', argument " "2"" of type '" "int""'");
   21141             :     } 
   21142             :     arg2 = (int)(val2);
   21143           0 :     if (arg1) (arg1)->keyspacingx = arg2;
   21144           0 :     ST(argvi) = sv_newmortal();
   21145             :     
   21146             :     
   21147           0 :     XSRETURN(argvi);
   21148           0 :   fail:
   21149             :     
   21150             :     
   21151           0 :     SWIG_croak_null();
   21152             :   }
   21153             : }
   21154             : 
   21155             : 
   21156           0 : XS(_wrap_legendObj_keyspacingx_get) {
   21157             :   {
   21158             :     legendObj *arg1 = (legendObj *) 0 ;
   21159           0 :     void *argp1 = 0 ;
   21160             :     int res1 = 0 ;
   21161             :     int argvi = 0;
   21162             :     int result;
   21163           0 :     dXSARGS;
   21164             :     
   21165           0 :     if ((items < 1) || (items > 1)) {
   21166           0 :       SWIG_croak("Usage: legendObj_keyspacingx_get(self);");
   21167             :     }
   21168           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 |  0 );
   21169           0 :     if (!SWIG_IsOK(res1)) {
   21170           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_keyspacingx_get" "', argument " "1"" of type '" "legendObj *""'"); 
   21171             :     }
   21172           0 :     arg1 = (legendObj *)(argp1);
   21173           0 :     result = (int) ((arg1)->keyspacingx);
   21174           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   21175             :     
   21176           0 :     XSRETURN(argvi);
   21177           0 :   fail:
   21178             :     
   21179           0 :     SWIG_croak_null();
   21180             :   }
   21181             : }
   21182             : 
   21183             : 
   21184           0 : XS(_wrap_legendObj_keyspacingy_set) {
   21185             :   {
   21186             :     legendObj *arg1 = (legendObj *) 0 ;
   21187             :     int arg2 ;
   21188           0 :     void *argp1 = 0 ;
   21189             :     int res1 = 0 ;
   21190             :     int val2 ;
   21191             :     int ecode2 = 0 ;
   21192             :     int argvi = 0;
   21193           0 :     dXSARGS;
   21194             :     
   21195           0 :     if ((items < 2) || (items > 2)) {
   21196           0 :       SWIG_croak("Usage: legendObj_keyspacingy_set(self,keyspacingy);");
   21197             :     }
   21198           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 |  0 );
   21199           0 :     if (!SWIG_IsOK(res1)) {
   21200           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_keyspacingy_set" "', argument " "1"" of type '" "legendObj *""'"); 
   21201             :     }
   21202           0 :     arg1 = (legendObj *)(argp1);
   21203           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   21204           0 :     if (!SWIG_IsOK(ecode2)) {
   21205           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "legendObj_keyspacingy_set" "', argument " "2"" of type '" "int""'");
   21206             :     } 
   21207             :     arg2 = (int)(val2);
   21208           0 :     if (arg1) (arg1)->keyspacingy = arg2;
   21209           0 :     ST(argvi) = sv_newmortal();
   21210             :     
   21211             :     
   21212           0 :     XSRETURN(argvi);
   21213           0 :   fail:
   21214             :     
   21215             :     
   21216           0 :     SWIG_croak_null();
   21217             :   }
   21218             : }
   21219             : 
   21220             : 
   21221           0 : XS(_wrap_legendObj_keyspacingy_get) {
   21222             :   {
   21223             :     legendObj *arg1 = (legendObj *) 0 ;
   21224           0 :     void *argp1 = 0 ;
   21225             :     int res1 = 0 ;
   21226             :     int argvi = 0;
   21227             :     int result;
   21228           0 :     dXSARGS;
   21229             :     
   21230           0 :     if ((items < 1) || (items > 1)) {
   21231           0 :       SWIG_croak("Usage: legendObj_keyspacingy_get(self);");
   21232             :     }
   21233           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 |  0 );
   21234           0 :     if (!SWIG_IsOK(res1)) {
   21235           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_keyspacingy_get" "', argument " "1"" of type '" "legendObj *""'"); 
   21236             :     }
   21237           0 :     arg1 = (legendObj *)(argp1);
   21238           0 :     result = (int) ((arg1)->keyspacingy);
   21239           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   21240             :     
   21241           0 :     XSRETURN(argvi);
   21242           0 :   fail:
   21243             :     
   21244           0 :     SWIG_croak_null();
   21245             :   }
   21246             : }
   21247             : 
   21248             : 
   21249           0 : XS(_wrap_legendObj_outlinecolor_set) {
   21250             :   {
   21251             :     legendObj *arg1 = (legendObj *) 0 ;
   21252             :     colorObj *arg2 = (colorObj *) 0 ;
   21253           0 :     void *argp1 = 0 ;
   21254             :     int res1 = 0 ;
   21255           0 :     void *argp2 = 0 ;
   21256             :     int res2 = 0 ;
   21257             :     int argvi = 0;
   21258           0 :     dXSARGS;
   21259             :     
   21260           0 :     if ((items < 2) || (items > 2)) {
   21261           0 :       SWIG_croak("Usage: legendObj_outlinecolor_set(self,outlinecolor);");
   21262             :     }
   21263           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 |  0 );
   21264           0 :     if (!SWIG_IsOK(res1)) {
   21265           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_outlinecolor_set" "', argument " "1"" of type '" "legendObj *""'"); 
   21266             :     }
   21267           0 :     arg1 = (legendObj *)(argp1);
   21268           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_colorObj, 0 |  0 );
   21269           0 :     if (!SWIG_IsOK(res2)) {
   21270           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "legendObj_outlinecolor_set" "', argument " "2"" of type '" "colorObj *""'"); 
   21271             :     }
   21272           0 :     arg2 = (colorObj *)(argp2);
   21273           0 :     if (arg1) (arg1)->outlinecolor = *arg2;
   21274           0 :     ST(argvi) = sv_newmortal();
   21275             :     
   21276             :     
   21277           0 :     XSRETURN(argvi);
   21278           0 :   fail:
   21279             :     
   21280             :     
   21281           0 :     SWIG_croak_null();
   21282             :   }
   21283             : }
   21284             : 
   21285             : 
   21286           0 : XS(_wrap_legendObj_outlinecolor_get) {
   21287             :   {
   21288             :     legendObj *arg1 = (legendObj *) 0 ;
   21289           0 :     void *argp1 = 0 ;
   21290             :     int res1 = 0 ;
   21291             :     int argvi = 0;
   21292             :     colorObj *result = 0 ;
   21293           0 :     dXSARGS;
   21294             :     
   21295           0 :     if ((items < 1) || (items > 1)) {
   21296           0 :       SWIG_croak("Usage: legendObj_outlinecolor_get(self);");
   21297             :     }
   21298           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 |  0 );
   21299           0 :     if (!SWIG_IsOK(res1)) {
   21300           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_outlinecolor_get" "', argument " "1"" of type '" "legendObj *""'"); 
   21301             :     }
   21302           0 :     arg1 = (legendObj *)(argp1);
   21303           0 :     result = (colorObj *)& ((arg1)->outlinecolor);
   21304           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_colorObj, 0 | SWIG_SHADOW); argvi++ ;
   21305             :     
   21306           0 :     XSRETURN(argvi);
   21307           0 :   fail:
   21308             :     
   21309           0 :     SWIG_croak_null();
   21310             :   }
   21311             : }
   21312             : 
   21313             : 
   21314           0 : XS(_wrap_legendObj_status_set) {
   21315             :   {
   21316             :     legendObj *arg1 = (legendObj *) 0 ;
   21317             :     int arg2 ;
   21318           0 :     void *argp1 = 0 ;
   21319             :     int res1 = 0 ;
   21320             :     int val2 ;
   21321             :     int ecode2 = 0 ;
   21322             :     int argvi = 0;
   21323           0 :     dXSARGS;
   21324             :     
   21325           0 :     if ((items < 2) || (items > 2)) {
   21326           0 :       SWIG_croak("Usage: legendObj_status_set(self,status);");
   21327             :     }
   21328           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 |  0 );
   21329           0 :     if (!SWIG_IsOK(res1)) {
   21330           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_status_set" "', argument " "1"" of type '" "legendObj *""'"); 
   21331             :     }
   21332           0 :     arg1 = (legendObj *)(argp1);
   21333           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   21334           0 :     if (!SWIG_IsOK(ecode2)) {
   21335           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "legendObj_status_set" "', argument " "2"" of type '" "int""'");
   21336             :     } 
   21337             :     arg2 = (int)(val2);
   21338           0 :     if (arg1) (arg1)->status = arg2;
   21339           0 :     ST(argvi) = sv_newmortal();
   21340             :     
   21341             :     
   21342           0 :     XSRETURN(argvi);
   21343           0 :   fail:
   21344             :     
   21345             :     
   21346           0 :     SWIG_croak_null();
   21347             :   }
   21348             : }
   21349             : 
   21350             : 
   21351           0 : XS(_wrap_legendObj_status_get) {
   21352             :   {
   21353             :     legendObj *arg1 = (legendObj *) 0 ;
   21354           0 :     void *argp1 = 0 ;
   21355             :     int res1 = 0 ;
   21356             :     int argvi = 0;
   21357             :     int result;
   21358           0 :     dXSARGS;
   21359             :     
   21360           0 :     if ((items < 1) || (items > 1)) {
   21361           0 :       SWIG_croak("Usage: legendObj_status_get(self);");
   21362             :     }
   21363           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 |  0 );
   21364           0 :     if (!SWIG_IsOK(res1)) {
   21365           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_status_get" "', argument " "1"" of type '" "legendObj *""'"); 
   21366             :     }
   21367           0 :     arg1 = (legendObj *)(argp1);
   21368           0 :     result = (int) ((arg1)->status);
   21369           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   21370             :     
   21371           0 :     XSRETURN(argvi);
   21372           0 :   fail:
   21373             :     
   21374           0 :     SWIG_croak_null();
   21375             :   }
   21376             : }
   21377             : 
   21378             : 
   21379           0 : XS(_wrap_legendObj_height_set) {
   21380             :   {
   21381             :     legendObj *arg1 = (legendObj *) 0 ;
   21382             :     int arg2 ;
   21383           0 :     void *argp1 = 0 ;
   21384             :     int res1 = 0 ;
   21385             :     int val2 ;
   21386             :     int ecode2 = 0 ;
   21387             :     int argvi = 0;
   21388           0 :     dXSARGS;
   21389             :     
   21390           0 :     if ((items < 2) || (items > 2)) {
   21391           0 :       SWIG_croak("Usage: legendObj_height_set(self,height);");
   21392             :     }
   21393           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 |  0 );
   21394           0 :     if (!SWIG_IsOK(res1)) {
   21395           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_height_set" "', argument " "1"" of type '" "legendObj *""'"); 
   21396             :     }
   21397           0 :     arg1 = (legendObj *)(argp1);
   21398           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   21399           0 :     if (!SWIG_IsOK(ecode2)) {
   21400           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "legendObj_height_set" "', argument " "2"" of type '" "int""'");
   21401             :     } 
   21402             :     arg2 = (int)(val2);
   21403           0 :     if (arg1) (arg1)->height = arg2;
   21404           0 :     ST(argvi) = sv_newmortal();
   21405             :     
   21406             :     
   21407           0 :     XSRETURN(argvi);
   21408           0 :   fail:
   21409             :     
   21410             :     
   21411           0 :     SWIG_croak_null();
   21412             :   }
   21413             : }
   21414             : 
   21415             : 
   21416           0 : XS(_wrap_legendObj_height_get) {
   21417             :   {
   21418             :     legendObj *arg1 = (legendObj *) 0 ;
   21419           0 :     void *argp1 = 0 ;
   21420             :     int res1 = 0 ;
   21421             :     int argvi = 0;
   21422             :     int result;
   21423           0 :     dXSARGS;
   21424             :     
   21425           0 :     if ((items < 1) || (items > 1)) {
   21426           0 :       SWIG_croak("Usage: legendObj_height_get(self);");
   21427             :     }
   21428           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 |  0 );
   21429           0 :     if (!SWIG_IsOK(res1)) {
   21430           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_height_get" "', argument " "1"" of type '" "legendObj *""'"); 
   21431             :     }
   21432           0 :     arg1 = (legendObj *)(argp1);
   21433           0 :     result = (int) ((arg1)->height);
   21434           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   21435             :     
   21436           0 :     XSRETURN(argvi);
   21437           0 :   fail:
   21438             :     
   21439           0 :     SWIG_croak_null();
   21440             :   }
   21441             : }
   21442             : 
   21443             : 
   21444           0 : XS(_wrap_legendObj_width_set) {
   21445             :   {
   21446             :     legendObj *arg1 = (legendObj *) 0 ;
   21447             :     int arg2 ;
   21448           0 :     void *argp1 = 0 ;
   21449             :     int res1 = 0 ;
   21450             :     int val2 ;
   21451             :     int ecode2 = 0 ;
   21452             :     int argvi = 0;
   21453           0 :     dXSARGS;
   21454             :     
   21455           0 :     if ((items < 2) || (items > 2)) {
   21456           0 :       SWIG_croak("Usage: legendObj_width_set(self,width);");
   21457             :     }
   21458           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 |  0 );
   21459           0 :     if (!SWIG_IsOK(res1)) {
   21460           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_width_set" "', argument " "1"" of type '" "legendObj *""'"); 
   21461             :     }
   21462           0 :     arg1 = (legendObj *)(argp1);
   21463           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   21464           0 :     if (!SWIG_IsOK(ecode2)) {
   21465           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "legendObj_width_set" "', argument " "2"" of type '" "int""'");
   21466             :     } 
   21467             :     arg2 = (int)(val2);
   21468           0 :     if (arg1) (arg1)->width = arg2;
   21469           0 :     ST(argvi) = sv_newmortal();
   21470             :     
   21471             :     
   21472           0 :     XSRETURN(argvi);
   21473           0 :   fail:
   21474             :     
   21475             :     
   21476           0 :     SWIG_croak_null();
   21477             :   }
   21478             : }
   21479             : 
   21480             : 
   21481           0 : XS(_wrap_legendObj_width_get) {
   21482             :   {
   21483             :     legendObj *arg1 = (legendObj *) 0 ;
   21484           0 :     void *argp1 = 0 ;
   21485             :     int res1 = 0 ;
   21486             :     int argvi = 0;
   21487             :     int result;
   21488           0 :     dXSARGS;
   21489             :     
   21490           0 :     if ((items < 1) || (items > 1)) {
   21491           0 :       SWIG_croak("Usage: legendObj_width_get(self);");
   21492             :     }
   21493           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 |  0 );
   21494           0 :     if (!SWIG_IsOK(res1)) {
   21495           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_width_get" "', argument " "1"" of type '" "legendObj *""'"); 
   21496             :     }
   21497           0 :     arg1 = (legendObj *)(argp1);
   21498           0 :     result = (int) ((arg1)->width);
   21499           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   21500             :     
   21501           0 :     XSRETURN(argvi);
   21502           0 :   fail:
   21503             :     
   21504           0 :     SWIG_croak_null();
   21505             :   }
   21506             : }
   21507             : 
   21508             : 
   21509           0 : XS(_wrap_legendObj_position_set) {
   21510             :   {
   21511             :     legendObj *arg1 = (legendObj *) 0 ;
   21512             :     int arg2 ;
   21513           0 :     void *argp1 = 0 ;
   21514             :     int res1 = 0 ;
   21515             :     int val2 ;
   21516             :     int ecode2 = 0 ;
   21517             :     int argvi = 0;
   21518           0 :     dXSARGS;
   21519             :     
   21520           0 :     if ((items < 2) || (items > 2)) {
   21521           0 :       SWIG_croak("Usage: legendObj_position_set(self,position);");
   21522             :     }
   21523           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 |  0 );
   21524           0 :     if (!SWIG_IsOK(res1)) {
   21525           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_position_set" "', argument " "1"" of type '" "legendObj *""'"); 
   21526             :     }
   21527           0 :     arg1 = (legendObj *)(argp1);
   21528           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   21529           0 :     if (!SWIG_IsOK(ecode2)) {
   21530           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "legendObj_position_set" "', argument " "2"" of type '" "int""'");
   21531             :     } 
   21532             :     arg2 = (int)(val2);
   21533           0 :     if (arg1) (arg1)->position = arg2;
   21534           0 :     ST(argvi) = sv_newmortal();
   21535             :     
   21536             :     
   21537           0 :     XSRETURN(argvi);
   21538           0 :   fail:
   21539             :     
   21540             :     
   21541           0 :     SWIG_croak_null();
   21542             :   }
   21543             : }
   21544             : 
   21545             : 
   21546           0 : XS(_wrap_legendObj_position_get) {
   21547             :   {
   21548             :     legendObj *arg1 = (legendObj *) 0 ;
   21549           0 :     void *argp1 = 0 ;
   21550             :     int res1 = 0 ;
   21551             :     int argvi = 0;
   21552             :     int result;
   21553           0 :     dXSARGS;
   21554             :     
   21555           0 :     if ((items < 1) || (items > 1)) {
   21556           0 :       SWIG_croak("Usage: legendObj_position_get(self);");
   21557             :     }
   21558           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 |  0 );
   21559           0 :     if (!SWIG_IsOK(res1)) {
   21560           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_position_get" "', argument " "1"" of type '" "legendObj *""'"); 
   21561             :     }
   21562           0 :     arg1 = (legendObj *)(argp1);
   21563           0 :     result = (int) ((arg1)->position);
   21564           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   21565             :     
   21566           0 :     XSRETURN(argvi);
   21567           0 :   fail:
   21568             :     
   21569           0 :     SWIG_croak_null();
   21570             :   }
   21571             : }
   21572             : 
   21573             : 
   21574           0 : XS(_wrap_legendObj_postlabelcache_set) {
   21575             :   {
   21576             :     legendObj *arg1 = (legendObj *) 0 ;
   21577             :     int arg2 ;
   21578           0 :     void *argp1 = 0 ;
   21579             :     int res1 = 0 ;
   21580             :     int val2 ;
   21581             :     int ecode2 = 0 ;
   21582             :     int argvi = 0;
   21583           0 :     dXSARGS;
   21584             :     
   21585           0 :     if ((items < 2) || (items > 2)) {
   21586           0 :       SWIG_croak("Usage: legendObj_postlabelcache_set(self,postlabelcache);");
   21587             :     }
   21588           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 |  0 );
   21589           0 :     if (!SWIG_IsOK(res1)) {
   21590           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_postlabelcache_set" "', argument " "1"" of type '" "legendObj *""'"); 
   21591             :     }
   21592           0 :     arg1 = (legendObj *)(argp1);
   21593           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   21594           0 :     if (!SWIG_IsOK(ecode2)) {
   21595           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "legendObj_postlabelcache_set" "', argument " "2"" of type '" "int""'");
   21596             :     } 
   21597             :     arg2 = (int)(val2);
   21598           0 :     if (arg1) (arg1)->postlabelcache = arg2;
   21599           0 :     ST(argvi) = sv_newmortal();
   21600             :     
   21601             :     
   21602           0 :     XSRETURN(argvi);
   21603           0 :   fail:
   21604             :     
   21605             :     
   21606           0 :     SWIG_croak_null();
   21607             :   }
   21608             : }
   21609             : 
   21610             : 
   21611           0 : XS(_wrap_legendObj_postlabelcache_get) {
   21612             :   {
   21613             :     legendObj *arg1 = (legendObj *) 0 ;
   21614           0 :     void *argp1 = 0 ;
   21615             :     int res1 = 0 ;
   21616             :     int argvi = 0;
   21617             :     int result;
   21618           0 :     dXSARGS;
   21619             :     
   21620           0 :     if ((items < 1) || (items > 1)) {
   21621           0 :       SWIG_croak("Usage: legendObj_postlabelcache_get(self);");
   21622             :     }
   21623           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 |  0 );
   21624           0 :     if (!SWIG_IsOK(res1)) {
   21625           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_postlabelcache_get" "', argument " "1"" of type '" "legendObj *""'"); 
   21626             :     }
   21627           0 :     arg1 = (legendObj *)(argp1);
   21628           0 :     result = (int) ((arg1)->postlabelcache);
   21629           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   21630             :     
   21631           0 :     XSRETURN(argvi);
   21632           0 :   fail:
   21633             :     
   21634           0 :     SWIG_croak_null();
   21635             :   }
   21636             : }
   21637             : 
   21638             : 
   21639           0 : XS(_wrap_legendObj_template_set) {
   21640             :   {
   21641             :     legendObj *arg1 = (legendObj *) 0 ;
   21642             :     char *arg2 = (char *) 0 ;
   21643           0 :     void *argp1 = 0 ;
   21644             :     int res1 = 0 ;
   21645             :     int res2 ;
   21646           0 :     char *buf2 = 0 ;
   21647           0 :     int alloc2 = 0 ;
   21648             :     int argvi = 0;
   21649           0 :     dXSARGS;
   21650             :     
   21651           0 :     if ((items < 2) || (items > 2)) {
   21652           0 :       SWIG_croak("Usage: legendObj_template_set(self,template);");
   21653             :     }
   21654           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 |  0 );
   21655           0 :     if (!SWIG_IsOK(res1)) {
   21656           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_template_set" "', argument " "1"" of type '" "legendObj *""'"); 
   21657             :     }
   21658           0 :     arg1 = (legendObj *)(argp1);
   21659           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   21660           0 :     if (!SWIG_IsOK(res2)) {
   21661           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "legendObj_template_set" "', argument " "2"" of type '" "char *""'");
   21662             :     }
   21663           0 :     arg2 = (char *)(buf2);
   21664             :     {
   21665           0 :       if (arg1->template) free((char*)arg1->template);
   21666           0 :       if (arg2) {
   21667           0 :         arg1->template = (char *) malloc(strlen(arg2)+1);
   21668             :         strcpy((char*)arg1->template,arg2);
   21669             :       } else {
   21670           0 :         arg1->template = 0;
   21671             :       }
   21672             :     }
   21673           0 :     ST(argvi) = sv_newmortal();
   21674             :     
   21675           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   21676           0 :     XSRETURN(argvi);
   21677           0 :   fail:
   21678             :     
   21679           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   21680           0 :     SWIG_croak_null();
   21681             :   }
   21682             : }
   21683             : 
   21684             : 
   21685           0 : XS(_wrap_legendObj_template_get) {
   21686             :   {
   21687             :     legendObj *arg1 = (legendObj *) 0 ;
   21688           0 :     void *argp1 = 0 ;
   21689             :     int res1 = 0 ;
   21690             :     int argvi = 0;
   21691             :     char *result = 0 ;
   21692           0 :     dXSARGS;
   21693             :     
   21694           0 :     if ((items < 1) || (items > 1)) {
   21695           0 :       SWIG_croak("Usage: legendObj_template_get(self);");
   21696             :     }
   21697           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 |  0 );
   21698           0 :     if (!SWIG_IsOK(res1)) {
   21699           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_template_get" "', argument " "1"" of type '" "legendObj *""'"); 
   21700             :     }
   21701           0 :     arg1 = (legendObj *)(argp1);
   21702           0 :     result = (char *) ((arg1)->template);
   21703           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   21704             :     
   21705           0 :     XSRETURN(argvi);
   21706           0 :   fail:
   21707             :     
   21708           0 :     SWIG_croak_null();
   21709             :   }
   21710             : }
   21711             : 
   21712             : 
   21713           0 : XS(_wrap_legendObj_map_get) {
   21714             :   {
   21715             :     legendObj *arg1 = (legendObj *) 0 ;
   21716           0 :     void *argp1 = 0 ;
   21717             :     int res1 = 0 ;
   21718             :     int argvi = 0;
   21719             :     struct mapObj *result = 0 ;
   21720           0 :     dXSARGS;
   21721             :     
   21722           0 :     if ((items < 1) || (items > 1)) {
   21723           0 :       SWIG_croak("Usage: legendObj_map_get(self);");
   21724             :     }
   21725           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 |  0 );
   21726           0 :     if (!SWIG_IsOK(res1)) {
   21727           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_map_get" "', argument " "1"" of type '" "legendObj *""'"); 
   21728             :     }
   21729           0 :     arg1 = (legendObj *)(argp1);
   21730             :     {
   21731             :       /* Accessing map */
   21732           0 :       result = (struct mapObj *) ((arg1)->map);;
   21733           0 :       MS_REFCNT_INCR(result);
   21734             :     }
   21735           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mapObj, 0 | SWIG_SHADOW); argvi++ ;
   21736             :     
   21737           0 :     XSRETURN(argvi);
   21738           0 :   fail:
   21739             :     
   21740           0 :     SWIG_croak_null();
   21741             :   }
   21742             : }
   21743             : 
   21744             : 
   21745           0 : XS(_wrap_legendObj_updateFromString) {
   21746             :   {
   21747             :     legendObj *arg1 = (legendObj *) 0 ;
   21748             :     char *arg2 = (char *) 0 ;
   21749           0 :     void *argp1 = 0 ;
   21750             :     int res1 = 0 ;
   21751             :     int res2 ;
   21752           0 :     char *buf2 = 0 ;
   21753           0 :     int alloc2 = 0 ;
   21754             :     int argvi = 0;
   21755             :     int result;
   21756           0 :     dXSARGS;
   21757             :     
   21758           0 :     if ((items < 2) || (items > 2)) {
   21759           0 :       SWIG_croak("Usage: legendObj_updateFromString(self,snippet);");
   21760             :     }
   21761           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 |  0 );
   21762           0 :     if (!SWIG_IsOK(res1)) {
   21763           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_updateFromString" "', argument " "1"" of type '" "legendObj *""'"); 
   21764             :     }
   21765           0 :     arg1 = (legendObj *)(argp1);
   21766           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   21767           0 :     if (!SWIG_IsOK(res2)) {
   21768           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "legendObj_updateFromString" "', argument " "2"" of type '" "char *""'");
   21769             :     }
   21770           0 :     arg2 = (char *)(buf2);
   21771             :     result = (int)legendObj_updateFromString(arg1,arg2);
   21772           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   21773             :     
   21774           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   21775           0 :     XSRETURN(argvi);
   21776           0 :   fail:
   21777             :     
   21778           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   21779           0 :     SWIG_croak_null();
   21780             :   }
   21781             : }
   21782             : 
   21783             : 
   21784           0 : XS(_wrap_legendObj_convertToString) {
   21785             :   {
   21786             :     legendObj *arg1 = (legendObj *) 0 ;
   21787           0 :     void *argp1 = 0 ;
   21788             :     int res1 = 0 ;
   21789             :     int argvi = 0;
   21790             :     char *result = 0 ;
   21791           0 :     dXSARGS;
   21792             :     
   21793           0 :     if ((items < 1) || (items > 1)) {
   21794           0 :       SWIG_croak("Usage: legendObj_convertToString(self);");
   21795             :     }
   21796           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, 0 |  0 );
   21797           0 :     if (!SWIG_IsOK(res1)) {
   21798           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "legendObj_convertToString" "', argument " "1"" of type '" "legendObj *""'"); 
   21799             :     }
   21800           0 :     arg1 = (legendObj *)(argp1);
   21801             :     result = (char *)legendObj_convertToString(arg1);
   21802           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   21803             :     
   21804           0 :     free((char*)result);
   21805           0 :     XSRETURN(argvi);
   21806           0 :   fail:
   21807             :     
   21808           0 :     SWIG_croak_null();
   21809             :   }
   21810             : }
   21811             : 
   21812             : 
   21813           0 : XS(_wrap_new_legendObj) {
   21814             :   {
   21815             :     int argvi = 0;
   21816             :     legendObj *result = 0 ;
   21817           0 :     dXSARGS;
   21818             :     
   21819           0 :     if ((items < 0) || (items > 0)) {
   21820           0 :       SWIG_croak("Usage: new_legendObj();");
   21821             :     }
   21822           0 :     result = (legendObj *)calloc(1, sizeof(legendObj));
   21823           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_legendObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   21824           0 :     XSRETURN(argvi);
   21825             :   fail:
   21826           0 :     SWIG_croak_null();
   21827             :   }
   21828             : }
   21829             : 
   21830             : 
   21831           0 : XS(_wrap_delete_legendObj) {
   21832             :   {
   21833             :     legendObj *arg1 = (legendObj *) 0 ;
   21834           0 :     void *argp1 = 0 ;
   21835             :     int res1 = 0 ;
   21836             :     int argvi = 0;
   21837           0 :     dXSARGS;
   21838             :     
   21839           0 :     if ((items < 1) || (items > 1)) {
   21840           0 :       SWIG_croak("Usage: delete_legendObj(self);");
   21841             :     }
   21842           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_legendObj, SWIG_POINTER_DISOWN |  0 );
   21843           0 :     if (!SWIG_IsOK(res1)) {
   21844           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_legendObj" "', argument " "1"" of type '" "legendObj *""'"); 
   21845             :     }
   21846           0 :     arg1 = (legendObj *)(argp1);
   21847           0 :     free((char *) arg1);
   21848           0 :     ST(argvi) = sv_newmortal();
   21849             :     
   21850           0 :     XSRETURN(argvi);
   21851           0 :   fail:
   21852             :     
   21853           0 :     SWIG_croak_null();
   21854             :   }
   21855             : }
   21856             : 
   21857             : 
   21858           0 : XS(_wrap_imageObj_width_get) {
   21859             :   {
   21860             :     struct imageObj *arg1 = (struct imageObj *) 0 ;
   21861           0 :     void *argp1 = 0 ;
   21862             :     int res1 = 0 ;
   21863             :     int argvi = 0;
   21864             :     int result;
   21865           0 :     dXSARGS;
   21866             :     
   21867           0 :     if ((items < 1) || (items > 1)) {
   21868           0 :       SWIG_croak("Usage: imageObj_width_get(self);");
   21869             :     }
   21870           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_imageObj, 0 |  0 );
   21871           0 :     if (!SWIG_IsOK(res1)) {
   21872           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imageObj_width_get" "', argument " "1"" of type '" "struct imageObj *""'"); 
   21873             :     }
   21874           0 :     arg1 = (struct imageObj *)(argp1);
   21875           0 :     result = (int) ((arg1)->width);
   21876           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   21877             :     
   21878           0 :     XSRETURN(argvi);
   21879           0 :   fail:
   21880             :     
   21881           0 :     SWIG_croak_null();
   21882             :   }
   21883             : }
   21884             : 
   21885             : 
   21886           0 : XS(_wrap_imageObj_height_get) {
   21887             :   {
   21888             :     struct imageObj *arg1 = (struct imageObj *) 0 ;
   21889           0 :     void *argp1 = 0 ;
   21890             :     int res1 = 0 ;
   21891             :     int argvi = 0;
   21892             :     int result;
   21893           0 :     dXSARGS;
   21894             :     
   21895           0 :     if ((items < 1) || (items > 1)) {
   21896           0 :       SWIG_croak("Usage: imageObj_height_get(self);");
   21897             :     }
   21898           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_imageObj, 0 |  0 );
   21899           0 :     if (!SWIG_IsOK(res1)) {
   21900           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imageObj_height_get" "', argument " "1"" of type '" "struct imageObj *""'"); 
   21901             :     }
   21902           0 :     arg1 = (struct imageObj *)(argp1);
   21903           0 :     result = (int) ((arg1)->height);
   21904           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   21905             :     
   21906           0 :     XSRETURN(argvi);
   21907           0 :   fail:
   21908             :     
   21909           0 :     SWIG_croak_null();
   21910             :   }
   21911             : }
   21912             : 
   21913             : 
   21914           0 : XS(_wrap_imageObj_resolution_get) {
   21915             :   {
   21916             :     struct imageObj *arg1 = (struct imageObj *) 0 ;
   21917           0 :     void *argp1 = 0 ;
   21918             :     int res1 = 0 ;
   21919             :     int argvi = 0;
   21920             :     double result;
   21921           0 :     dXSARGS;
   21922             :     
   21923           0 :     if ((items < 1) || (items > 1)) {
   21924           0 :       SWIG_croak("Usage: imageObj_resolution_get(self);");
   21925             :     }
   21926           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_imageObj, 0 |  0 );
   21927           0 :     if (!SWIG_IsOK(res1)) {
   21928           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imageObj_resolution_get" "', argument " "1"" of type '" "struct imageObj *""'"); 
   21929             :     }
   21930           0 :     arg1 = (struct imageObj *)(argp1);
   21931           0 :     result = (double) ((arg1)->resolution);
   21932           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   21933             :     
   21934           0 :     XSRETURN(argvi);
   21935           0 :   fail:
   21936             :     
   21937           0 :     SWIG_croak_null();
   21938             :   }
   21939             : }
   21940             : 
   21941             : 
   21942           0 : XS(_wrap_imageObj_resolutionfactor_get) {
   21943             :   {
   21944             :     struct imageObj *arg1 = (struct imageObj *) 0 ;
   21945           0 :     void *argp1 = 0 ;
   21946             :     int res1 = 0 ;
   21947             :     int argvi = 0;
   21948             :     double result;
   21949           0 :     dXSARGS;
   21950             :     
   21951           0 :     if ((items < 1) || (items > 1)) {
   21952           0 :       SWIG_croak("Usage: imageObj_resolutionfactor_get(self);");
   21953             :     }
   21954           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_imageObj, 0 |  0 );
   21955           0 :     if (!SWIG_IsOK(res1)) {
   21956           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imageObj_resolutionfactor_get" "', argument " "1"" of type '" "struct imageObj *""'"); 
   21957             :     }
   21958           0 :     arg1 = (struct imageObj *)(argp1);
   21959           0 :     result = (double) ((arg1)->resolutionfactor);
   21960           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   21961             :     
   21962           0 :     XSRETURN(argvi);
   21963           0 :   fail:
   21964             :     
   21965           0 :     SWIG_croak_null();
   21966             :   }
   21967             : }
   21968             : 
   21969             : 
   21970           0 : XS(_wrap_imageObj_imagepath_get) {
   21971             :   {
   21972             :     struct imageObj *arg1 = (struct imageObj *) 0 ;
   21973           0 :     void *argp1 = 0 ;
   21974             :     int res1 = 0 ;
   21975             :     int argvi = 0;
   21976             :     char *result = 0 ;
   21977           0 :     dXSARGS;
   21978             :     
   21979           0 :     if ((items < 1) || (items > 1)) {
   21980           0 :       SWIG_croak("Usage: imageObj_imagepath_get(self);");
   21981             :     }
   21982           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_imageObj, 0 |  0 );
   21983           0 :     if (!SWIG_IsOK(res1)) {
   21984           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imageObj_imagepath_get" "', argument " "1"" of type '" "struct imageObj *""'"); 
   21985             :     }
   21986           0 :     arg1 = (struct imageObj *)(argp1);
   21987           0 :     result = (char *) ((arg1)->imagepath);
   21988           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   21989             :     
   21990           0 :     XSRETURN(argvi);
   21991           0 :   fail:
   21992             :     
   21993           0 :     SWIG_croak_null();
   21994             :   }
   21995             : }
   21996             : 
   21997             : 
   21998           0 : XS(_wrap_imageObj_imageurl_get) {
   21999             :   {
   22000             :     struct imageObj *arg1 = (struct imageObj *) 0 ;
   22001           0 :     void *argp1 = 0 ;
   22002             :     int res1 = 0 ;
   22003             :     int argvi = 0;
   22004             :     char *result = 0 ;
   22005           0 :     dXSARGS;
   22006             :     
   22007           0 :     if ((items < 1) || (items > 1)) {
   22008           0 :       SWIG_croak("Usage: imageObj_imageurl_get(self);");
   22009             :     }
   22010           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_imageObj, 0 |  0 );
   22011           0 :     if (!SWIG_IsOK(res1)) {
   22012           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imageObj_imageurl_get" "', argument " "1"" of type '" "struct imageObj *""'"); 
   22013             :     }
   22014           0 :     arg1 = (struct imageObj *)(argp1);
   22015           0 :     result = (char *) ((arg1)->imageurl);
   22016           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   22017             :     
   22018           0 :     XSRETURN(argvi);
   22019           0 :   fail:
   22020             :     
   22021           0 :     SWIG_croak_null();
   22022             :   }
   22023             : }
   22024             : 
   22025             : 
   22026           0 : XS(_wrap_imageObj_format_get) {
   22027             :   {
   22028             :     struct imageObj *arg1 = (struct imageObj *) 0 ;
   22029           0 :     void *argp1 = 0 ;
   22030             :     int res1 = 0 ;
   22031             :     int argvi = 0;
   22032             :     outputFormatObj *result = 0 ;
   22033           0 :     dXSARGS;
   22034             :     
   22035           0 :     if ((items < 1) || (items > 1)) {
   22036           0 :       SWIG_croak("Usage: imageObj_format_get(self);");
   22037             :     }
   22038           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_imageObj, 0 |  0 );
   22039           0 :     if (!SWIG_IsOK(res1)) {
   22040           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imageObj_format_get" "', argument " "1"" of type '" "struct imageObj *""'"); 
   22041             :     }
   22042           0 :     arg1 = (struct imageObj *)(argp1);
   22043           0 :     result = (outputFormatObj *) ((arg1)->format);
   22044           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_outputFormatObj, 0 | SWIG_SHADOW); argvi++ ;
   22045             :     
   22046           0 :     XSRETURN(argvi);
   22047           0 :   fail:
   22048             :     
   22049           0 :     SWIG_croak_null();
   22050             :   }
   22051             : }
   22052             : 
   22053             : 
   22054           0 : XS(_wrap_new_imageObj) {
   22055             :   {
   22056             :     int arg1 ;
   22057             :     int arg2 ;
   22058             :     outputFormatObj *arg3 = (outputFormatObj *) NULL ;
   22059             :     char *arg4 = (char *) NULL ;
   22060             :     double arg5 = (double) MS_DEFAULT_RESOLUTION ;
   22061             :     double arg6 = (double) MS_DEFAULT_RESOLUTION ;
   22062             :     int val1 ;
   22063             :     int ecode1 = 0 ;
   22064             :     int val2 ;
   22065             :     int ecode2 = 0 ;
   22066           0 :     void *argp3 = 0 ;
   22067             :     int res3 = 0 ;
   22068             :     int res4 ;
   22069           0 :     char *buf4 = 0 ;
   22070           0 :     int alloc4 = 0 ;
   22071             :     double val5 ;
   22072             :     int ecode5 = 0 ;
   22073             :     double val6 ;
   22074             :     int ecode6 = 0 ;
   22075             :     int argvi = 0;
   22076             :     struct imageObj *result = 0 ;
   22077           0 :     dXSARGS;
   22078             :     
   22079           0 :     if ((items < 2) || (items > 6)) {
   22080           0 :       SWIG_croak("Usage: new_imageObj(width,height,input_format,file,resolution,defresolution);");
   22081             :     }
   22082           0 :     ecode1 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
   22083           0 :     if (!SWIG_IsOK(ecode1)) {
   22084           0 :       SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_imageObj" "', argument " "1"" of type '" "int""'");
   22085             :     } 
   22086             :     arg1 = (int)(val1);
   22087           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   22088           0 :     if (!SWIG_IsOK(ecode2)) {
   22089           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_imageObj" "', argument " "2"" of type '" "int""'");
   22090             :     } 
   22091             :     arg2 = (int)(val2);
   22092           0 :     if (items > 2) {
   22093           0 :       res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_outputFormatObj, 0 |  0 );
   22094           0 :       if (!SWIG_IsOK(res3)) {
   22095           0 :         SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_imageObj" "', argument " "3"" of type '" "outputFormatObj *""'"); 
   22096             :       }
   22097           0 :       arg3 = (outputFormatObj *)(argp3);
   22098             :     }
   22099           0 :     if (items > 3) {
   22100           0 :       res4 = SWIG_AsCharPtrAndSize(ST(3), &buf4, NULL, &alloc4);
   22101           0 :       if (!SWIG_IsOK(res4)) {
   22102           0 :         SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_imageObj" "', argument " "4"" of type '" "char const *""'");
   22103             :       }
   22104           0 :       arg4 = (char *)(buf4);
   22105             :     }
   22106           0 :     if (items > 4) {
   22107           0 :       ecode5 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
   22108           0 :       if (!SWIG_IsOK(ecode5)) {
   22109           0 :         SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_imageObj" "', argument " "5"" of type '" "double""'");
   22110             :       } 
   22111           0 :       arg5 = (double)(val5);
   22112             :     }
   22113           0 :     if (items > 5) {
   22114           0 :       ecode6 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(5), &val6);
   22115           0 :       if (!SWIG_IsOK(ecode6)) {
   22116           0 :         SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_imageObj" "', argument " "6"" of type '" "double""'");
   22117             :       } 
   22118           0 :       arg6 = (double)(val6);
   22119             :     }
   22120           0 :     result = (struct imageObj *)new_imageObj(arg1,arg2,arg3,(char const *)arg4,arg5,arg6);
   22121           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_imageObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   22122             :     
   22123             :     
   22124             :     
   22125           0 :     if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
   22126             :     
   22127             :     
   22128           0 :     XSRETURN(argvi);
   22129           0 :   fail:
   22130             :     
   22131             :     
   22132             :     
   22133           0 :     if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
   22134             :     
   22135             :     
   22136           0 :     SWIG_croak_null();
   22137             :   }
   22138             : }
   22139             : 
   22140             : 
   22141           0 : XS(_wrap_delete_imageObj) {
   22142             :   {
   22143             :     struct imageObj *arg1 = (struct imageObj *) 0 ;
   22144           0 :     void *argp1 = 0 ;
   22145             :     int res1 = 0 ;
   22146             :     int argvi = 0;
   22147           0 :     dXSARGS;
   22148             :     
   22149           0 :     if ((items < 1) || (items > 1)) {
   22150           0 :       SWIG_croak("Usage: delete_imageObj(self);");
   22151             :     }
   22152           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_imageObj, SWIG_POINTER_DISOWN |  0 );
   22153           0 :     if (!SWIG_IsOK(res1)) {
   22154           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_imageObj" "', argument " "1"" of type '" "struct imageObj *""'"); 
   22155             :     }
   22156           0 :     arg1 = (struct imageObj *)(argp1);
   22157             :     delete_imageObj(arg1);
   22158           0 :     ST(argvi) = sv_newmortal();
   22159             :     
   22160           0 :     XSRETURN(argvi);
   22161           0 :   fail:
   22162             :     
   22163           0 :     SWIG_croak_null();
   22164             :   }
   22165             : }
   22166             : 
   22167             : 
   22168           0 : XS(_wrap_imageObj_save) {
   22169             :   {
   22170             :     struct imageObj *arg1 = (struct imageObj *) 0 ;
   22171             :     char *arg2 = (char *) 0 ;
   22172             :     mapObj *arg3 = (mapObj *) NULL ;
   22173           0 :     void *argp1 = 0 ;
   22174             :     int res1 = 0 ;
   22175             :     int res2 ;
   22176           0 :     char *buf2 = 0 ;
   22177           0 :     int alloc2 = 0 ;
   22178           0 :     void *argp3 = 0 ;
   22179             :     int res3 = 0 ;
   22180             :     int argvi = 0;
   22181           0 :     dXSARGS;
   22182             :     
   22183           0 :     if ((items < 2) || (items > 3)) {
   22184           0 :       SWIG_croak("Usage: imageObj_save(self,filename,map);");
   22185             :     }
   22186           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_imageObj, 0 |  0 );
   22187           0 :     if (!SWIG_IsOK(res1)) {
   22188           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imageObj_save" "', argument " "1"" of type '" "struct imageObj *""'"); 
   22189             :     }
   22190           0 :     arg1 = (struct imageObj *)(argp1);
   22191           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   22192           0 :     if (!SWIG_IsOK(res2)) {
   22193           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "imageObj_save" "', argument " "2"" of type '" "char *""'");
   22194             :     }
   22195           0 :     arg2 = (char *)(buf2);
   22196           0 :     if (items > 2) {
   22197           0 :       res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_mapObj, 0 |  0 );
   22198           0 :       if (!SWIG_IsOK(res3)) {
   22199           0 :         SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "imageObj_save" "', argument " "3"" of type '" "mapObj *""'"); 
   22200             :       }
   22201           0 :       arg3 = (mapObj *)(argp3);
   22202             :     }
   22203             :     imageObj_save(arg1,arg2,arg3);
   22204           0 :     ST(argvi) = sv_newmortal();
   22205             :     
   22206           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   22207             :     
   22208           0 :     XSRETURN(argvi);
   22209           0 :   fail:
   22210             :     
   22211           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   22212             :     
   22213           0 :     SWIG_croak_null();
   22214             :   }
   22215             : }
   22216             : 
   22217             : 
   22218           0 : XS(_wrap_imageObj_write) {
   22219             :   {
   22220             :     struct imageObj *arg1 = (struct imageObj *) 0 ;
   22221             :     FILE *arg2 = (FILE *) NULL ;
   22222           0 :     void *argp1 = 0 ;
   22223             :     int res1 = 0 ;
   22224             :     int argvi = 0;
   22225             :     int result;
   22226           0 :     dXSARGS;
   22227             :     
   22228           0 :     if ((items < 1) || (items > 2)) {
   22229           0 :       SWIG_croak("Usage: imageObj_write(self,file);");
   22230             :     }
   22231           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_imageObj, 0 |  0 );
   22232           0 :     if (!SWIG_IsOK(res1)) {
   22233           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imageObj_write" "', argument " "1"" of type '" "struct imageObj *""'"); 
   22234             :     }
   22235           0 :     arg1 = (struct imageObj *)(argp1);
   22236           0 :     if (items > 1) {
   22237             :       {
   22238           0 :         arg2 = PerlIO_exportFILE (IoIFP (sv_2io (ST(1))), NULL);
   22239             :       }
   22240             :     }
   22241           0 :     result = (int)imageObj_write(arg1,arg2);
   22242           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   22243             :     
   22244             :     
   22245           0 :     XSRETURN(argvi);
   22246           0 :   fail:
   22247             :     
   22248             :     
   22249           0 :     SWIG_croak_null();
   22250             :   }
   22251             : }
   22252             : 
   22253             : 
   22254           0 : XS(_wrap_imageObj_getBytes) {
   22255             :   {
   22256             :     struct imageObj *arg1 = (struct imageObj *) 0 ;
   22257           0 :     void *argp1 = 0 ;
   22258             :     int res1 = 0 ;
   22259             :     int argvi = 0;
   22260             :     gdBuffer result;
   22261           0 :     dXSARGS;
   22262             :     
   22263           0 :     if ((items < 1) || (items > 1)) {
   22264           0 :       SWIG_croak("Usage: imageObj_getBytes(self);");
   22265             :     }
   22266           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_imageObj, 0 |  0 );
   22267           0 :     if (!SWIG_IsOK(res1)) {
   22268           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imageObj_getBytes" "', argument " "1"" of type '" "struct imageObj *""'"); 
   22269             :     }
   22270           0 :     arg1 = (struct imageObj *)(argp1);
   22271           0 :     result = imageObj_getBytes(arg1);
   22272             :     {
   22273             :       SV *mysv;
   22274           0 :       mysv = sv_newmortal();
   22275           0 :       if ((&result)->data == NULL)
   22276           0 :       sv_setpv(mysv,"");
   22277             :       else
   22278           0 :       sv_setpvn(mysv,(const char*)(&result)->data,(&result)->size);
   22279           0 :       ST(argvi) = newRV(mysv);
   22280           0 :       sv_2mortal(ST(argvi));
   22281             :       argvi++;
   22282           0 :       if( (&result)->owns_data )
   22283           0 :       msFree((&result)->data);
   22284             :     }
   22285             :     
   22286           0 :     XSRETURN(argvi);
   22287           0 :   fail:
   22288             :     
   22289           0 :     SWIG_croak_null();
   22290             :   }
   22291             : }
   22292             : 
   22293             : 
   22294           0 : XS(_wrap_imageObj_getSize) {
   22295             :   {
   22296             :     struct imageObj *arg1 = (struct imageObj *) 0 ;
   22297           0 :     void *argp1 = 0 ;
   22298             :     int res1 = 0 ;
   22299             :     int argvi = 0;
   22300             :     int result;
   22301           0 :     dXSARGS;
   22302             :     
   22303           0 :     if ((items < 1) || (items > 1)) {
   22304           0 :       SWIG_croak("Usage: imageObj_getSize(self);");
   22305             :     }
   22306           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_imageObj, 0 |  0 );
   22307           0 :     if (!SWIG_IsOK(res1)) {
   22308           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "imageObj_getSize" "', argument " "1"" of type '" "struct imageObj *""'"); 
   22309             :     }
   22310           0 :     arg1 = (struct imageObj *)(argp1);
   22311           0 :     result = (int)imageObj_getSize(arg1);
   22312           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   22313             :     
   22314           0 :     XSRETURN(argvi);
   22315           0 :   fail:
   22316             :     
   22317           0 :     SWIG_croak_null();
   22318             :   }
   22319             : }
   22320             : 
   22321             : 
   22322           0 : XS(_wrap_scaleTokenEntryObj_minscale_set) {
   22323             :   {
   22324             :     scaleTokenEntryObj *arg1 = (scaleTokenEntryObj *) 0 ;
   22325             :     double arg2 ;
   22326           0 :     void *argp1 = 0 ;
   22327             :     int res1 = 0 ;
   22328             :     double val2 ;
   22329             :     int ecode2 = 0 ;
   22330             :     int argvi = 0;
   22331           0 :     dXSARGS;
   22332             :     
   22333           0 :     if ((items < 2) || (items > 2)) {
   22334           0 :       SWIG_croak("Usage: scaleTokenEntryObj_minscale_set(self,minscale);");
   22335             :     }
   22336           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scaleTokenEntryObj, 0 |  0 );
   22337           0 :     if (!SWIG_IsOK(res1)) {
   22338           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scaleTokenEntryObj_minscale_set" "', argument " "1"" of type '" "scaleTokenEntryObj *""'"); 
   22339             :     }
   22340           0 :     arg1 = (scaleTokenEntryObj *)(argp1);
   22341           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   22342           0 :     if (!SWIG_IsOK(ecode2)) {
   22343           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "scaleTokenEntryObj_minscale_set" "', argument " "2"" of type '" "double""'");
   22344             :     } 
   22345           0 :     arg2 = (double)(val2);
   22346           0 :     if (arg1) (arg1)->minscale = arg2;
   22347           0 :     ST(argvi) = sv_newmortal();
   22348             :     
   22349             :     
   22350           0 :     XSRETURN(argvi);
   22351           0 :   fail:
   22352             :     
   22353             :     
   22354           0 :     SWIG_croak_null();
   22355             :   }
   22356             : }
   22357             : 
   22358             : 
   22359           0 : XS(_wrap_scaleTokenEntryObj_minscale_get) {
   22360             :   {
   22361             :     scaleTokenEntryObj *arg1 = (scaleTokenEntryObj *) 0 ;
   22362           0 :     void *argp1 = 0 ;
   22363             :     int res1 = 0 ;
   22364             :     int argvi = 0;
   22365             :     double result;
   22366           0 :     dXSARGS;
   22367             :     
   22368           0 :     if ((items < 1) || (items > 1)) {
   22369           0 :       SWIG_croak("Usage: scaleTokenEntryObj_minscale_get(self);");
   22370             :     }
   22371           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scaleTokenEntryObj, 0 |  0 );
   22372           0 :     if (!SWIG_IsOK(res1)) {
   22373           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scaleTokenEntryObj_minscale_get" "', argument " "1"" of type '" "scaleTokenEntryObj *""'"); 
   22374             :     }
   22375           0 :     arg1 = (scaleTokenEntryObj *)(argp1);
   22376           0 :     result = (double) ((arg1)->minscale);
   22377           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   22378             :     
   22379           0 :     XSRETURN(argvi);
   22380           0 :   fail:
   22381             :     
   22382           0 :     SWIG_croak_null();
   22383             :   }
   22384             : }
   22385             : 
   22386             : 
   22387           0 : XS(_wrap_scaleTokenEntryObj_maxscale_set) {
   22388             :   {
   22389             :     scaleTokenEntryObj *arg1 = (scaleTokenEntryObj *) 0 ;
   22390             :     double arg2 ;
   22391           0 :     void *argp1 = 0 ;
   22392             :     int res1 = 0 ;
   22393             :     double val2 ;
   22394             :     int ecode2 = 0 ;
   22395             :     int argvi = 0;
   22396           0 :     dXSARGS;
   22397             :     
   22398           0 :     if ((items < 2) || (items > 2)) {
   22399           0 :       SWIG_croak("Usage: scaleTokenEntryObj_maxscale_set(self,maxscale);");
   22400             :     }
   22401           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scaleTokenEntryObj, 0 |  0 );
   22402           0 :     if (!SWIG_IsOK(res1)) {
   22403           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scaleTokenEntryObj_maxscale_set" "', argument " "1"" of type '" "scaleTokenEntryObj *""'"); 
   22404             :     }
   22405           0 :     arg1 = (scaleTokenEntryObj *)(argp1);
   22406           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   22407           0 :     if (!SWIG_IsOK(ecode2)) {
   22408           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "scaleTokenEntryObj_maxscale_set" "', argument " "2"" of type '" "double""'");
   22409             :     } 
   22410           0 :     arg2 = (double)(val2);
   22411           0 :     if (arg1) (arg1)->maxscale = arg2;
   22412           0 :     ST(argvi) = sv_newmortal();
   22413             :     
   22414             :     
   22415           0 :     XSRETURN(argvi);
   22416           0 :   fail:
   22417             :     
   22418             :     
   22419           0 :     SWIG_croak_null();
   22420             :   }
   22421             : }
   22422             : 
   22423             : 
   22424           0 : XS(_wrap_scaleTokenEntryObj_maxscale_get) {
   22425             :   {
   22426             :     scaleTokenEntryObj *arg1 = (scaleTokenEntryObj *) 0 ;
   22427           0 :     void *argp1 = 0 ;
   22428             :     int res1 = 0 ;
   22429             :     int argvi = 0;
   22430             :     double result;
   22431           0 :     dXSARGS;
   22432             :     
   22433           0 :     if ((items < 1) || (items > 1)) {
   22434           0 :       SWIG_croak("Usage: scaleTokenEntryObj_maxscale_get(self);");
   22435             :     }
   22436           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scaleTokenEntryObj, 0 |  0 );
   22437           0 :     if (!SWIG_IsOK(res1)) {
   22438           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scaleTokenEntryObj_maxscale_get" "', argument " "1"" of type '" "scaleTokenEntryObj *""'"); 
   22439             :     }
   22440           0 :     arg1 = (scaleTokenEntryObj *)(argp1);
   22441           0 :     result = (double) ((arg1)->maxscale);
   22442           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   22443             :     
   22444           0 :     XSRETURN(argvi);
   22445           0 :   fail:
   22446             :     
   22447           0 :     SWIG_croak_null();
   22448             :   }
   22449             : }
   22450             : 
   22451             : 
   22452           0 : XS(_wrap_scaleTokenEntryObj_value_set) {
   22453             :   {
   22454             :     scaleTokenEntryObj *arg1 = (scaleTokenEntryObj *) 0 ;
   22455             :     char *arg2 = (char *) 0 ;
   22456           0 :     void *argp1 = 0 ;
   22457             :     int res1 = 0 ;
   22458             :     int res2 ;
   22459           0 :     char *buf2 = 0 ;
   22460           0 :     int alloc2 = 0 ;
   22461             :     int argvi = 0;
   22462           0 :     dXSARGS;
   22463             :     
   22464           0 :     if ((items < 2) || (items > 2)) {
   22465           0 :       SWIG_croak("Usage: scaleTokenEntryObj_value_set(self,value);");
   22466             :     }
   22467           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scaleTokenEntryObj, 0 |  0 );
   22468           0 :     if (!SWIG_IsOK(res1)) {
   22469           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scaleTokenEntryObj_value_set" "', argument " "1"" of type '" "scaleTokenEntryObj *""'"); 
   22470             :     }
   22471           0 :     arg1 = (scaleTokenEntryObj *)(argp1);
   22472           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   22473           0 :     if (!SWIG_IsOK(res2)) {
   22474           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "scaleTokenEntryObj_value_set" "', argument " "2"" of type '" "char *""'");
   22475             :     }
   22476           0 :     arg2 = (char *)(buf2);
   22477             :     {
   22478           0 :       if (arg1->value) free((char*)arg1->value);
   22479           0 :       if (arg2) {
   22480           0 :         arg1->value = (char *) malloc(strlen(arg2)+1);
   22481             :         strcpy((char*)arg1->value,arg2);
   22482             :       } else {
   22483           0 :         arg1->value = 0;
   22484             :       }
   22485             :     }
   22486           0 :     ST(argvi) = sv_newmortal();
   22487             :     
   22488           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   22489           0 :     XSRETURN(argvi);
   22490           0 :   fail:
   22491             :     
   22492           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   22493           0 :     SWIG_croak_null();
   22494             :   }
   22495             : }
   22496             : 
   22497             : 
   22498           0 : XS(_wrap_scaleTokenEntryObj_value_get) {
   22499             :   {
   22500             :     scaleTokenEntryObj *arg1 = (scaleTokenEntryObj *) 0 ;
   22501           0 :     void *argp1 = 0 ;
   22502             :     int res1 = 0 ;
   22503             :     int argvi = 0;
   22504             :     char *result = 0 ;
   22505           0 :     dXSARGS;
   22506             :     
   22507           0 :     if ((items < 1) || (items > 1)) {
   22508           0 :       SWIG_croak("Usage: scaleTokenEntryObj_value_get(self);");
   22509             :     }
   22510           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scaleTokenEntryObj, 0 |  0 );
   22511           0 :     if (!SWIG_IsOK(res1)) {
   22512           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scaleTokenEntryObj_value_get" "', argument " "1"" of type '" "scaleTokenEntryObj *""'"); 
   22513             :     }
   22514           0 :     arg1 = (scaleTokenEntryObj *)(argp1);
   22515           0 :     result = (char *) ((arg1)->value);
   22516           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   22517             :     
   22518           0 :     XSRETURN(argvi);
   22519           0 :   fail:
   22520             :     
   22521           0 :     SWIG_croak_null();
   22522             :   }
   22523             : }
   22524             : 
   22525             : 
   22526           0 : XS(_wrap_new_scaleTokenEntryObj) {
   22527             :   {
   22528             :     int argvi = 0;
   22529             :     scaleTokenEntryObj *result = 0 ;
   22530           0 :     dXSARGS;
   22531             :     
   22532           0 :     if ((items < 0) || (items > 0)) {
   22533           0 :       SWIG_croak("Usage: new_scaleTokenEntryObj();");
   22534             :     }
   22535           0 :     result = (scaleTokenEntryObj *)calloc(1, sizeof(scaleTokenEntryObj));
   22536           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_scaleTokenEntryObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   22537           0 :     XSRETURN(argvi);
   22538             :   fail:
   22539           0 :     SWIG_croak_null();
   22540             :   }
   22541             : }
   22542             : 
   22543             : 
   22544           0 : XS(_wrap_delete_scaleTokenEntryObj) {
   22545             :   {
   22546             :     scaleTokenEntryObj *arg1 = (scaleTokenEntryObj *) 0 ;
   22547           0 :     void *argp1 = 0 ;
   22548             :     int res1 = 0 ;
   22549             :     int argvi = 0;
   22550           0 :     dXSARGS;
   22551             :     
   22552           0 :     if ((items < 1) || (items > 1)) {
   22553           0 :       SWIG_croak("Usage: delete_scaleTokenEntryObj(self);");
   22554             :     }
   22555           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scaleTokenEntryObj, SWIG_POINTER_DISOWN |  0 );
   22556           0 :     if (!SWIG_IsOK(res1)) {
   22557           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_scaleTokenEntryObj" "', argument " "1"" of type '" "scaleTokenEntryObj *""'"); 
   22558             :     }
   22559           0 :     arg1 = (scaleTokenEntryObj *)(argp1);
   22560           0 :     free((char *) arg1);
   22561           0 :     ST(argvi) = sv_newmortal();
   22562             :     
   22563           0 :     XSRETURN(argvi);
   22564           0 :   fail:
   22565             :     
   22566           0 :     SWIG_croak_null();
   22567             :   }
   22568             : }
   22569             : 
   22570             : 
   22571           0 : XS(_wrap_scaleTokenObj_name_set) {
   22572             :   {
   22573             :     scaleTokenObj *arg1 = (scaleTokenObj *) 0 ;
   22574             :     char *arg2 = (char *) 0 ;
   22575           0 :     void *argp1 = 0 ;
   22576             :     int res1 = 0 ;
   22577             :     int res2 ;
   22578           0 :     char *buf2 = 0 ;
   22579           0 :     int alloc2 = 0 ;
   22580             :     int argvi = 0;
   22581           0 :     dXSARGS;
   22582             :     
   22583           0 :     if ((items < 2) || (items > 2)) {
   22584           0 :       SWIG_croak("Usage: scaleTokenObj_name_set(self,name);");
   22585             :     }
   22586           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scaleTokenObj, 0 |  0 );
   22587           0 :     if (!SWIG_IsOK(res1)) {
   22588           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scaleTokenObj_name_set" "', argument " "1"" of type '" "scaleTokenObj *""'"); 
   22589             :     }
   22590           0 :     arg1 = (scaleTokenObj *)(argp1);
   22591           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   22592           0 :     if (!SWIG_IsOK(res2)) {
   22593           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "scaleTokenObj_name_set" "', argument " "2"" of type '" "char *""'");
   22594             :     }
   22595           0 :     arg2 = (char *)(buf2);
   22596             :     {
   22597           0 :       if (arg1->name) free((char*)arg1->name);
   22598           0 :       if (arg2) {
   22599           0 :         arg1->name = (char *) malloc(strlen(arg2)+1);
   22600             :         strcpy((char*)arg1->name,arg2);
   22601             :       } else {
   22602           0 :         arg1->name = 0;
   22603             :       }
   22604             :     }
   22605           0 :     ST(argvi) = sv_newmortal();
   22606             :     
   22607           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   22608           0 :     XSRETURN(argvi);
   22609           0 :   fail:
   22610             :     
   22611           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   22612           0 :     SWIG_croak_null();
   22613             :   }
   22614             : }
   22615             : 
   22616             : 
   22617           0 : XS(_wrap_scaleTokenObj_name_get) {
   22618             :   {
   22619             :     scaleTokenObj *arg1 = (scaleTokenObj *) 0 ;
   22620           0 :     void *argp1 = 0 ;
   22621             :     int res1 = 0 ;
   22622             :     int argvi = 0;
   22623             :     char *result = 0 ;
   22624           0 :     dXSARGS;
   22625             :     
   22626           0 :     if ((items < 1) || (items > 1)) {
   22627           0 :       SWIG_croak("Usage: scaleTokenObj_name_get(self);");
   22628             :     }
   22629           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scaleTokenObj, 0 |  0 );
   22630           0 :     if (!SWIG_IsOK(res1)) {
   22631           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scaleTokenObj_name_get" "', argument " "1"" of type '" "scaleTokenObj *""'"); 
   22632             :     }
   22633           0 :     arg1 = (scaleTokenObj *)(argp1);
   22634           0 :     result = (char *) ((arg1)->name);
   22635           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   22636             :     
   22637           0 :     XSRETURN(argvi);
   22638           0 :   fail:
   22639             :     
   22640           0 :     SWIG_croak_null();
   22641             :   }
   22642             : }
   22643             : 
   22644             : 
   22645           0 : XS(_wrap_scaleTokenObj_n_entries_set) {
   22646             :   {
   22647             :     scaleTokenObj *arg1 = (scaleTokenObj *) 0 ;
   22648             :     int arg2 ;
   22649           0 :     void *argp1 = 0 ;
   22650             :     int res1 = 0 ;
   22651             :     int val2 ;
   22652             :     int ecode2 = 0 ;
   22653             :     int argvi = 0;
   22654           0 :     dXSARGS;
   22655             :     
   22656           0 :     if ((items < 2) || (items > 2)) {
   22657           0 :       SWIG_croak("Usage: scaleTokenObj_n_entries_set(self,n_entries);");
   22658             :     }
   22659           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scaleTokenObj, 0 |  0 );
   22660           0 :     if (!SWIG_IsOK(res1)) {
   22661           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scaleTokenObj_n_entries_set" "', argument " "1"" of type '" "scaleTokenObj *""'"); 
   22662             :     }
   22663           0 :     arg1 = (scaleTokenObj *)(argp1);
   22664           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   22665           0 :     if (!SWIG_IsOK(ecode2)) {
   22666           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "scaleTokenObj_n_entries_set" "', argument " "2"" of type '" "int""'");
   22667             :     } 
   22668             :     arg2 = (int)(val2);
   22669           0 :     if (arg1) (arg1)->n_entries = arg2;
   22670           0 :     ST(argvi) = sv_newmortal();
   22671             :     
   22672             :     
   22673           0 :     XSRETURN(argvi);
   22674           0 :   fail:
   22675             :     
   22676             :     
   22677           0 :     SWIG_croak_null();
   22678             :   }
   22679             : }
   22680             : 
   22681             : 
   22682           0 : XS(_wrap_scaleTokenObj_n_entries_get) {
   22683             :   {
   22684             :     scaleTokenObj *arg1 = (scaleTokenObj *) 0 ;
   22685           0 :     void *argp1 = 0 ;
   22686             :     int res1 = 0 ;
   22687             :     int argvi = 0;
   22688             :     int result;
   22689           0 :     dXSARGS;
   22690             :     
   22691           0 :     if ((items < 1) || (items > 1)) {
   22692           0 :       SWIG_croak("Usage: scaleTokenObj_n_entries_get(self);");
   22693             :     }
   22694           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scaleTokenObj, 0 |  0 );
   22695           0 :     if (!SWIG_IsOK(res1)) {
   22696           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scaleTokenObj_n_entries_get" "', argument " "1"" of type '" "scaleTokenObj *""'"); 
   22697             :     }
   22698           0 :     arg1 = (scaleTokenObj *)(argp1);
   22699           0 :     result = (int) ((arg1)->n_entries);
   22700           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   22701             :     
   22702           0 :     XSRETURN(argvi);
   22703           0 :   fail:
   22704             :     
   22705           0 :     SWIG_croak_null();
   22706             :   }
   22707             : }
   22708             : 
   22709             : 
   22710           0 : XS(_wrap_scaleTokenObj_tokens_set) {
   22711             :   {
   22712             :     scaleTokenObj *arg1 = (scaleTokenObj *) 0 ;
   22713             :     scaleTokenEntryObj *arg2 = (scaleTokenEntryObj *) 0 ;
   22714           0 :     void *argp1 = 0 ;
   22715             :     int res1 = 0 ;
   22716           0 :     void *argp2 = 0 ;
   22717             :     int res2 = 0 ;
   22718             :     int argvi = 0;
   22719           0 :     dXSARGS;
   22720             :     
   22721           0 :     if ((items < 2) || (items > 2)) {
   22722           0 :       SWIG_croak("Usage: scaleTokenObj_tokens_set(self,tokens);");
   22723             :     }
   22724           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scaleTokenObj, 0 |  0 );
   22725           0 :     if (!SWIG_IsOK(res1)) {
   22726           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scaleTokenObj_tokens_set" "', argument " "1"" of type '" "scaleTokenObj *""'"); 
   22727             :     }
   22728           0 :     arg1 = (scaleTokenObj *)(argp1);
   22729           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_scaleTokenEntryObj, SWIG_POINTER_DISOWN |  0 );
   22730           0 :     if (!SWIG_IsOK(res2)) {
   22731           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "scaleTokenObj_tokens_set" "', argument " "2"" of type '" "scaleTokenEntryObj *""'"); 
   22732             :     }
   22733           0 :     arg2 = (scaleTokenEntryObj *)(argp2);
   22734           0 :     if (arg1) (arg1)->tokens = arg2;
   22735           0 :     ST(argvi) = sv_newmortal();
   22736             :     
   22737             :     
   22738           0 :     XSRETURN(argvi);
   22739           0 :   fail:
   22740             :     
   22741             :     
   22742           0 :     SWIG_croak_null();
   22743             :   }
   22744             : }
   22745             : 
   22746             : 
   22747           0 : XS(_wrap_scaleTokenObj_tokens_get) {
   22748             :   {
   22749             :     scaleTokenObj *arg1 = (scaleTokenObj *) 0 ;
   22750           0 :     void *argp1 = 0 ;
   22751             :     int res1 = 0 ;
   22752             :     int argvi = 0;
   22753             :     scaleTokenEntryObj *result = 0 ;
   22754           0 :     dXSARGS;
   22755             :     
   22756           0 :     if ((items < 1) || (items > 1)) {
   22757           0 :       SWIG_croak("Usage: scaleTokenObj_tokens_get(self);");
   22758             :     }
   22759           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scaleTokenObj, 0 |  0 );
   22760           0 :     if (!SWIG_IsOK(res1)) {
   22761           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "scaleTokenObj_tokens_get" "', argument " "1"" of type '" "scaleTokenObj *""'"); 
   22762             :     }
   22763           0 :     arg1 = (scaleTokenObj *)(argp1);
   22764           0 :     result = (scaleTokenEntryObj *) ((arg1)->tokens);
   22765           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_scaleTokenEntryObj, 0 | SWIG_SHADOW); argvi++ ;
   22766             :     
   22767           0 :     XSRETURN(argvi);
   22768           0 :   fail:
   22769             :     
   22770           0 :     SWIG_croak_null();
   22771             :   }
   22772             : }
   22773             : 
   22774             : 
   22775           0 : XS(_wrap_new_scaleTokenObj) {
   22776             :   {
   22777             :     int argvi = 0;
   22778             :     scaleTokenObj *result = 0 ;
   22779           0 :     dXSARGS;
   22780             :     
   22781           0 :     if ((items < 0) || (items > 0)) {
   22782           0 :       SWIG_croak("Usage: new_scaleTokenObj();");
   22783             :     }
   22784           0 :     result = (scaleTokenObj *)calloc(1, sizeof(scaleTokenObj));
   22785           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_scaleTokenObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   22786           0 :     XSRETURN(argvi);
   22787             :   fail:
   22788           0 :     SWIG_croak_null();
   22789             :   }
   22790             : }
   22791             : 
   22792             : 
   22793           0 : XS(_wrap_delete_scaleTokenObj) {
   22794             :   {
   22795             :     scaleTokenObj *arg1 = (scaleTokenObj *) 0 ;
   22796           0 :     void *argp1 = 0 ;
   22797             :     int res1 = 0 ;
   22798             :     int argvi = 0;
   22799           0 :     dXSARGS;
   22800             :     
   22801           0 :     if ((items < 1) || (items > 1)) {
   22802           0 :       SWIG_croak("Usage: delete_scaleTokenObj(self);");
   22803             :     }
   22804           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_scaleTokenObj, SWIG_POINTER_DISOWN |  0 );
   22805           0 :     if (!SWIG_IsOK(res1)) {
   22806           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_scaleTokenObj" "', argument " "1"" of type '" "scaleTokenObj *""'"); 
   22807             :     }
   22808           0 :     arg1 = (scaleTokenObj *)(argp1);
   22809           0 :     free((char *) arg1);
   22810           0 :     ST(argvi) = sv_newmortal();
   22811             :     
   22812           0 :     XSRETURN(argvi);
   22813           0 :   fail:
   22814             :     
   22815           0 :     SWIG_croak_null();
   22816             :   }
   22817             : }
   22818             : 
   22819             : 
   22820           0 : XS(_wrap_layerObj_classitem_set) {
   22821             :   {
   22822             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   22823             :     char *arg2 = (char *) 0 ;
   22824           0 :     void *argp1 = 0 ;
   22825             :     int res1 = 0 ;
   22826             :     int res2 ;
   22827           0 :     char *buf2 = 0 ;
   22828           0 :     int alloc2 = 0 ;
   22829             :     int argvi = 0;
   22830           0 :     dXSARGS;
   22831             :     
   22832           0 :     if ((items < 2) || (items > 2)) {
   22833           0 :       SWIG_croak("Usage: layerObj_classitem_set(self,classitem);");
   22834             :     }
   22835           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   22836           0 :     if (!SWIG_IsOK(res1)) {
   22837           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_classitem_set" "', argument " "1"" of type '" "struct layerObj *""'"); 
   22838             :     }
   22839           0 :     arg1 = (struct layerObj *)(argp1);
   22840           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   22841           0 :     if (!SWIG_IsOK(res2)) {
   22842           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_classitem_set" "', argument " "2"" of type '" "char *""'");
   22843             :     }
   22844           0 :     arg2 = (char *)(buf2);
   22845             :     {
   22846           0 :       if (arg1->classitem) free((char*)arg1->classitem);
   22847           0 :       if (arg2) {
   22848           0 :         arg1->classitem = (char *) malloc(strlen(arg2)+1);
   22849             :         strcpy((char*)arg1->classitem,arg2);
   22850             :       } else {
   22851           0 :         arg1->classitem = 0;
   22852             :       }
   22853             :     }
   22854           0 :     ST(argvi) = sv_newmortal();
   22855             :     
   22856           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   22857           0 :     XSRETURN(argvi);
   22858           0 :   fail:
   22859             :     
   22860           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   22861           0 :     SWIG_croak_null();
   22862             :   }
   22863             : }
   22864             : 
   22865             : 
   22866           0 : XS(_wrap_layerObj_classitem_get) {
   22867             :   {
   22868             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   22869           0 :     void *argp1 = 0 ;
   22870             :     int res1 = 0 ;
   22871             :     int argvi = 0;
   22872             :     char *result = 0 ;
   22873           0 :     dXSARGS;
   22874             :     
   22875           0 :     if ((items < 1) || (items > 1)) {
   22876           0 :       SWIG_croak("Usage: layerObj_classitem_get(self);");
   22877             :     }
   22878           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   22879           0 :     if (!SWIG_IsOK(res1)) {
   22880           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_classitem_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   22881             :     }
   22882           0 :     arg1 = (struct layerObj *)(argp1);
   22883           0 :     result = (char *) ((arg1)->classitem);
   22884           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   22885             :     
   22886           0 :     XSRETURN(argvi);
   22887           0 :   fail:
   22888             :     
   22889           0 :     SWIG_croak_null();
   22890             :   }
   22891             : }
   22892             : 
   22893             : 
   22894           0 : XS(_wrap_layerObj_refcount_get) {
   22895             :   {
   22896             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   22897           0 :     void *argp1 = 0 ;
   22898             :     int res1 = 0 ;
   22899             :     int argvi = 0;
   22900             :     int result;
   22901           0 :     dXSARGS;
   22902             :     
   22903           0 :     if ((items < 1) || (items > 1)) {
   22904           0 :       SWIG_croak("Usage: layerObj_refcount_get(self);");
   22905             :     }
   22906           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   22907           0 :     if (!SWIG_IsOK(res1)) {
   22908           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_refcount_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   22909             :     }
   22910           0 :     arg1 = (struct layerObj *)(argp1);
   22911           0 :     result = (int) ((arg1)->refcount);
   22912           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   22913             :     
   22914           0 :     XSRETURN(argvi);
   22915           0 :   fail:
   22916             :     
   22917           0 :     SWIG_croak_null();
   22918             :   }
   22919             : }
   22920             : 
   22921             : 
   22922           0 : XS(_wrap_layerObj_numclasses_get) {
   22923             :   {
   22924             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   22925           0 :     void *argp1 = 0 ;
   22926             :     int res1 = 0 ;
   22927             :     int argvi = 0;
   22928             :     int result;
   22929           0 :     dXSARGS;
   22930             :     
   22931           0 :     if ((items < 1) || (items > 1)) {
   22932           0 :       SWIG_croak("Usage: layerObj_numclasses_get(self);");
   22933             :     }
   22934           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   22935           0 :     if (!SWIG_IsOK(res1)) {
   22936           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_numclasses_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   22937             :     }
   22938           0 :     arg1 = (struct layerObj *)(argp1);
   22939           0 :     result = (int) ((arg1)->numclasses);
   22940           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   22941             :     
   22942           0 :     XSRETURN(argvi);
   22943           0 :   fail:
   22944             :     
   22945           0 :     SWIG_croak_null();
   22946             :   }
   22947             : }
   22948             : 
   22949             : 
   22950           0 : XS(_wrap_layerObj_maxclasses_get) {
   22951             :   {
   22952             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   22953           0 :     void *argp1 = 0 ;
   22954             :     int res1 = 0 ;
   22955             :     int argvi = 0;
   22956             :     int result;
   22957           0 :     dXSARGS;
   22958             :     
   22959           0 :     if ((items < 1) || (items > 1)) {
   22960           0 :       SWIG_croak("Usage: layerObj_maxclasses_get(self);");
   22961             :     }
   22962           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   22963           0 :     if (!SWIG_IsOK(res1)) {
   22964           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_maxclasses_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   22965             :     }
   22966           0 :     arg1 = (struct layerObj *)(argp1);
   22967           0 :     result = (int) ((arg1)->maxclasses);
   22968           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   22969             :     
   22970           0 :     XSRETURN(argvi);
   22971           0 :   fail:
   22972             :     
   22973           0 :     SWIG_croak_null();
   22974             :   }
   22975             : }
   22976             : 
   22977             : 
   22978           0 : XS(_wrap_layerObj_index_get) {
   22979             :   {
   22980             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   22981           0 :     void *argp1 = 0 ;
   22982             :     int res1 = 0 ;
   22983             :     int argvi = 0;
   22984             :     int result;
   22985           0 :     dXSARGS;
   22986             :     
   22987           0 :     if ((items < 1) || (items > 1)) {
   22988           0 :       SWIG_croak("Usage: layerObj_index_get(self);");
   22989             :     }
   22990           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   22991           0 :     if (!SWIG_IsOK(res1)) {
   22992           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_index_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   22993             :     }
   22994           0 :     arg1 = (struct layerObj *)(argp1);
   22995           0 :     result = (int) ((arg1)->index);
   22996           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   22997             :     
   22998           0 :     XSRETURN(argvi);
   22999           0 :   fail:
   23000             :     
   23001           0 :     SWIG_croak_null();
   23002             :   }
   23003             : }
   23004             : 
   23005             : 
   23006           1 : XS(_wrap_layerObj_map_get) {
   23007             :   {
   23008             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   23009           1 :     void *argp1 = 0 ;
   23010             :     int res1 = 0 ;
   23011             :     int argvi = 0;
   23012             :     struct mapObj *result = 0 ;
   23013           1 :     dXSARGS;
   23014             :     
   23015           1 :     if ((items < 1) || (items > 1)) {
   23016           0 :       SWIG_croak("Usage: layerObj_map_get(self);");
   23017             :     }
   23018           1 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   23019           1 :     if (!SWIG_IsOK(res1)) {
   23020           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_map_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   23021             :     }
   23022           1 :     arg1 = (struct layerObj *)(argp1);
   23023             :     {
   23024             :       /* Accessing map */
   23025           1 :       result = (struct mapObj *) ((arg1)->map);;
   23026           1 :       MS_REFCNT_INCR(result);
   23027             :     }
   23028           1 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mapObj, 0 | SWIG_SHADOW); argvi++ ;
   23029             :     
   23030           1 :     XSRETURN(argvi);
   23031           0 :   fail:
   23032             :     
   23033           0 :     SWIG_croak_null();
   23034             :   }
   23035             : }
   23036             : 
   23037             : 
   23038           0 : XS(_wrap_layerObj_header_set) {
   23039             :   {
   23040             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   23041             :     char *arg2 = (char *) 0 ;
   23042           0 :     void *argp1 = 0 ;
   23043             :     int res1 = 0 ;
   23044             :     int res2 ;
   23045           0 :     char *buf2 = 0 ;
   23046           0 :     int alloc2 = 0 ;
   23047             :     int argvi = 0;
   23048           0 :     dXSARGS;
   23049             :     
   23050           0 :     if ((items < 2) || (items > 2)) {
   23051           0 :       SWIG_croak("Usage: layerObj_header_set(self,header);");
   23052             :     }
   23053           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   23054           0 :     if (!SWIG_IsOK(res1)) {
   23055           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_header_set" "', argument " "1"" of type '" "struct layerObj *""'"); 
   23056             :     }
   23057           0 :     arg1 = (struct layerObj *)(argp1);
   23058           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   23059           0 :     if (!SWIG_IsOK(res2)) {
   23060           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_header_set" "', argument " "2"" of type '" "char *""'");
   23061             :     }
   23062           0 :     arg2 = (char *)(buf2);
   23063             :     {
   23064           0 :       if (arg1->header) free((char*)arg1->header);
   23065           0 :       if (arg2) {
   23066           0 :         arg1->header = (char *) malloc(strlen(arg2)+1);
   23067             :         strcpy((char*)arg1->header,arg2);
   23068             :       } else {
   23069           0 :         arg1->header = 0;
   23070             :       }
   23071             :     }
   23072           0 :     ST(argvi) = sv_newmortal();
   23073             :     
   23074           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   23075           0 :     XSRETURN(argvi);
   23076           0 :   fail:
   23077             :     
   23078           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   23079           0 :     SWIG_croak_null();
   23080             :   }
   23081             : }
   23082             : 
   23083             : 
   23084           0 : XS(_wrap_layerObj_header_get) {
   23085             :   {
   23086             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   23087           0 :     void *argp1 = 0 ;
   23088             :     int res1 = 0 ;
   23089             :     int argvi = 0;
   23090             :     char *result = 0 ;
   23091           0 :     dXSARGS;
   23092             :     
   23093           0 :     if ((items < 1) || (items > 1)) {
   23094           0 :       SWIG_croak("Usage: layerObj_header_get(self);");
   23095             :     }
   23096           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   23097           0 :     if (!SWIG_IsOK(res1)) {
   23098           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_header_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   23099             :     }
   23100           0 :     arg1 = (struct layerObj *)(argp1);
   23101           0 :     result = (char *) ((arg1)->header);
   23102           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   23103             :     
   23104           0 :     XSRETURN(argvi);
   23105           0 :   fail:
   23106             :     
   23107           0 :     SWIG_croak_null();
   23108             :   }
   23109             : }
   23110             : 
   23111             : 
   23112           0 : XS(_wrap_layerObj_footer_set) {
   23113             :   {
   23114             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   23115             :     char *arg2 = (char *) 0 ;
   23116           0 :     void *argp1 = 0 ;
   23117             :     int res1 = 0 ;
   23118             :     int res2 ;
   23119           0 :     char *buf2 = 0 ;
   23120           0 :     int alloc2 = 0 ;
   23121             :     int argvi = 0;
   23122           0 :     dXSARGS;
   23123             :     
   23124           0 :     if ((items < 2) || (items > 2)) {
   23125           0 :       SWIG_croak("Usage: layerObj_footer_set(self,footer);");
   23126             :     }
   23127           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   23128           0 :     if (!SWIG_IsOK(res1)) {
   23129           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_footer_set" "', argument " "1"" of type '" "struct layerObj *""'"); 
   23130             :     }
   23131           0 :     arg1 = (struct layerObj *)(argp1);
   23132           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   23133           0 :     if (!SWIG_IsOK(res2)) {
   23134           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_footer_set" "', argument " "2"" of type '" "char *""'");
   23135             :     }
   23136           0 :     arg2 = (char *)(buf2);
   23137             :     {
   23138           0 :       if (arg1->footer) free((char*)arg1->footer);
   23139           0 :       if (arg2) {
   23140           0 :         arg1->footer = (char *) malloc(strlen(arg2)+1);
   23141             :         strcpy((char*)arg1->footer,arg2);
   23142             :       } else {
   23143           0 :         arg1->footer = 0;
   23144             :       }
   23145             :     }
   23146           0 :     ST(argvi) = sv_newmortal();
   23147             :     
   23148           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   23149           0 :     XSRETURN(argvi);
   23150           0 :   fail:
   23151             :     
   23152           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   23153           0 :     SWIG_croak_null();
   23154             :   }
   23155             : }
   23156             : 
   23157             : 
   23158           0 : XS(_wrap_layerObj_footer_get) {
   23159             :   {
   23160             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   23161           0 :     void *argp1 = 0 ;
   23162             :     int res1 = 0 ;
   23163             :     int argvi = 0;
   23164             :     char *result = 0 ;
   23165           0 :     dXSARGS;
   23166             :     
   23167           0 :     if ((items < 1) || (items > 1)) {
   23168           0 :       SWIG_croak("Usage: layerObj_footer_get(self);");
   23169             :     }
   23170           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   23171           0 :     if (!SWIG_IsOK(res1)) {
   23172           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_footer_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   23173             :     }
   23174           0 :     arg1 = (struct layerObj *)(argp1);
   23175           0 :     result = (char *) ((arg1)->footer);
   23176           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   23177             :     
   23178           0 :     XSRETURN(argvi);
   23179           0 :   fail:
   23180             :     
   23181           0 :     SWIG_croak_null();
   23182             :   }
   23183             : }
   23184             : 
   23185             : 
   23186           0 : XS(_wrap_layerObj_template_set) {
   23187             :   {
   23188             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   23189             :     char *arg2 = (char *) 0 ;
   23190           0 :     void *argp1 = 0 ;
   23191             :     int res1 = 0 ;
   23192             :     int res2 ;
   23193           0 :     char *buf2 = 0 ;
   23194           0 :     int alloc2 = 0 ;
   23195             :     int argvi = 0;
   23196           0 :     dXSARGS;
   23197             :     
   23198           0 :     if ((items < 2) || (items > 2)) {
   23199           0 :       SWIG_croak("Usage: layerObj_template_set(self,template);");
   23200             :     }
   23201           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   23202           0 :     if (!SWIG_IsOK(res1)) {
   23203           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_template_set" "', argument " "1"" of type '" "struct layerObj *""'"); 
   23204             :     }
   23205           0 :     arg1 = (struct layerObj *)(argp1);
   23206           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   23207           0 :     if (!SWIG_IsOK(res2)) {
   23208           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_template_set" "', argument " "2"" of type '" "char *""'");
   23209             :     }
   23210           0 :     arg2 = (char *)(buf2);
   23211             :     {
   23212           0 :       if (arg1->template) free((char*)arg1->template);
   23213           0 :       if (arg2) {
   23214           0 :         arg1->template = (char *) malloc(strlen(arg2)+1);
   23215             :         strcpy((char*)arg1->template,arg2);
   23216             :       } else {
   23217           0 :         arg1->template = 0;
   23218             :       }
   23219             :     }
   23220           0 :     ST(argvi) = sv_newmortal();
   23221             :     
   23222           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   23223           0 :     XSRETURN(argvi);
   23224           0 :   fail:
   23225             :     
   23226           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   23227           0 :     SWIG_croak_null();
   23228             :   }
   23229             : }
   23230             : 
   23231             : 
   23232           0 : XS(_wrap_layerObj_template_get) {
   23233             :   {
   23234             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   23235           0 :     void *argp1 = 0 ;
   23236             :     int res1 = 0 ;
   23237             :     int argvi = 0;
   23238             :     char *result = 0 ;
   23239           0 :     dXSARGS;
   23240             :     
   23241           0 :     if ((items < 1) || (items > 1)) {
   23242           0 :       SWIG_croak("Usage: layerObj_template_get(self);");
   23243             :     }
   23244           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   23245           0 :     if (!SWIG_IsOK(res1)) {
   23246           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_template_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   23247             :     }
   23248           0 :     arg1 = (struct layerObj *)(argp1);
   23249           0 :     result = (char *) ((arg1)->template);
   23250           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   23251             :     
   23252           0 :     XSRETURN(argvi);
   23253           0 :   fail:
   23254             :     
   23255           0 :     SWIG_croak_null();
   23256             :   }
   23257             : }
   23258             : 
   23259             : 
   23260           0 : XS(_wrap_layerObj_name_set) {
   23261             :   {
   23262             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   23263             :     char *arg2 = (char *) 0 ;
   23264           0 :     void *argp1 = 0 ;
   23265             :     int res1 = 0 ;
   23266             :     int res2 ;
   23267           0 :     char *buf2 = 0 ;
   23268           0 :     int alloc2 = 0 ;
   23269             :     int argvi = 0;
   23270           0 :     dXSARGS;
   23271             :     
   23272           0 :     if ((items < 2) || (items > 2)) {
   23273           0 :       SWIG_croak("Usage: layerObj_name_set(self,name);");
   23274             :     }
   23275           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   23276           0 :     if (!SWIG_IsOK(res1)) {
   23277           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_name_set" "', argument " "1"" of type '" "struct layerObj *""'"); 
   23278             :     }
   23279           0 :     arg1 = (struct layerObj *)(argp1);
   23280           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   23281           0 :     if (!SWIG_IsOK(res2)) {
   23282           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_name_set" "', argument " "2"" of type '" "char *""'");
   23283             :     }
   23284           0 :     arg2 = (char *)(buf2);
   23285             :     {
   23286           0 :       if (arg1->name) free((char*)arg1->name);
   23287           0 :       if (arg2) {
   23288           0 :         arg1->name = (char *) malloc(strlen(arg2)+1);
   23289             :         strcpy((char*)arg1->name,arg2);
   23290             :       } else {
   23291           0 :         arg1->name = 0;
   23292             :       }
   23293             :     }
   23294           0 :     ST(argvi) = sv_newmortal();
   23295             :     
   23296           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   23297           0 :     XSRETURN(argvi);
   23298           0 :   fail:
   23299             :     
   23300           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   23301           0 :     SWIG_croak_null();
   23302             :   }
   23303             : }
   23304             : 
   23305             : 
   23306           0 : XS(_wrap_layerObj_name_get) {
   23307             :   {
   23308             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   23309           0 :     void *argp1 = 0 ;
   23310             :     int res1 = 0 ;
   23311             :     int argvi = 0;
   23312             :     char *result = 0 ;
   23313           0 :     dXSARGS;
   23314             :     
   23315           0 :     if ((items < 1) || (items > 1)) {
   23316           0 :       SWIG_croak("Usage: layerObj_name_get(self);");
   23317             :     }
   23318           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   23319           0 :     if (!SWIG_IsOK(res1)) {
   23320           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_name_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   23321             :     }
   23322           0 :     arg1 = (struct layerObj *)(argp1);
   23323           0 :     result = (char *) ((arg1)->name);
   23324           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   23325             :     
   23326           0 :     XSRETURN(argvi);
   23327           0 :   fail:
   23328             :     
   23329           0 :     SWIG_croak_null();
   23330             :   }
   23331             : }
   23332             : 
   23333             : 
   23334           0 : XS(_wrap_layerObj_group_set) {
   23335             :   {
   23336             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   23337             :     char *arg2 = (char *) 0 ;
   23338           0 :     void *argp1 = 0 ;
   23339             :     int res1 = 0 ;
   23340             :     int res2 ;
   23341           0 :     char *buf2 = 0 ;
   23342           0 :     int alloc2 = 0 ;
   23343             :     int argvi = 0;
   23344           0 :     dXSARGS;
   23345             :     
   23346           0 :     if ((items < 2) || (items > 2)) {
   23347           0 :       SWIG_croak("Usage: layerObj_group_set(self,group);");
   23348             :     }
   23349           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   23350           0 :     if (!SWIG_IsOK(res1)) {
   23351           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_group_set" "', argument " "1"" of type '" "struct layerObj *""'"); 
   23352             :     }
   23353           0 :     arg1 = (struct layerObj *)(argp1);
   23354           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   23355           0 :     if (!SWIG_IsOK(res2)) {
   23356           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_group_set" "', argument " "2"" of type '" "char *""'");
   23357             :     }
   23358           0 :     arg2 = (char *)(buf2);
   23359             :     {
   23360           0 :       if (arg1->group) free((char*)arg1->group);
   23361           0 :       if (arg2) {
   23362           0 :         arg1->group = (char *) malloc(strlen(arg2)+1);
   23363             :         strcpy((char*)arg1->group,arg2);
   23364             :       } else {
   23365           0 :         arg1->group = 0;
   23366             :       }
   23367             :     }
   23368           0 :     ST(argvi) = sv_newmortal();
   23369             :     
   23370           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   23371           0 :     XSRETURN(argvi);
   23372           0 :   fail:
   23373             :     
   23374           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   23375           0 :     SWIG_croak_null();
   23376             :   }
   23377             : }
   23378             : 
   23379             : 
   23380           0 : XS(_wrap_layerObj_group_get) {
   23381             :   {
   23382             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   23383           0 :     void *argp1 = 0 ;
   23384             :     int res1 = 0 ;
   23385             :     int argvi = 0;
   23386             :     char *result = 0 ;
   23387           0 :     dXSARGS;
   23388             :     
   23389           0 :     if ((items < 1) || (items > 1)) {
   23390           0 :       SWIG_croak("Usage: layerObj_group_get(self);");
   23391             :     }
   23392           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   23393           0 :     if (!SWIG_IsOK(res1)) {
   23394           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_group_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   23395             :     }
   23396           0 :     arg1 = (struct layerObj *)(argp1);
   23397           0 :     result = (char *) ((arg1)->group);
   23398           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   23399             :     
   23400           0 :     XSRETURN(argvi);
   23401           0 :   fail:
   23402             :     
   23403           0 :     SWIG_croak_null();
   23404             :   }
   23405             : }
   23406             : 
   23407             : 
   23408           0 : XS(_wrap_layerObj_status_set) {
   23409             :   {
   23410             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   23411             :     int arg2 ;
   23412           0 :     void *argp1 = 0 ;
   23413             :     int res1 = 0 ;
   23414             :     int val2 ;
   23415             :     int ecode2 = 0 ;
   23416             :     int argvi = 0;
   23417           0 :     dXSARGS;
   23418             :     
   23419           0 :     if ((items < 2) || (items > 2)) {
   23420           0 :       SWIG_croak("Usage: layerObj_status_set(self,status);");
   23421             :     }
   23422           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   23423           0 :     if (!SWIG_IsOK(res1)) {
   23424           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_status_set" "', argument " "1"" of type '" "struct layerObj *""'"); 
   23425             :     }
   23426           0 :     arg1 = (struct layerObj *)(argp1);
   23427           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   23428           0 :     if (!SWIG_IsOK(ecode2)) {
   23429           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_status_set" "', argument " "2"" of type '" "int""'");
   23430             :     } 
   23431             :     arg2 = (int)(val2);
   23432           0 :     if (arg1) (arg1)->status = arg2;
   23433           0 :     ST(argvi) = sv_newmortal();
   23434             :     
   23435             :     
   23436           0 :     XSRETURN(argvi);
   23437           0 :   fail:
   23438             :     
   23439             :     
   23440           0 :     SWIG_croak_null();
   23441             :   }
   23442             : }
   23443             : 
   23444             : 
   23445           0 : XS(_wrap_layerObj_status_get) {
   23446             :   {
   23447             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   23448           0 :     void *argp1 = 0 ;
   23449             :     int res1 = 0 ;
   23450             :     int argvi = 0;
   23451             :     int result;
   23452           0 :     dXSARGS;
   23453             :     
   23454           0 :     if ((items < 1) || (items > 1)) {
   23455           0 :       SWIG_croak("Usage: layerObj_status_get(self);");
   23456             :     }
   23457           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   23458           0 :     if (!SWIG_IsOK(res1)) {
   23459           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_status_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   23460             :     }
   23461           0 :     arg1 = (struct layerObj *)(argp1);
   23462           0 :     result = (int) ((arg1)->status);
   23463           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   23464             :     
   23465           0 :     XSRETURN(argvi);
   23466           0 :   fail:
   23467             :     
   23468           0 :     SWIG_croak_null();
   23469             :   }
   23470             : }
   23471             : 
   23472             : 
   23473           0 : XS(_wrap_layerObj_rendermode_set) {
   23474             :   {
   23475             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   23476             :     enum MS_RENDER_MODE arg2 ;
   23477           0 :     void *argp1 = 0 ;
   23478             :     int res1 = 0 ;
   23479             :     int val2 ;
   23480             :     int ecode2 = 0 ;
   23481             :     int argvi = 0;
   23482           0 :     dXSARGS;
   23483             :     
   23484           0 :     if ((items < 2) || (items > 2)) {
   23485           0 :       SWIG_croak("Usage: layerObj_rendermode_set(self,rendermode);");
   23486             :     }
   23487           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   23488           0 :     if (!SWIG_IsOK(res1)) {
   23489           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_rendermode_set" "', argument " "1"" of type '" "struct layerObj *""'"); 
   23490             :     }
   23491           0 :     arg1 = (struct layerObj *)(argp1);
   23492           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   23493           0 :     if (!SWIG_IsOK(ecode2)) {
   23494           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_rendermode_set" "', argument " "2"" of type '" "enum MS_RENDER_MODE""'");
   23495             :     } 
   23496           0 :     arg2 = (enum MS_RENDER_MODE)(val2);
   23497           0 :     if (arg1) (arg1)->rendermode = arg2;
   23498           0 :     ST(argvi) = sv_newmortal();
   23499             :     
   23500             :     
   23501           0 :     XSRETURN(argvi);
   23502           0 :   fail:
   23503             :     
   23504             :     
   23505           0 :     SWIG_croak_null();
   23506             :   }
   23507             : }
   23508             : 
   23509             : 
   23510           0 : XS(_wrap_layerObj_rendermode_get) {
   23511             :   {
   23512             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   23513           0 :     void *argp1 = 0 ;
   23514             :     int res1 = 0 ;
   23515             :     int argvi = 0;
   23516             :     enum MS_RENDER_MODE result;
   23517           0 :     dXSARGS;
   23518             :     
   23519           0 :     if ((items < 1) || (items > 1)) {
   23520           0 :       SWIG_croak("Usage: layerObj_rendermode_get(self);");
   23521             :     }
   23522           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   23523           0 :     if (!SWIG_IsOK(res1)) {
   23524           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_rendermode_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   23525             :     }
   23526           0 :     arg1 = (struct layerObj *)(argp1);
   23527           0 :     result = (enum MS_RENDER_MODE) ((arg1)->rendermode);
   23528           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   23529             :     
   23530           0 :     XSRETURN(argvi);
   23531           0 :   fail:
   23532             :     
   23533           0 :     SWIG_croak_null();
   23534             :   }
   23535             : }
   23536             : 
   23537             : 
   23538           0 : XS(_wrap_layerObj_data_set) {
   23539             :   {
   23540             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   23541             :     char *arg2 = (char *) 0 ;
   23542           0 :     void *argp1 = 0 ;
   23543             :     int res1 = 0 ;
   23544             :     int res2 ;
   23545           0 :     char *buf2 = 0 ;
   23546           0 :     int alloc2 = 0 ;
   23547             :     int argvi = 0;
   23548           0 :     dXSARGS;
   23549             :     
   23550           0 :     if ((items < 2) || (items > 2)) {
   23551           0 :       SWIG_croak("Usage: layerObj_data_set(self,data);");
   23552             :     }
   23553           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   23554           0 :     if (!SWIG_IsOK(res1)) {
   23555           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_data_set" "', argument " "1"" of type '" "struct layerObj *""'"); 
   23556             :     }
   23557           0 :     arg1 = (struct layerObj *)(argp1);
   23558           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   23559           0 :     if (!SWIG_IsOK(res2)) {
   23560           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_data_set" "', argument " "2"" of type '" "char *""'");
   23561             :     }
   23562           0 :     arg2 = (char *)(buf2);
   23563             :     {
   23564           0 :       if (arg1->data) free((char*)arg1->data);
   23565           0 :       if (arg2) {
   23566           0 :         arg1->data = (char *) malloc(strlen(arg2)+1);
   23567             :         strcpy((char*)arg1->data,arg2);
   23568             :       } else {
   23569           0 :         arg1->data = 0;
   23570             :       }
   23571             :     }
   23572           0 :     ST(argvi) = sv_newmortal();
   23573             :     
   23574           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   23575           0 :     XSRETURN(argvi);
   23576           0 :   fail:
   23577             :     
   23578           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   23579           0 :     SWIG_croak_null();
   23580             :   }
   23581             : }
   23582             : 
   23583             : 
   23584           0 : XS(_wrap_layerObj_data_get) {
   23585             :   {
   23586             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   23587           0 :     void *argp1 = 0 ;
   23588             :     int res1 = 0 ;
   23589             :     int argvi = 0;
   23590             :     char *result = 0 ;
   23591           0 :     dXSARGS;
   23592             :     
   23593           0 :     if ((items < 1) || (items > 1)) {
   23594           0 :       SWIG_croak("Usage: layerObj_data_get(self);");
   23595             :     }
   23596           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   23597           0 :     if (!SWIG_IsOK(res1)) {
   23598           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_data_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   23599             :     }
   23600           0 :     arg1 = (struct layerObj *)(argp1);
   23601           0 :     result = (char *) ((arg1)->data);
   23602           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   23603             :     
   23604           0 :     XSRETURN(argvi);
   23605           0 :   fail:
   23606             :     
   23607           0 :     SWIG_croak_null();
   23608             :   }
   23609             : }
   23610             : 
   23611             : 
   23612           0 : XS(_wrap_layerObj_type_set) {
   23613             :   {
   23614             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   23615             :     enum MS_LAYER_TYPE arg2 ;
   23616           0 :     void *argp1 = 0 ;
   23617             :     int res1 = 0 ;
   23618             :     int val2 ;
   23619             :     int ecode2 = 0 ;
   23620             :     int argvi = 0;
   23621           0 :     dXSARGS;
   23622             :     
   23623           0 :     if ((items < 2) || (items > 2)) {
   23624           0 :       SWIG_croak("Usage: layerObj_type_set(self,type);");
   23625             :     }
   23626           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   23627           0 :     if (!SWIG_IsOK(res1)) {
   23628           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_type_set" "', argument " "1"" of type '" "struct layerObj *""'"); 
   23629             :     }
   23630           0 :     arg1 = (struct layerObj *)(argp1);
   23631           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   23632           0 :     if (!SWIG_IsOK(ecode2)) {
   23633           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_type_set" "', argument " "2"" of type '" "enum MS_LAYER_TYPE""'");
   23634             :     } 
   23635           0 :     arg2 = (enum MS_LAYER_TYPE)(val2);
   23636           0 :     if (arg1) (arg1)->type = arg2;
   23637           0 :     ST(argvi) = sv_newmortal();
   23638             :     
   23639             :     
   23640           0 :     XSRETURN(argvi);
   23641           0 :   fail:
   23642             :     
   23643             :     
   23644           0 :     SWIG_croak_null();
   23645             :   }
   23646             : }
   23647             : 
   23648             : 
   23649           0 : XS(_wrap_layerObj_type_get) {
   23650             :   {
   23651             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   23652           0 :     void *argp1 = 0 ;
   23653             :     int res1 = 0 ;
   23654             :     int argvi = 0;
   23655             :     enum MS_LAYER_TYPE result;
   23656           0 :     dXSARGS;
   23657             :     
   23658           0 :     if ((items < 1) || (items > 1)) {
   23659           0 :       SWIG_croak("Usage: layerObj_type_get(self);");
   23660             :     }
   23661           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   23662           0 :     if (!SWIG_IsOK(res1)) {
   23663           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_type_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   23664             :     }
   23665           0 :     arg1 = (struct layerObj *)(argp1);
   23666           0 :     result = (enum MS_LAYER_TYPE) ((arg1)->type);
   23667           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   23668             :     
   23669           0 :     XSRETURN(argvi);
   23670           0 :   fail:
   23671             :     
   23672           0 :     SWIG_croak_null();
   23673             :   }
   23674             : }
   23675             : 
   23676             : 
   23677           0 : XS(_wrap_layerObj_tolerance_set) {
   23678             :   {
   23679             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   23680             :     double arg2 ;
   23681           0 :     void *argp1 = 0 ;
   23682             :     int res1 = 0 ;
   23683             :     double val2 ;
   23684             :     int ecode2 = 0 ;
   23685             :     int argvi = 0;
   23686           0 :     dXSARGS;
   23687             :     
   23688           0 :     if ((items < 2) || (items > 2)) {
   23689           0 :       SWIG_croak("Usage: layerObj_tolerance_set(self,tolerance);");
   23690             :     }
   23691           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   23692           0 :     if (!SWIG_IsOK(res1)) {
   23693           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_tolerance_set" "', argument " "1"" of type '" "struct layerObj *""'"); 
   23694             :     }
   23695           0 :     arg1 = (struct layerObj *)(argp1);
   23696           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   23697           0 :     if (!SWIG_IsOK(ecode2)) {
   23698           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_tolerance_set" "', argument " "2"" of type '" "double""'");
   23699             :     } 
   23700           0 :     arg2 = (double)(val2);
   23701           0 :     if (arg1) (arg1)->tolerance = arg2;
   23702           0 :     ST(argvi) = sv_newmortal();
   23703             :     
   23704             :     
   23705           0 :     XSRETURN(argvi);
   23706           0 :   fail:
   23707             :     
   23708             :     
   23709           0 :     SWIG_croak_null();
   23710             :   }
   23711             : }
   23712             : 
   23713             : 
   23714           0 : XS(_wrap_layerObj_tolerance_get) {
   23715             :   {
   23716             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   23717           0 :     void *argp1 = 0 ;
   23718             :     int res1 = 0 ;
   23719             :     int argvi = 0;
   23720             :     double result;
   23721           0 :     dXSARGS;
   23722             :     
   23723           0 :     if ((items < 1) || (items > 1)) {
   23724           0 :       SWIG_croak("Usage: layerObj_tolerance_get(self);");
   23725             :     }
   23726           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   23727           0 :     if (!SWIG_IsOK(res1)) {
   23728           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_tolerance_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   23729             :     }
   23730           0 :     arg1 = (struct layerObj *)(argp1);
   23731           0 :     result = (double) ((arg1)->tolerance);
   23732           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   23733             :     
   23734           0 :     XSRETURN(argvi);
   23735           0 :   fail:
   23736             :     
   23737           0 :     SWIG_croak_null();
   23738             :   }
   23739             : }
   23740             : 
   23741             : 
   23742           0 : XS(_wrap_layerObj_toleranceunits_set) {
   23743             :   {
   23744             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   23745             :     int arg2 ;
   23746           0 :     void *argp1 = 0 ;
   23747             :     int res1 = 0 ;
   23748             :     int val2 ;
   23749             :     int ecode2 = 0 ;
   23750             :     int argvi = 0;
   23751           0 :     dXSARGS;
   23752             :     
   23753           0 :     if ((items < 2) || (items > 2)) {
   23754           0 :       SWIG_croak("Usage: layerObj_toleranceunits_set(self,toleranceunits);");
   23755             :     }
   23756           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   23757           0 :     if (!SWIG_IsOK(res1)) {
   23758           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_toleranceunits_set" "', argument " "1"" of type '" "struct layerObj *""'"); 
   23759             :     }
   23760           0 :     arg1 = (struct layerObj *)(argp1);
   23761           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   23762           0 :     if (!SWIG_IsOK(ecode2)) {
   23763           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_toleranceunits_set" "', argument " "2"" of type '" "int""'");
   23764             :     } 
   23765             :     arg2 = (int)(val2);
   23766           0 :     if (arg1) (arg1)->toleranceunits = arg2;
   23767           0 :     ST(argvi) = sv_newmortal();
   23768             :     
   23769             :     
   23770           0 :     XSRETURN(argvi);
   23771           0 :   fail:
   23772             :     
   23773             :     
   23774           0 :     SWIG_croak_null();
   23775             :   }
   23776             : }
   23777             : 
   23778             : 
   23779           0 : XS(_wrap_layerObj_toleranceunits_get) {
   23780             :   {
   23781             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   23782           0 :     void *argp1 = 0 ;
   23783             :     int res1 = 0 ;
   23784             :     int argvi = 0;
   23785             :     int result;
   23786           0 :     dXSARGS;
   23787             :     
   23788           0 :     if ((items < 1) || (items > 1)) {
   23789           0 :       SWIG_croak("Usage: layerObj_toleranceunits_get(self);");
   23790             :     }
   23791           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   23792           0 :     if (!SWIG_IsOK(res1)) {
   23793           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_toleranceunits_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   23794             :     }
   23795           0 :     arg1 = (struct layerObj *)(argp1);
   23796           0 :     result = (int) ((arg1)->toleranceunits);
   23797           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   23798             :     
   23799           0 :     XSRETURN(argvi);
   23800           0 :   fail:
   23801             :     
   23802           0 :     SWIG_croak_null();
   23803             :   }
   23804             : }
   23805             : 
   23806             : 
   23807           0 : XS(_wrap_layerObj_symbolscaledenom_set) {
   23808             :   {
   23809             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   23810             :     double arg2 ;
   23811           0 :     void *argp1 = 0 ;
   23812             :     int res1 = 0 ;
   23813             :     double val2 ;
   23814             :     int ecode2 = 0 ;
   23815             :     int argvi = 0;
   23816           0 :     dXSARGS;
   23817             :     
   23818           0 :     if ((items < 2) || (items > 2)) {
   23819           0 :       SWIG_croak("Usage: layerObj_symbolscaledenom_set(self,symbolscaledenom);");
   23820             :     }
   23821           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   23822           0 :     if (!SWIG_IsOK(res1)) {
   23823           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_symbolscaledenom_set" "', argument " "1"" of type '" "struct layerObj *""'"); 
   23824             :     }
   23825           0 :     arg1 = (struct layerObj *)(argp1);
   23826           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   23827           0 :     if (!SWIG_IsOK(ecode2)) {
   23828           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_symbolscaledenom_set" "', argument " "2"" of type '" "double""'");
   23829             :     } 
   23830           0 :     arg2 = (double)(val2);
   23831           0 :     if (arg1) (arg1)->symbolscaledenom = arg2;
   23832           0 :     ST(argvi) = sv_newmortal();
   23833             :     
   23834             :     
   23835           0 :     XSRETURN(argvi);
   23836           0 :   fail:
   23837             :     
   23838             :     
   23839           0 :     SWIG_croak_null();
   23840             :   }
   23841             : }
   23842             : 
   23843             : 
   23844           0 : XS(_wrap_layerObj_symbolscaledenom_get) {
   23845             :   {
   23846             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   23847           0 :     void *argp1 = 0 ;
   23848             :     int res1 = 0 ;
   23849             :     int argvi = 0;
   23850             :     double result;
   23851           0 :     dXSARGS;
   23852             :     
   23853           0 :     if ((items < 1) || (items > 1)) {
   23854           0 :       SWIG_croak("Usage: layerObj_symbolscaledenom_get(self);");
   23855             :     }
   23856           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   23857           0 :     if (!SWIG_IsOK(res1)) {
   23858           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_symbolscaledenom_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   23859             :     }
   23860           0 :     arg1 = (struct layerObj *)(argp1);
   23861           0 :     result = (double) ((arg1)->symbolscaledenom);
   23862           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   23863             :     
   23864           0 :     XSRETURN(argvi);
   23865           0 :   fail:
   23866             :     
   23867           0 :     SWIG_croak_null();
   23868             :   }
   23869             : }
   23870             : 
   23871             : 
   23872           0 : XS(_wrap_layerObj_minscaledenom_set) {
   23873             :   {
   23874             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   23875             :     double arg2 ;
   23876           0 :     void *argp1 = 0 ;
   23877             :     int res1 = 0 ;
   23878             :     double val2 ;
   23879             :     int ecode2 = 0 ;
   23880             :     int argvi = 0;
   23881           0 :     dXSARGS;
   23882             :     
   23883           0 :     if ((items < 2) || (items > 2)) {
   23884           0 :       SWIG_croak("Usage: layerObj_minscaledenom_set(self,minscaledenom);");
   23885             :     }
   23886           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   23887           0 :     if (!SWIG_IsOK(res1)) {
   23888           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_minscaledenom_set" "', argument " "1"" of type '" "struct layerObj *""'"); 
   23889             :     }
   23890           0 :     arg1 = (struct layerObj *)(argp1);
   23891           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   23892           0 :     if (!SWIG_IsOK(ecode2)) {
   23893           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_minscaledenom_set" "', argument " "2"" of type '" "double""'");
   23894             :     } 
   23895           0 :     arg2 = (double)(val2);
   23896           0 :     if (arg1) (arg1)->minscaledenom = arg2;
   23897           0 :     ST(argvi) = sv_newmortal();
   23898             :     
   23899             :     
   23900           0 :     XSRETURN(argvi);
   23901           0 :   fail:
   23902             :     
   23903             :     
   23904           0 :     SWIG_croak_null();
   23905             :   }
   23906             : }
   23907             : 
   23908             : 
   23909           0 : XS(_wrap_layerObj_minscaledenom_get) {
   23910             :   {
   23911             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   23912           0 :     void *argp1 = 0 ;
   23913             :     int res1 = 0 ;
   23914             :     int argvi = 0;
   23915             :     double result;
   23916           0 :     dXSARGS;
   23917             :     
   23918           0 :     if ((items < 1) || (items > 1)) {
   23919           0 :       SWIG_croak("Usage: layerObj_minscaledenom_get(self);");
   23920             :     }
   23921           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   23922           0 :     if (!SWIG_IsOK(res1)) {
   23923           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_minscaledenom_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   23924             :     }
   23925           0 :     arg1 = (struct layerObj *)(argp1);
   23926           0 :     result = (double) ((arg1)->minscaledenom);
   23927           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   23928             :     
   23929           0 :     XSRETURN(argvi);
   23930           0 :   fail:
   23931             :     
   23932           0 :     SWIG_croak_null();
   23933             :   }
   23934             : }
   23935             : 
   23936             : 
   23937           0 : XS(_wrap_layerObj_maxscaledenom_set) {
   23938             :   {
   23939             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   23940             :     double arg2 ;
   23941           0 :     void *argp1 = 0 ;
   23942             :     int res1 = 0 ;
   23943             :     double val2 ;
   23944             :     int ecode2 = 0 ;
   23945             :     int argvi = 0;
   23946           0 :     dXSARGS;
   23947             :     
   23948           0 :     if ((items < 2) || (items > 2)) {
   23949           0 :       SWIG_croak("Usage: layerObj_maxscaledenom_set(self,maxscaledenom);");
   23950             :     }
   23951           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   23952           0 :     if (!SWIG_IsOK(res1)) {
   23953           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_maxscaledenom_set" "', argument " "1"" of type '" "struct layerObj *""'"); 
   23954             :     }
   23955           0 :     arg1 = (struct layerObj *)(argp1);
   23956           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   23957           0 :     if (!SWIG_IsOK(ecode2)) {
   23958           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_maxscaledenom_set" "', argument " "2"" of type '" "double""'");
   23959             :     } 
   23960           0 :     arg2 = (double)(val2);
   23961           0 :     if (arg1) (arg1)->maxscaledenom = arg2;
   23962           0 :     ST(argvi) = sv_newmortal();
   23963             :     
   23964             :     
   23965           0 :     XSRETURN(argvi);
   23966           0 :   fail:
   23967             :     
   23968             :     
   23969           0 :     SWIG_croak_null();
   23970             :   }
   23971             : }
   23972             : 
   23973             : 
   23974           0 : XS(_wrap_layerObj_maxscaledenom_get) {
   23975             :   {
   23976             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   23977           0 :     void *argp1 = 0 ;
   23978             :     int res1 = 0 ;
   23979             :     int argvi = 0;
   23980             :     double result;
   23981           0 :     dXSARGS;
   23982             :     
   23983           0 :     if ((items < 1) || (items > 1)) {
   23984           0 :       SWIG_croak("Usage: layerObj_maxscaledenom_get(self);");
   23985             :     }
   23986           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   23987           0 :     if (!SWIG_IsOK(res1)) {
   23988           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_maxscaledenom_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   23989             :     }
   23990           0 :     arg1 = (struct layerObj *)(argp1);
   23991           0 :     result = (double) ((arg1)->maxscaledenom);
   23992           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   23993             :     
   23994           0 :     XSRETURN(argvi);
   23995           0 :   fail:
   23996             :     
   23997           0 :     SWIG_croak_null();
   23998             :   }
   23999             : }
   24000             : 
   24001             : 
   24002           0 : XS(_wrap_layerObj_minfeaturesize_set) {
   24003             :   {
   24004             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   24005             :     int arg2 ;
   24006           0 :     void *argp1 = 0 ;
   24007             :     int res1 = 0 ;
   24008             :     int val2 ;
   24009             :     int ecode2 = 0 ;
   24010             :     int argvi = 0;
   24011           0 :     dXSARGS;
   24012             :     
   24013           0 :     if ((items < 2) || (items > 2)) {
   24014           0 :       SWIG_croak("Usage: layerObj_minfeaturesize_set(self,minfeaturesize);");
   24015             :     }
   24016           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   24017           0 :     if (!SWIG_IsOK(res1)) {
   24018           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_minfeaturesize_set" "', argument " "1"" of type '" "struct layerObj *""'"); 
   24019             :     }
   24020           0 :     arg1 = (struct layerObj *)(argp1);
   24021           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   24022           0 :     if (!SWIG_IsOK(ecode2)) {
   24023           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_minfeaturesize_set" "', argument " "2"" of type '" "int""'");
   24024             :     } 
   24025             :     arg2 = (int)(val2);
   24026           0 :     if (arg1) (arg1)->minfeaturesize = arg2;
   24027           0 :     ST(argvi) = sv_newmortal();
   24028             :     
   24029             :     
   24030           0 :     XSRETURN(argvi);
   24031           0 :   fail:
   24032             :     
   24033             :     
   24034           0 :     SWIG_croak_null();
   24035             :   }
   24036             : }
   24037             : 
   24038             : 
   24039           0 : XS(_wrap_layerObj_minfeaturesize_get) {
   24040             :   {
   24041             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   24042           0 :     void *argp1 = 0 ;
   24043             :     int res1 = 0 ;
   24044             :     int argvi = 0;
   24045             :     int result;
   24046           0 :     dXSARGS;
   24047             :     
   24048           0 :     if ((items < 1) || (items > 1)) {
   24049           0 :       SWIG_croak("Usage: layerObj_minfeaturesize_get(self);");
   24050             :     }
   24051           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   24052           0 :     if (!SWIG_IsOK(res1)) {
   24053           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_minfeaturesize_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   24054             :     }
   24055           0 :     arg1 = (struct layerObj *)(argp1);
   24056           0 :     result = (int) ((arg1)->minfeaturesize);
   24057           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   24058             :     
   24059           0 :     XSRETURN(argvi);
   24060           0 :   fail:
   24061             :     
   24062           0 :     SWIG_croak_null();
   24063             :   }
   24064             : }
   24065             : 
   24066             : 
   24067           0 : XS(_wrap_layerObj_labelminscaledenom_set) {
   24068             :   {
   24069             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   24070             :     double arg2 ;
   24071           0 :     void *argp1 = 0 ;
   24072             :     int res1 = 0 ;
   24073             :     double val2 ;
   24074             :     int ecode2 = 0 ;
   24075             :     int argvi = 0;
   24076           0 :     dXSARGS;
   24077             :     
   24078           0 :     if ((items < 2) || (items > 2)) {
   24079           0 :       SWIG_croak("Usage: layerObj_labelminscaledenom_set(self,labelminscaledenom);");
   24080             :     }
   24081           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   24082           0 :     if (!SWIG_IsOK(res1)) {
   24083           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_labelminscaledenom_set" "', argument " "1"" of type '" "struct layerObj *""'"); 
   24084             :     }
   24085           0 :     arg1 = (struct layerObj *)(argp1);
   24086           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   24087           0 :     if (!SWIG_IsOK(ecode2)) {
   24088           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_labelminscaledenom_set" "', argument " "2"" of type '" "double""'");
   24089             :     } 
   24090           0 :     arg2 = (double)(val2);
   24091           0 :     if (arg1) (arg1)->labelminscaledenom = arg2;
   24092           0 :     ST(argvi) = sv_newmortal();
   24093             :     
   24094             :     
   24095           0 :     XSRETURN(argvi);
   24096           0 :   fail:
   24097             :     
   24098             :     
   24099           0 :     SWIG_croak_null();
   24100             :   }
   24101             : }
   24102             : 
   24103             : 
   24104           0 : XS(_wrap_layerObj_labelminscaledenom_get) {
   24105             :   {
   24106             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   24107           0 :     void *argp1 = 0 ;
   24108             :     int res1 = 0 ;
   24109             :     int argvi = 0;
   24110             :     double result;
   24111           0 :     dXSARGS;
   24112             :     
   24113           0 :     if ((items < 1) || (items > 1)) {
   24114           0 :       SWIG_croak("Usage: layerObj_labelminscaledenom_get(self);");
   24115             :     }
   24116           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   24117           0 :     if (!SWIG_IsOK(res1)) {
   24118           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_labelminscaledenom_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   24119             :     }
   24120           0 :     arg1 = (struct layerObj *)(argp1);
   24121           0 :     result = (double) ((arg1)->labelminscaledenom);
   24122           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   24123             :     
   24124           0 :     XSRETURN(argvi);
   24125           0 :   fail:
   24126             :     
   24127           0 :     SWIG_croak_null();
   24128             :   }
   24129             : }
   24130             : 
   24131             : 
   24132           0 : XS(_wrap_layerObj_labelmaxscaledenom_set) {
   24133             :   {
   24134             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   24135             :     double arg2 ;
   24136           0 :     void *argp1 = 0 ;
   24137             :     int res1 = 0 ;
   24138             :     double val2 ;
   24139             :     int ecode2 = 0 ;
   24140             :     int argvi = 0;
   24141           0 :     dXSARGS;
   24142             :     
   24143           0 :     if ((items < 2) || (items > 2)) {
   24144           0 :       SWIG_croak("Usage: layerObj_labelmaxscaledenom_set(self,labelmaxscaledenom);");
   24145             :     }
   24146           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   24147           0 :     if (!SWIG_IsOK(res1)) {
   24148           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_labelmaxscaledenom_set" "', argument " "1"" of type '" "struct layerObj *""'"); 
   24149             :     }
   24150           0 :     arg1 = (struct layerObj *)(argp1);
   24151           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   24152           0 :     if (!SWIG_IsOK(ecode2)) {
   24153           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_labelmaxscaledenom_set" "', argument " "2"" of type '" "double""'");
   24154             :     } 
   24155           0 :     arg2 = (double)(val2);
   24156           0 :     if (arg1) (arg1)->labelmaxscaledenom = arg2;
   24157           0 :     ST(argvi) = sv_newmortal();
   24158             :     
   24159             :     
   24160           0 :     XSRETURN(argvi);
   24161           0 :   fail:
   24162             :     
   24163             :     
   24164           0 :     SWIG_croak_null();
   24165             :   }
   24166             : }
   24167             : 
   24168             : 
   24169           0 : XS(_wrap_layerObj_labelmaxscaledenom_get) {
   24170             :   {
   24171             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   24172           0 :     void *argp1 = 0 ;
   24173             :     int res1 = 0 ;
   24174             :     int argvi = 0;
   24175             :     double result;
   24176           0 :     dXSARGS;
   24177             :     
   24178           0 :     if ((items < 1) || (items > 1)) {
   24179           0 :       SWIG_croak("Usage: layerObj_labelmaxscaledenom_get(self);");
   24180             :     }
   24181           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   24182           0 :     if (!SWIG_IsOK(res1)) {
   24183           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_labelmaxscaledenom_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   24184             :     }
   24185           0 :     arg1 = (struct layerObj *)(argp1);
   24186           0 :     result = (double) ((arg1)->labelmaxscaledenom);
   24187           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   24188             :     
   24189           0 :     XSRETURN(argvi);
   24190           0 :   fail:
   24191             :     
   24192           0 :     SWIG_croak_null();
   24193             :   }
   24194             : }
   24195             : 
   24196             : 
   24197           0 : XS(_wrap_layerObj_mingeowidth_set) {
   24198             :   {
   24199             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   24200             :     double arg2 ;
   24201           0 :     void *argp1 = 0 ;
   24202             :     int res1 = 0 ;
   24203             :     double val2 ;
   24204             :     int ecode2 = 0 ;
   24205             :     int argvi = 0;
   24206           0 :     dXSARGS;
   24207             :     
   24208           0 :     if ((items < 2) || (items > 2)) {
   24209           0 :       SWIG_croak("Usage: layerObj_mingeowidth_set(self,mingeowidth);");
   24210             :     }
   24211           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   24212           0 :     if (!SWIG_IsOK(res1)) {
   24213           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_mingeowidth_set" "', argument " "1"" of type '" "struct layerObj *""'"); 
   24214             :     }
   24215           0 :     arg1 = (struct layerObj *)(argp1);
   24216           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   24217           0 :     if (!SWIG_IsOK(ecode2)) {
   24218           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_mingeowidth_set" "', argument " "2"" of type '" "double""'");
   24219             :     } 
   24220           0 :     arg2 = (double)(val2);
   24221           0 :     if (arg1) (arg1)->mingeowidth = arg2;
   24222           0 :     ST(argvi) = sv_newmortal();
   24223             :     
   24224             :     
   24225           0 :     XSRETURN(argvi);
   24226           0 :   fail:
   24227             :     
   24228             :     
   24229           0 :     SWIG_croak_null();
   24230             :   }
   24231             : }
   24232             : 
   24233             : 
   24234           0 : XS(_wrap_layerObj_mingeowidth_get) {
   24235             :   {
   24236             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   24237           0 :     void *argp1 = 0 ;
   24238             :     int res1 = 0 ;
   24239             :     int argvi = 0;
   24240             :     double result;
   24241           0 :     dXSARGS;
   24242             :     
   24243           0 :     if ((items < 1) || (items > 1)) {
   24244           0 :       SWIG_croak("Usage: layerObj_mingeowidth_get(self);");
   24245             :     }
   24246           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   24247           0 :     if (!SWIG_IsOK(res1)) {
   24248           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_mingeowidth_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   24249             :     }
   24250           0 :     arg1 = (struct layerObj *)(argp1);
   24251           0 :     result = (double) ((arg1)->mingeowidth);
   24252           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   24253             :     
   24254           0 :     XSRETURN(argvi);
   24255           0 :   fail:
   24256             :     
   24257           0 :     SWIG_croak_null();
   24258             :   }
   24259             : }
   24260             : 
   24261             : 
   24262           0 : XS(_wrap_layerObj_maxgeowidth_set) {
   24263             :   {
   24264             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   24265             :     double arg2 ;
   24266           0 :     void *argp1 = 0 ;
   24267             :     int res1 = 0 ;
   24268             :     double val2 ;
   24269             :     int ecode2 = 0 ;
   24270             :     int argvi = 0;
   24271           0 :     dXSARGS;
   24272             :     
   24273           0 :     if ((items < 2) || (items > 2)) {
   24274           0 :       SWIG_croak("Usage: layerObj_maxgeowidth_set(self,maxgeowidth);");
   24275             :     }
   24276           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   24277           0 :     if (!SWIG_IsOK(res1)) {
   24278           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_maxgeowidth_set" "', argument " "1"" of type '" "struct layerObj *""'"); 
   24279             :     }
   24280           0 :     arg1 = (struct layerObj *)(argp1);
   24281           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   24282           0 :     if (!SWIG_IsOK(ecode2)) {
   24283           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_maxgeowidth_set" "', argument " "2"" of type '" "double""'");
   24284             :     } 
   24285           0 :     arg2 = (double)(val2);
   24286           0 :     if (arg1) (arg1)->maxgeowidth = arg2;
   24287           0 :     ST(argvi) = sv_newmortal();
   24288             :     
   24289             :     
   24290           0 :     XSRETURN(argvi);
   24291           0 :   fail:
   24292             :     
   24293             :     
   24294           0 :     SWIG_croak_null();
   24295             :   }
   24296             : }
   24297             : 
   24298             : 
   24299           0 : XS(_wrap_layerObj_maxgeowidth_get) {
   24300             :   {
   24301             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   24302           0 :     void *argp1 = 0 ;
   24303             :     int res1 = 0 ;
   24304             :     int argvi = 0;
   24305             :     double result;
   24306           0 :     dXSARGS;
   24307             :     
   24308           0 :     if ((items < 1) || (items > 1)) {
   24309           0 :       SWIG_croak("Usage: layerObj_maxgeowidth_get(self);");
   24310             :     }
   24311           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   24312           0 :     if (!SWIG_IsOK(res1)) {
   24313           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_maxgeowidth_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   24314             :     }
   24315           0 :     arg1 = (struct layerObj *)(argp1);
   24316           0 :     result = (double) ((arg1)->maxgeowidth);
   24317           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   24318             :     
   24319           0 :     XSRETURN(argvi);
   24320           0 :   fail:
   24321             :     
   24322           0 :     SWIG_croak_null();
   24323             :   }
   24324             : }
   24325             : 
   24326             : 
   24327           0 : XS(_wrap_layerObj_sizeunits_set) {
   24328             :   {
   24329             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   24330             :     int arg2 ;
   24331           0 :     void *argp1 = 0 ;
   24332             :     int res1 = 0 ;
   24333             :     int val2 ;
   24334             :     int ecode2 = 0 ;
   24335             :     int argvi = 0;
   24336           0 :     dXSARGS;
   24337             :     
   24338           0 :     if ((items < 2) || (items > 2)) {
   24339           0 :       SWIG_croak("Usage: layerObj_sizeunits_set(self,sizeunits);");
   24340             :     }
   24341           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   24342           0 :     if (!SWIG_IsOK(res1)) {
   24343           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_sizeunits_set" "', argument " "1"" of type '" "struct layerObj *""'"); 
   24344             :     }
   24345           0 :     arg1 = (struct layerObj *)(argp1);
   24346           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   24347           0 :     if (!SWIG_IsOK(ecode2)) {
   24348           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_sizeunits_set" "', argument " "2"" of type '" "int""'");
   24349             :     } 
   24350             :     arg2 = (int)(val2);
   24351           0 :     if (arg1) (arg1)->sizeunits = arg2;
   24352           0 :     ST(argvi) = sv_newmortal();
   24353             :     
   24354             :     
   24355           0 :     XSRETURN(argvi);
   24356           0 :   fail:
   24357             :     
   24358             :     
   24359           0 :     SWIG_croak_null();
   24360             :   }
   24361             : }
   24362             : 
   24363             : 
   24364           0 : XS(_wrap_layerObj_sizeunits_get) {
   24365             :   {
   24366             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   24367           0 :     void *argp1 = 0 ;
   24368             :     int res1 = 0 ;
   24369             :     int argvi = 0;
   24370             :     int result;
   24371           0 :     dXSARGS;
   24372             :     
   24373           0 :     if ((items < 1) || (items > 1)) {
   24374           0 :       SWIG_croak("Usage: layerObj_sizeunits_get(self);");
   24375             :     }
   24376           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   24377           0 :     if (!SWIG_IsOK(res1)) {
   24378           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_sizeunits_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   24379             :     }
   24380           0 :     arg1 = (struct layerObj *)(argp1);
   24381           0 :     result = (int) ((arg1)->sizeunits);
   24382           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   24383             :     
   24384           0 :     XSRETURN(argvi);
   24385           0 :   fail:
   24386             :     
   24387           0 :     SWIG_croak_null();
   24388             :   }
   24389             : }
   24390             : 
   24391             : 
   24392           0 : XS(_wrap_layerObj_maxfeatures_set) {
   24393             :   {
   24394             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   24395             :     int arg2 ;
   24396           0 :     void *argp1 = 0 ;
   24397             :     int res1 = 0 ;
   24398             :     int val2 ;
   24399             :     int ecode2 = 0 ;
   24400             :     int argvi = 0;
   24401           0 :     dXSARGS;
   24402             :     
   24403           0 :     if ((items < 2) || (items > 2)) {
   24404           0 :       SWIG_croak("Usage: layerObj_maxfeatures_set(self,maxfeatures);");
   24405             :     }
   24406           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   24407           0 :     if (!SWIG_IsOK(res1)) {
   24408           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_maxfeatures_set" "', argument " "1"" of type '" "struct layerObj *""'"); 
   24409             :     }
   24410           0 :     arg1 = (struct layerObj *)(argp1);
   24411           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   24412           0 :     if (!SWIG_IsOK(ecode2)) {
   24413           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_maxfeatures_set" "', argument " "2"" of type '" "int""'");
   24414             :     } 
   24415             :     arg2 = (int)(val2);
   24416           0 :     if (arg1) (arg1)->maxfeatures = arg2;
   24417           0 :     ST(argvi) = sv_newmortal();
   24418             :     
   24419             :     
   24420           0 :     XSRETURN(argvi);
   24421           0 :   fail:
   24422             :     
   24423             :     
   24424           0 :     SWIG_croak_null();
   24425             :   }
   24426             : }
   24427             : 
   24428             : 
   24429           0 : XS(_wrap_layerObj_maxfeatures_get) {
   24430             :   {
   24431             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   24432           0 :     void *argp1 = 0 ;
   24433             :     int res1 = 0 ;
   24434             :     int argvi = 0;
   24435             :     int result;
   24436           0 :     dXSARGS;
   24437             :     
   24438           0 :     if ((items < 1) || (items > 1)) {
   24439           0 :       SWIG_croak("Usage: layerObj_maxfeatures_get(self);");
   24440             :     }
   24441           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   24442           0 :     if (!SWIG_IsOK(res1)) {
   24443           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_maxfeatures_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   24444             :     }
   24445           0 :     arg1 = (struct layerObj *)(argp1);
   24446           0 :     result = (int) ((arg1)->maxfeatures);
   24447           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   24448             :     
   24449           0 :     XSRETURN(argvi);
   24450           0 :   fail:
   24451             :     
   24452           0 :     SWIG_croak_null();
   24453             :   }
   24454             : }
   24455             : 
   24456             : 
   24457           0 : XS(_wrap_layerObj_startindex_set) {
   24458             :   {
   24459             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   24460             :     int arg2 ;
   24461           0 :     void *argp1 = 0 ;
   24462             :     int res1 = 0 ;
   24463             :     int val2 ;
   24464             :     int ecode2 = 0 ;
   24465             :     int argvi = 0;
   24466           0 :     dXSARGS;
   24467             :     
   24468           0 :     if ((items < 2) || (items > 2)) {
   24469           0 :       SWIG_croak("Usage: layerObj_startindex_set(self,startindex);");
   24470             :     }
   24471           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   24472           0 :     if (!SWIG_IsOK(res1)) {
   24473           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_startindex_set" "', argument " "1"" of type '" "struct layerObj *""'"); 
   24474             :     }
   24475           0 :     arg1 = (struct layerObj *)(argp1);
   24476           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   24477           0 :     if (!SWIG_IsOK(ecode2)) {
   24478           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_startindex_set" "', argument " "2"" of type '" "int""'");
   24479             :     } 
   24480             :     arg2 = (int)(val2);
   24481           0 :     if (arg1) (arg1)->startindex = arg2;
   24482           0 :     ST(argvi) = sv_newmortal();
   24483             :     
   24484             :     
   24485           0 :     XSRETURN(argvi);
   24486           0 :   fail:
   24487             :     
   24488             :     
   24489           0 :     SWIG_croak_null();
   24490             :   }
   24491             : }
   24492             : 
   24493             : 
   24494           0 : XS(_wrap_layerObj_startindex_get) {
   24495             :   {
   24496             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   24497           0 :     void *argp1 = 0 ;
   24498             :     int res1 = 0 ;
   24499             :     int argvi = 0;
   24500             :     int result;
   24501           0 :     dXSARGS;
   24502             :     
   24503           0 :     if ((items < 1) || (items > 1)) {
   24504           0 :       SWIG_croak("Usage: layerObj_startindex_get(self);");
   24505             :     }
   24506           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   24507           0 :     if (!SWIG_IsOK(res1)) {
   24508           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_startindex_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   24509             :     }
   24510           0 :     arg1 = (struct layerObj *)(argp1);
   24511           0 :     result = (int) ((arg1)->startindex);
   24512           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   24513             :     
   24514           0 :     XSRETURN(argvi);
   24515           0 :   fail:
   24516             :     
   24517           0 :     SWIG_croak_null();
   24518             :   }
   24519             : }
   24520             : 
   24521             : 
   24522           0 : XS(_wrap_layerObj_offsite_set) {
   24523             :   {
   24524             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   24525             :     colorObj *arg2 = (colorObj *) 0 ;
   24526           0 :     void *argp1 = 0 ;
   24527             :     int res1 = 0 ;
   24528           0 :     void *argp2 = 0 ;
   24529             :     int res2 = 0 ;
   24530             :     int argvi = 0;
   24531           0 :     dXSARGS;
   24532             :     
   24533           0 :     if ((items < 2) || (items > 2)) {
   24534           0 :       SWIG_croak("Usage: layerObj_offsite_set(self,offsite);");
   24535             :     }
   24536           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   24537           0 :     if (!SWIG_IsOK(res1)) {
   24538           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_offsite_set" "', argument " "1"" of type '" "struct layerObj *""'"); 
   24539             :     }
   24540           0 :     arg1 = (struct layerObj *)(argp1);
   24541           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_colorObj, 0 |  0 );
   24542           0 :     if (!SWIG_IsOK(res2)) {
   24543           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_offsite_set" "', argument " "2"" of type '" "colorObj *""'"); 
   24544             :     }
   24545           0 :     arg2 = (colorObj *)(argp2);
   24546           0 :     if (arg1) (arg1)->offsite = *arg2;
   24547           0 :     ST(argvi) = sv_newmortal();
   24548             :     
   24549             :     
   24550           0 :     XSRETURN(argvi);
   24551           0 :   fail:
   24552             :     
   24553             :     
   24554           0 :     SWIG_croak_null();
   24555             :   }
   24556             : }
   24557             : 
   24558             : 
   24559           0 : XS(_wrap_layerObj_offsite_get) {
   24560             :   {
   24561             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   24562           0 :     void *argp1 = 0 ;
   24563             :     int res1 = 0 ;
   24564             :     int argvi = 0;
   24565             :     colorObj *result = 0 ;
   24566           0 :     dXSARGS;
   24567             :     
   24568           0 :     if ((items < 1) || (items > 1)) {
   24569           0 :       SWIG_croak("Usage: layerObj_offsite_get(self);");
   24570             :     }
   24571           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   24572           0 :     if (!SWIG_IsOK(res1)) {
   24573           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_offsite_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   24574             :     }
   24575           0 :     arg1 = (struct layerObj *)(argp1);
   24576           0 :     result = (colorObj *)& ((arg1)->offsite);
   24577           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_colorObj, 0 | SWIG_SHADOW); argvi++ ;
   24578             :     
   24579           0 :     XSRETURN(argvi);
   24580           0 :   fail:
   24581             :     
   24582           0 :     SWIG_croak_null();
   24583             :   }
   24584             : }
   24585             : 
   24586             : 
   24587           0 : XS(_wrap_layerObj_transform_set) {
   24588             :   {
   24589             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   24590             :     int arg2 ;
   24591           0 :     void *argp1 = 0 ;
   24592             :     int res1 = 0 ;
   24593             :     int val2 ;
   24594             :     int ecode2 = 0 ;
   24595             :     int argvi = 0;
   24596           0 :     dXSARGS;
   24597             :     
   24598           0 :     if ((items < 2) || (items > 2)) {
   24599           0 :       SWIG_croak("Usage: layerObj_transform_set(self,transform);");
   24600             :     }
   24601           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   24602           0 :     if (!SWIG_IsOK(res1)) {
   24603           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_transform_set" "', argument " "1"" of type '" "struct layerObj *""'"); 
   24604             :     }
   24605           0 :     arg1 = (struct layerObj *)(argp1);
   24606           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   24607           0 :     if (!SWIG_IsOK(ecode2)) {
   24608           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_transform_set" "', argument " "2"" of type '" "int""'");
   24609             :     } 
   24610             :     arg2 = (int)(val2);
   24611           0 :     if (arg1) (arg1)->transform = arg2;
   24612           0 :     ST(argvi) = sv_newmortal();
   24613             :     
   24614             :     
   24615           0 :     XSRETURN(argvi);
   24616           0 :   fail:
   24617             :     
   24618             :     
   24619           0 :     SWIG_croak_null();
   24620             :   }
   24621             : }
   24622             : 
   24623             : 
   24624           0 : XS(_wrap_layerObj_transform_get) {
   24625             :   {
   24626             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   24627           0 :     void *argp1 = 0 ;
   24628             :     int res1 = 0 ;
   24629             :     int argvi = 0;
   24630             :     int result;
   24631           0 :     dXSARGS;
   24632             :     
   24633           0 :     if ((items < 1) || (items > 1)) {
   24634           0 :       SWIG_croak("Usage: layerObj_transform_get(self);");
   24635             :     }
   24636           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   24637           0 :     if (!SWIG_IsOK(res1)) {
   24638           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_transform_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   24639             :     }
   24640           0 :     arg1 = (struct layerObj *)(argp1);
   24641           0 :     result = (int) ((arg1)->transform);
   24642           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   24643             :     
   24644           0 :     XSRETURN(argvi);
   24645           0 :   fail:
   24646             :     
   24647           0 :     SWIG_croak_null();
   24648             :   }
   24649             : }
   24650             : 
   24651             : 
   24652           0 : XS(_wrap_layerObj_labelcache_set) {
   24653             :   {
   24654             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   24655             :     int arg2 ;
   24656           0 :     void *argp1 = 0 ;
   24657             :     int res1 = 0 ;
   24658             :     int val2 ;
   24659             :     int ecode2 = 0 ;
   24660             :     int argvi = 0;
   24661           0 :     dXSARGS;
   24662             :     
   24663           0 :     if ((items < 2) || (items > 2)) {
   24664           0 :       SWIG_croak("Usage: layerObj_labelcache_set(self,labelcache);");
   24665             :     }
   24666           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   24667           0 :     if (!SWIG_IsOK(res1)) {
   24668           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_labelcache_set" "', argument " "1"" of type '" "struct layerObj *""'"); 
   24669             :     }
   24670           0 :     arg1 = (struct layerObj *)(argp1);
   24671           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   24672           0 :     if (!SWIG_IsOK(ecode2)) {
   24673           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_labelcache_set" "', argument " "2"" of type '" "int""'");
   24674             :     } 
   24675             :     arg2 = (int)(val2);
   24676           0 :     if (arg1) (arg1)->labelcache = arg2;
   24677           0 :     ST(argvi) = sv_newmortal();
   24678             :     
   24679             :     
   24680           0 :     XSRETURN(argvi);
   24681           0 :   fail:
   24682             :     
   24683             :     
   24684           0 :     SWIG_croak_null();
   24685             :   }
   24686             : }
   24687             : 
   24688             : 
   24689           0 : XS(_wrap_layerObj_labelcache_get) {
   24690             :   {
   24691             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   24692           0 :     void *argp1 = 0 ;
   24693             :     int res1 = 0 ;
   24694             :     int argvi = 0;
   24695             :     int result;
   24696           0 :     dXSARGS;
   24697             :     
   24698           0 :     if ((items < 1) || (items > 1)) {
   24699           0 :       SWIG_croak("Usage: layerObj_labelcache_get(self);");
   24700             :     }
   24701           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   24702           0 :     if (!SWIG_IsOK(res1)) {
   24703           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_labelcache_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   24704             :     }
   24705           0 :     arg1 = (struct layerObj *)(argp1);
   24706           0 :     result = (int) ((arg1)->labelcache);
   24707           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   24708             :     
   24709           0 :     XSRETURN(argvi);
   24710           0 :   fail:
   24711             :     
   24712           0 :     SWIG_croak_null();
   24713             :   }
   24714             : }
   24715             : 
   24716             : 
   24717           0 : XS(_wrap_layerObj_postlabelcache_set) {
   24718             :   {
   24719             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   24720             :     int arg2 ;
   24721           0 :     void *argp1 = 0 ;
   24722             :     int res1 = 0 ;
   24723             :     int val2 ;
   24724             :     int ecode2 = 0 ;
   24725             :     int argvi = 0;
   24726           0 :     dXSARGS;
   24727             :     
   24728           0 :     if ((items < 2) || (items > 2)) {
   24729           0 :       SWIG_croak("Usage: layerObj_postlabelcache_set(self,postlabelcache);");
   24730             :     }
   24731           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   24732           0 :     if (!SWIG_IsOK(res1)) {
   24733           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_postlabelcache_set" "', argument " "1"" of type '" "struct layerObj *""'"); 
   24734             :     }
   24735           0 :     arg1 = (struct layerObj *)(argp1);
   24736           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   24737           0 :     if (!SWIG_IsOK(ecode2)) {
   24738           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_postlabelcache_set" "', argument " "2"" of type '" "int""'");
   24739             :     } 
   24740             :     arg2 = (int)(val2);
   24741           0 :     if (arg1) (arg1)->postlabelcache = arg2;
   24742           0 :     ST(argvi) = sv_newmortal();
   24743             :     
   24744             :     
   24745           0 :     XSRETURN(argvi);
   24746           0 :   fail:
   24747             :     
   24748             :     
   24749           0 :     SWIG_croak_null();
   24750             :   }
   24751             : }
   24752             : 
   24753             : 
   24754           0 : XS(_wrap_layerObj_postlabelcache_get) {
   24755             :   {
   24756             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   24757           0 :     void *argp1 = 0 ;
   24758             :     int res1 = 0 ;
   24759             :     int argvi = 0;
   24760             :     int result;
   24761           0 :     dXSARGS;
   24762             :     
   24763           0 :     if ((items < 1) || (items > 1)) {
   24764           0 :       SWIG_croak("Usage: layerObj_postlabelcache_get(self);");
   24765             :     }
   24766           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   24767           0 :     if (!SWIG_IsOK(res1)) {
   24768           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_postlabelcache_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   24769             :     }
   24770           0 :     arg1 = (struct layerObj *)(argp1);
   24771           0 :     result = (int) ((arg1)->postlabelcache);
   24772           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   24773             :     
   24774           0 :     XSRETURN(argvi);
   24775           0 :   fail:
   24776             :     
   24777           0 :     SWIG_croak_null();
   24778             :   }
   24779             : }
   24780             : 
   24781             : 
   24782           0 : XS(_wrap_layerObj_labelitem_set) {
   24783             :   {
   24784             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   24785             :     char *arg2 = (char *) 0 ;
   24786           0 :     void *argp1 = 0 ;
   24787             :     int res1 = 0 ;
   24788             :     int res2 ;
   24789           0 :     char *buf2 = 0 ;
   24790           0 :     int alloc2 = 0 ;
   24791             :     int argvi = 0;
   24792           0 :     dXSARGS;
   24793             :     
   24794           0 :     if ((items < 2) || (items > 2)) {
   24795           0 :       SWIG_croak("Usage: layerObj_labelitem_set(self,labelitem);");
   24796             :     }
   24797           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   24798           0 :     if (!SWIG_IsOK(res1)) {
   24799           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_labelitem_set" "', argument " "1"" of type '" "struct layerObj *""'"); 
   24800             :     }
   24801           0 :     arg1 = (struct layerObj *)(argp1);
   24802           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   24803           0 :     if (!SWIG_IsOK(res2)) {
   24804           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_labelitem_set" "', argument " "2"" of type '" "char *""'");
   24805             :     }
   24806           0 :     arg2 = (char *)(buf2);
   24807             :     {
   24808           0 :       if (arg1->labelitem) free((char*)arg1->labelitem);
   24809           0 :       if (arg2) {
   24810           0 :         arg1->labelitem = (char *) malloc(strlen(arg2)+1);
   24811             :         strcpy((char*)arg1->labelitem,arg2);
   24812             :       } else {
   24813           0 :         arg1->labelitem = 0;
   24814             :       }
   24815             :     }
   24816           0 :     ST(argvi) = sv_newmortal();
   24817             :     
   24818           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   24819           0 :     XSRETURN(argvi);
   24820           0 :   fail:
   24821             :     
   24822           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   24823           0 :     SWIG_croak_null();
   24824             :   }
   24825             : }
   24826             : 
   24827             : 
   24828           0 : XS(_wrap_layerObj_labelitem_get) {
   24829             :   {
   24830             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   24831           0 :     void *argp1 = 0 ;
   24832             :     int res1 = 0 ;
   24833             :     int argvi = 0;
   24834             :     char *result = 0 ;
   24835           0 :     dXSARGS;
   24836             :     
   24837           0 :     if ((items < 1) || (items > 1)) {
   24838           0 :       SWIG_croak("Usage: layerObj_labelitem_get(self);");
   24839             :     }
   24840           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   24841           0 :     if (!SWIG_IsOK(res1)) {
   24842           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_labelitem_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   24843             :     }
   24844           0 :     arg1 = (struct layerObj *)(argp1);
   24845           0 :     result = (char *) ((arg1)->labelitem);
   24846           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   24847             :     
   24848           0 :     XSRETURN(argvi);
   24849           0 :   fail:
   24850             :     
   24851           0 :     SWIG_croak_null();
   24852             :   }
   24853             : }
   24854             : 
   24855             : 
   24856           0 : XS(_wrap_layerObj_tileitem_set) {
   24857             :   {
   24858             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   24859             :     char *arg2 = (char *) 0 ;
   24860           0 :     void *argp1 = 0 ;
   24861             :     int res1 = 0 ;
   24862             :     int res2 ;
   24863           0 :     char *buf2 = 0 ;
   24864           0 :     int alloc2 = 0 ;
   24865             :     int argvi = 0;
   24866           0 :     dXSARGS;
   24867             :     
   24868           0 :     if ((items < 2) || (items > 2)) {
   24869           0 :       SWIG_croak("Usage: layerObj_tileitem_set(self,tileitem);");
   24870             :     }
   24871           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   24872           0 :     if (!SWIG_IsOK(res1)) {
   24873           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_tileitem_set" "', argument " "1"" of type '" "struct layerObj *""'"); 
   24874             :     }
   24875           0 :     arg1 = (struct layerObj *)(argp1);
   24876           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   24877           0 :     if (!SWIG_IsOK(res2)) {
   24878           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_tileitem_set" "', argument " "2"" of type '" "char *""'");
   24879             :     }
   24880           0 :     arg2 = (char *)(buf2);
   24881             :     {
   24882           0 :       if (arg1->tileitem) free((char*)arg1->tileitem);
   24883           0 :       if (arg2) {
   24884           0 :         arg1->tileitem = (char *) malloc(strlen(arg2)+1);
   24885             :         strcpy((char*)arg1->tileitem,arg2);
   24886             :       } else {
   24887           0 :         arg1->tileitem = 0;
   24888             :       }
   24889             :     }
   24890           0 :     ST(argvi) = sv_newmortal();
   24891             :     
   24892           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   24893           0 :     XSRETURN(argvi);
   24894           0 :   fail:
   24895             :     
   24896           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   24897           0 :     SWIG_croak_null();
   24898             :   }
   24899             : }
   24900             : 
   24901             : 
   24902           0 : XS(_wrap_layerObj_tileitem_get) {
   24903             :   {
   24904             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   24905           0 :     void *argp1 = 0 ;
   24906             :     int res1 = 0 ;
   24907             :     int argvi = 0;
   24908             :     char *result = 0 ;
   24909           0 :     dXSARGS;
   24910             :     
   24911           0 :     if ((items < 1) || (items > 1)) {
   24912           0 :       SWIG_croak("Usage: layerObj_tileitem_get(self);");
   24913             :     }
   24914           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   24915           0 :     if (!SWIG_IsOK(res1)) {
   24916           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_tileitem_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   24917             :     }
   24918           0 :     arg1 = (struct layerObj *)(argp1);
   24919           0 :     result = (char *) ((arg1)->tileitem);
   24920           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   24921             :     
   24922           0 :     XSRETURN(argvi);
   24923           0 :   fail:
   24924             :     
   24925           0 :     SWIG_croak_null();
   24926             :   }
   24927             : }
   24928             : 
   24929             : 
   24930           0 : XS(_wrap_layerObj_tileindex_set) {
   24931             :   {
   24932             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   24933             :     char *arg2 = (char *) 0 ;
   24934           0 :     void *argp1 = 0 ;
   24935             :     int res1 = 0 ;
   24936             :     int res2 ;
   24937           0 :     char *buf2 = 0 ;
   24938           0 :     int alloc2 = 0 ;
   24939             :     int argvi = 0;
   24940           0 :     dXSARGS;
   24941             :     
   24942           0 :     if ((items < 2) || (items > 2)) {
   24943           0 :       SWIG_croak("Usage: layerObj_tileindex_set(self,tileindex);");
   24944             :     }
   24945           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   24946           0 :     if (!SWIG_IsOK(res1)) {
   24947           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_tileindex_set" "', argument " "1"" of type '" "struct layerObj *""'"); 
   24948             :     }
   24949           0 :     arg1 = (struct layerObj *)(argp1);
   24950           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   24951           0 :     if (!SWIG_IsOK(res2)) {
   24952           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_tileindex_set" "', argument " "2"" of type '" "char *""'");
   24953             :     }
   24954           0 :     arg2 = (char *)(buf2);
   24955             :     {
   24956           0 :       if (arg1->tileindex) free((char*)arg1->tileindex);
   24957           0 :       if (arg2) {
   24958           0 :         arg1->tileindex = (char *) malloc(strlen(arg2)+1);
   24959             :         strcpy((char*)arg1->tileindex,arg2);
   24960             :       } else {
   24961           0 :         arg1->tileindex = 0;
   24962             :       }
   24963             :     }
   24964           0 :     ST(argvi) = sv_newmortal();
   24965             :     
   24966           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   24967           0 :     XSRETURN(argvi);
   24968           0 :   fail:
   24969             :     
   24970           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   24971           0 :     SWIG_croak_null();
   24972             :   }
   24973             : }
   24974             : 
   24975             : 
   24976           0 : XS(_wrap_layerObj_tileindex_get) {
   24977             :   {
   24978             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   24979           0 :     void *argp1 = 0 ;
   24980             :     int res1 = 0 ;
   24981             :     int argvi = 0;
   24982             :     char *result = 0 ;
   24983           0 :     dXSARGS;
   24984             :     
   24985           0 :     if ((items < 1) || (items > 1)) {
   24986           0 :       SWIG_croak("Usage: layerObj_tileindex_get(self);");
   24987             :     }
   24988           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   24989           0 :     if (!SWIG_IsOK(res1)) {
   24990           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_tileindex_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   24991             :     }
   24992           0 :     arg1 = (struct layerObj *)(argp1);
   24993           0 :     result = (char *) ((arg1)->tileindex);
   24994           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   24995             :     
   24996           0 :     XSRETURN(argvi);
   24997           0 :   fail:
   24998             :     
   24999           0 :     SWIG_croak_null();
   25000             :   }
   25001             : }
   25002             : 
   25003             : 
   25004           0 : XS(_wrap_layerObj_tilesrs_set) {
   25005             :   {
   25006             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   25007             :     char *arg2 = (char *) 0 ;
   25008           0 :     void *argp1 = 0 ;
   25009             :     int res1 = 0 ;
   25010             :     int res2 ;
   25011           0 :     char *buf2 = 0 ;
   25012           0 :     int alloc2 = 0 ;
   25013             :     int argvi = 0;
   25014           0 :     dXSARGS;
   25015             :     
   25016           0 :     if ((items < 2) || (items > 2)) {
   25017           0 :       SWIG_croak("Usage: layerObj_tilesrs_set(self,tilesrs);");
   25018             :     }
   25019           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   25020           0 :     if (!SWIG_IsOK(res1)) {
   25021           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_tilesrs_set" "', argument " "1"" of type '" "struct layerObj *""'"); 
   25022             :     }
   25023           0 :     arg1 = (struct layerObj *)(argp1);
   25024           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   25025           0 :     if (!SWIG_IsOK(res2)) {
   25026           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_tilesrs_set" "', argument " "2"" of type '" "char *""'");
   25027             :     }
   25028           0 :     arg2 = (char *)(buf2);
   25029             :     {
   25030           0 :       if (arg1->tilesrs) free((char*)arg1->tilesrs);
   25031           0 :       if (arg2) {
   25032           0 :         arg1->tilesrs = (char *) malloc(strlen(arg2)+1);
   25033             :         strcpy((char*)arg1->tilesrs,arg2);
   25034             :       } else {
   25035           0 :         arg1->tilesrs = 0;
   25036             :       }
   25037             :     }
   25038           0 :     ST(argvi) = sv_newmortal();
   25039             :     
   25040           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   25041           0 :     XSRETURN(argvi);
   25042           0 :   fail:
   25043             :     
   25044           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   25045           0 :     SWIG_croak_null();
   25046             :   }
   25047             : }
   25048             : 
   25049             : 
   25050           0 : XS(_wrap_layerObj_tilesrs_get) {
   25051             :   {
   25052             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   25053           0 :     void *argp1 = 0 ;
   25054             :     int res1 = 0 ;
   25055             :     int argvi = 0;
   25056             :     char *result = 0 ;
   25057           0 :     dXSARGS;
   25058             :     
   25059           0 :     if ((items < 1) || (items > 1)) {
   25060           0 :       SWIG_croak("Usage: layerObj_tilesrs_get(self);");
   25061             :     }
   25062           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   25063           0 :     if (!SWIG_IsOK(res1)) {
   25064           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_tilesrs_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   25065             :     }
   25066           0 :     arg1 = (struct layerObj *)(argp1);
   25067           0 :     result = (char *) ((arg1)->tilesrs);
   25068           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   25069             :     
   25070           0 :     XSRETURN(argvi);
   25071           0 :   fail:
   25072             :     
   25073           0 :     SWIG_croak_null();
   25074             :   }
   25075             : }
   25076             : 
   25077             : 
   25078           0 : XS(_wrap_layerObj_units_set) {
   25079             :   {
   25080             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   25081             :     int arg2 ;
   25082           0 :     void *argp1 = 0 ;
   25083             :     int res1 = 0 ;
   25084             :     int val2 ;
   25085             :     int ecode2 = 0 ;
   25086             :     int argvi = 0;
   25087           0 :     dXSARGS;
   25088             :     
   25089           0 :     if ((items < 2) || (items > 2)) {
   25090           0 :       SWIG_croak("Usage: layerObj_units_set(self,units);");
   25091             :     }
   25092           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   25093           0 :     if (!SWIG_IsOK(res1)) {
   25094           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_units_set" "', argument " "1"" of type '" "struct layerObj *""'"); 
   25095             :     }
   25096           0 :     arg1 = (struct layerObj *)(argp1);
   25097           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   25098           0 :     if (!SWIG_IsOK(ecode2)) {
   25099           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_units_set" "', argument " "2"" of type '" "int""'");
   25100             :     } 
   25101             :     arg2 = (int)(val2);
   25102           0 :     if (arg1) (arg1)->units = arg2;
   25103           0 :     ST(argvi) = sv_newmortal();
   25104             :     
   25105             :     
   25106           0 :     XSRETURN(argvi);
   25107           0 :   fail:
   25108             :     
   25109             :     
   25110           0 :     SWIG_croak_null();
   25111             :   }
   25112             : }
   25113             : 
   25114             : 
   25115           0 : XS(_wrap_layerObj_units_get) {
   25116             :   {
   25117             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   25118           0 :     void *argp1 = 0 ;
   25119             :     int res1 = 0 ;
   25120             :     int argvi = 0;
   25121             :     int result;
   25122           0 :     dXSARGS;
   25123             :     
   25124           0 :     if ((items < 1) || (items > 1)) {
   25125           0 :       SWIG_croak("Usage: layerObj_units_get(self);");
   25126             :     }
   25127           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   25128           0 :     if (!SWIG_IsOK(res1)) {
   25129           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_units_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   25130             :     }
   25131           0 :     arg1 = (struct layerObj *)(argp1);
   25132           0 :     result = (int) ((arg1)->units);
   25133           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   25134             :     
   25135           0 :     XSRETURN(argvi);
   25136           0 :   fail:
   25137             :     
   25138           0 :     SWIG_croak_null();
   25139             :   }
   25140             : }
   25141             : 
   25142             : 
   25143           0 : XS(_wrap_layerObj_connection_set) {
   25144             :   {
   25145             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   25146             :     char *arg2 = (char *) 0 ;
   25147           0 :     void *argp1 = 0 ;
   25148             :     int res1 = 0 ;
   25149             :     int res2 ;
   25150           0 :     char *buf2 = 0 ;
   25151           0 :     int alloc2 = 0 ;
   25152             :     int argvi = 0;
   25153           0 :     dXSARGS;
   25154             :     
   25155           0 :     if ((items < 2) || (items > 2)) {
   25156           0 :       SWIG_croak("Usage: layerObj_connection_set(self,connection);");
   25157             :     }
   25158           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   25159           0 :     if (!SWIG_IsOK(res1)) {
   25160           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_connection_set" "', argument " "1"" of type '" "struct layerObj *""'"); 
   25161             :     }
   25162           0 :     arg1 = (struct layerObj *)(argp1);
   25163           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   25164           0 :     if (!SWIG_IsOK(res2)) {
   25165           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_connection_set" "', argument " "2"" of type '" "char *""'");
   25166             :     }
   25167           0 :     arg2 = (char *)(buf2);
   25168             :     {
   25169           0 :       if (arg1->connection) free((char*)arg1->connection);
   25170           0 :       if (arg2) {
   25171           0 :         arg1->connection = (char *) malloc(strlen(arg2)+1);
   25172             :         strcpy((char*)arg1->connection,arg2);
   25173             :       } else {
   25174           0 :         arg1->connection = 0;
   25175             :       }
   25176             :     }
   25177           0 :     ST(argvi) = sv_newmortal();
   25178             :     
   25179           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   25180           0 :     XSRETURN(argvi);
   25181           0 :   fail:
   25182             :     
   25183           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   25184           0 :     SWIG_croak_null();
   25185             :   }
   25186             : }
   25187             : 
   25188             : 
   25189           0 : XS(_wrap_layerObj_connection_get) {
   25190             :   {
   25191             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   25192           0 :     void *argp1 = 0 ;
   25193             :     int res1 = 0 ;
   25194             :     int argvi = 0;
   25195             :     char *result = 0 ;
   25196           0 :     dXSARGS;
   25197             :     
   25198           0 :     if ((items < 1) || (items > 1)) {
   25199           0 :       SWIG_croak("Usage: layerObj_connection_get(self);");
   25200             :     }
   25201           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   25202           0 :     if (!SWIG_IsOK(res1)) {
   25203           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_connection_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   25204             :     }
   25205           0 :     arg1 = (struct layerObj *)(argp1);
   25206           0 :     result = (char *) ((arg1)->connection);
   25207           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   25208             :     
   25209           0 :     XSRETURN(argvi);
   25210           0 :   fail:
   25211             :     
   25212           0 :     SWIG_croak_null();
   25213             :   }
   25214             : }
   25215             : 
   25216             : 
   25217           0 : XS(_wrap_layerObj_plugin_library_set) {
   25218             :   {
   25219             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   25220             :     char *arg2 = (char *) 0 ;
   25221           0 :     void *argp1 = 0 ;
   25222             :     int res1 = 0 ;
   25223             :     int res2 ;
   25224           0 :     char *buf2 = 0 ;
   25225           0 :     int alloc2 = 0 ;
   25226             :     int argvi = 0;
   25227           0 :     dXSARGS;
   25228             :     
   25229           0 :     if ((items < 2) || (items > 2)) {
   25230           0 :       SWIG_croak("Usage: layerObj_plugin_library_set(self,plugin_library);");
   25231             :     }
   25232           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   25233           0 :     if (!SWIG_IsOK(res1)) {
   25234           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_plugin_library_set" "', argument " "1"" of type '" "struct layerObj *""'"); 
   25235             :     }
   25236           0 :     arg1 = (struct layerObj *)(argp1);
   25237           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   25238           0 :     if (!SWIG_IsOK(res2)) {
   25239           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_plugin_library_set" "', argument " "2"" of type '" "char *""'");
   25240             :     }
   25241           0 :     arg2 = (char *)(buf2);
   25242             :     {
   25243           0 :       if (arg1->plugin_library) free((char*)arg1->plugin_library);
   25244           0 :       if (arg2) {
   25245           0 :         arg1->plugin_library = (char *) malloc(strlen(arg2)+1);
   25246             :         strcpy((char*)arg1->plugin_library,arg2);
   25247             :       } else {
   25248           0 :         arg1->plugin_library = 0;
   25249             :       }
   25250             :     }
   25251           0 :     ST(argvi) = sv_newmortal();
   25252             :     
   25253           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   25254           0 :     XSRETURN(argvi);
   25255           0 :   fail:
   25256             :     
   25257           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   25258           0 :     SWIG_croak_null();
   25259             :   }
   25260             : }
   25261             : 
   25262             : 
   25263           0 : XS(_wrap_layerObj_plugin_library_get) {
   25264             :   {
   25265             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   25266           0 :     void *argp1 = 0 ;
   25267             :     int res1 = 0 ;
   25268             :     int argvi = 0;
   25269             :     char *result = 0 ;
   25270           0 :     dXSARGS;
   25271             :     
   25272           0 :     if ((items < 1) || (items > 1)) {
   25273           0 :       SWIG_croak("Usage: layerObj_plugin_library_get(self);");
   25274             :     }
   25275           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   25276           0 :     if (!SWIG_IsOK(res1)) {
   25277           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_plugin_library_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   25278             :     }
   25279           0 :     arg1 = (struct layerObj *)(argp1);
   25280           0 :     result = (char *) ((arg1)->plugin_library);
   25281           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   25282             :     
   25283           0 :     XSRETURN(argvi);
   25284           0 :   fail:
   25285             :     
   25286           0 :     SWIG_croak_null();
   25287             :   }
   25288             : }
   25289             : 
   25290             : 
   25291           0 : XS(_wrap_layerObj_plugin_library_original_set) {
   25292             :   {
   25293             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   25294             :     char *arg2 = (char *) 0 ;
   25295           0 :     void *argp1 = 0 ;
   25296             :     int res1 = 0 ;
   25297             :     int res2 ;
   25298           0 :     char *buf2 = 0 ;
   25299           0 :     int alloc2 = 0 ;
   25300             :     int argvi = 0;
   25301           0 :     dXSARGS;
   25302             :     
   25303           0 :     if ((items < 2) || (items > 2)) {
   25304           0 :       SWIG_croak("Usage: layerObj_plugin_library_original_set(self,plugin_library_original);");
   25305             :     }
   25306           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   25307           0 :     if (!SWIG_IsOK(res1)) {
   25308           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_plugin_library_original_set" "', argument " "1"" of type '" "struct layerObj *""'"); 
   25309             :     }
   25310           0 :     arg1 = (struct layerObj *)(argp1);
   25311           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   25312           0 :     if (!SWIG_IsOK(res2)) {
   25313           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_plugin_library_original_set" "', argument " "2"" of type '" "char *""'");
   25314             :     }
   25315           0 :     arg2 = (char *)(buf2);
   25316             :     {
   25317           0 :       if (arg1->plugin_library_original) free((char*)arg1->plugin_library_original);
   25318           0 :       if (arg2) {
   25319           0 :         arg1->plugin_library_original = (char *) malloc(strlen(arg2)+1);
   25320             :         strcpy((char*)arg1->plugin_library_original,arg2);
   25321             :       } else {
   25322           0 :         arg1->plugin_library_original = 0;
   25323             :       }
   25324             :     }
   25325           0 :     ST(argvi) = sv_newmortal();
   25326             :     
   25327           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   25328           0 :     XSRETURN(argvi);
   25329           0 :   fail:
   25330             :     
   25331           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   25332           0 :     SWIG_croak_null();
   25333             :   }
   25334             : }
   25335             : 
   25336             : 
   25337           0 : XS(_wrap_layerObj_plugin_library_original_get) {
   25338             :   {
   25339             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   25340           0 :     void *argp1 = 0 ;
   25341             :     int res1 = 0 ;
   25342             :     int argvi = 0;
   25343             :     char *result = 0 ;
   25344           0 :     dXSARGS;
   25345             :     
   25346           0 :     if ((items < 1) || (items > 1)) {
   25347           0 :       SWIG_croak("Usage: layerObj_plugin_library_original_get(self);");
   25348             :     }
   25349           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   25350           0 :     if (!SWIG_IsOK(res1)) {
   25351           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_plugin_library_original_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   25352             :     }
   25353           0 :     arg1 = (struct layerObj *)(argp1);
   25354           0 :     result = (char *) ((arg1)->plugin_library_original);
   25355           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   25356             :     
   25357           0 :     XSRETURN(argvi);
   25358           0 :   fail:
   25359             :     
   25360           0 :     SWIG_croak_null();
   25361             :   }
   25362             : }
   25363             : 
   25364             : 
   25365           0 : XS(_wrap_layerObj_connectiontype_set) {
   25366             :   {
   25367             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   25368             :     enum MS_CONNECTION_TYPE arg2 ;
   25369           0 :     void *argp1 = 0 ;
   25370             :     int res1 = 0 ;
   25371             :     int val2 ;
   25372             :     int ecode2 = 0 ;
   25373             :     int argvi = 0;
   25374           0 :     dXSARGS;
   25375             :     
   25376           0 :     if ((items < 2) || (items > 2)) {
   25377           0 :       SWIG_croak("Usage: layerObj_connectiontype_set(self,connectiontype);");
   25378             :     }
   25379           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   25380           0 :     if (!SWIG_IsOK(res1)) {
   25381           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_connectiontype_set" "', argument " "1"" of type '" "struct layerObj *""'"); 
   25382             :     }
   25383           0 :     arg1 = (struct layerObj *)(argp1);
   25384           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   25385           0 :     if (!SWIG_IsOK(ecode2)) {
   25386           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_connectiontype_set" "', argument " "2"" of type '" "enum MS_CONNECTION_TYPE""'");
   25387             :     } 
   25388           0 :     arg2 = (enum MS_CONNECTION_TYPE)(val2);
   25389           0 :     if (arg1) (arg1)->connectiontype = arg2;
   25390           0 :     ST(argvi) = sv_newmortal();
   25391             :     
   25392             :     
   25393           0 :     XSRETURN(argvi);
   25394           0 :   fail:
   25395             :     
   25396             :     
   25397           0 :     SWIG_croak_null();
   25398             :   }
   25399             : }
   25400             : 
   25401             : 
   25402           0 : XS(_wrap_layerObj_connectiontype_get) {
   25403             :   {
   25404             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   25405           0 :     void *argp1 = 0 ;
   25406             :     int res1 = 0 ;
   25407             :     int argvi = 0;
   25408             :     enum MS_CONNECTION_TYPE result;
   25409           0 :     dXSARGS;
   25410             :     
   25411           0 :     if ((items < 1) || (items > 1)) {
   25412           0 :       SWIG_croak("Usage: layerObj_connectiontype_get(self);");
   25413             :     }
   25414           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   25415           0 :     if (!SWIG_IsOK(res1)) {
   25416           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_connectiontype_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   25417             :     }
   25418           0 :     arg1 = (struct layerObj *)(argp1);
   25419           0 :     result = (enum MS_CONNECTION_TYPE) ((arg1)->connectiontype);
   25420           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   25421             :     
   25422           0 :     XSRETURN(argvi);
   25423           0 :   fail:
   25424             :     
   25425           0 :     SWIG_croak_null();
   25426             :   }
   25427             : }
   25428             : 
   25429             : 
   25430           0 : XS(_wrap_layerObj_numitems_get) {
   25431             :   {
   25432             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   25433           0 :     void *argp1 = 0 ;
   25434             :     int res1 = 0 ;
   25435             :     int argvi = 0;
   25436             :     int result;
   25437           0 :     dXSARGS;
   25438             :     
   25439           0 :     if ((items < 1) || (items > 1)) {
   25440           0 :       SWIG_croak("Usage: layerObj_numitems_get(self);");
   25441             :     }
   25442           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   25443           0 :     if (!SWIG_IsOK(res1)) {
   25444           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_numitems_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   25445             :     }
   25446           0 :     arg1 = (struct layerObj *)(argp1);
   25447           0 :     result = (int) ((arg1)->numitems);
   25448           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   25449             :     
   25450           0 :     XSRETURN(argvi);
   25451           0 :   fail:
   25452             :     
   25453           0 :     SWIG_croak_null();
   25454             :   }
   25455             : }
   25456             : 
   25457             : 
   25458           0 : XS(_wrap_layerObj_bandsitem_set) {
   25459             :   {
   25460             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   25461             :     char *arg2 = (char *) 0 ;
   25462           0 :     void *argp1 = 0 ;
   25463             :     int res1 = 0 ;
   25464             :     int res2 ;
   25465           0 :     char *buf2 = 0 ;
   25466           0 :     int alloc2 = 0 ;
   25467             :     int argvi = 0;
   25468           0 :     dXSARGS;
   25469             :     
   25470           0 :     if ((items < 2) || (items > 2)) {
   25471           0 :       SWIG_croak("Usage: layerObj_bandsitem_set(self,bandsitem);");
   25472             :     }
   25473           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   25474           0 :     if (!SWIG_IsOK(res1)) {
   25475           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_bandsitem_set" "', argument " "1"" of type '" "struct layerObj *""'"); 
   25476             :     }
   25477           0 :     arg1 = (struct layerObj *)(argp1);
   25478           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   25479           0 :     if (!SWIG_IsOK(res2)) {
   25480           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_bandsitem_set" "', argument " "2"" of type '" "char *""'");
   25481             :     }
   25482           0 :     arg2 = (char *)(buf2);
   25483             :     {
   25484           0 :       if (arg1->bandsitem) free((char*)arg1->bandsitem);
   25485           0 :       if (arg2) {
   25486           0 :         arg1->bandsitem = (char *) malloc(strlen(arg2)+1);
   25487             :         strcpy((char*)arg1->bandsitem,arg2);
   25488             :       } else {
   25489           0 :         arg1->bandsitem = 0;
   25490             :       }
   25491             :     }
   25492           0 :     ST(argvi) = sv_newmortal();
   25493             :     
   25494           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   25495           0 :     XSRETURN(argvi);
   25496           0 :   fail:
   25497             :     
   25498           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   25499           0 :     SWIG_croak_null();
   25500             :   }
   25501             : }
   25502             : 
   25503             : 
   25504           0 : XS(_wrap_layerObj_bandsitem_get) {
   25505             :   {
   25506             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   25507           0 :     void *argp1 = 0 ;
   25508             :     int res1 = 0 ;
   25509             :     int argvi = 0;
   25510             :     char *result = 0 ;
   25511           0 :     dXSARGS;
   25512             :     
   25513           0 :     if ((items < 1) || (items > 1)) {
   25514           0 :       SWIG_croak("Usage: layerObj_bandsitem_get(self);");
   25515             :     }
   25516           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   25517           0 :     if (!SWIG_IsOK(res1)) {
   25518           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_bandsitem_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   25519             :     }
   25520           0 :     arg1 = (struct layerObj *)(argp1);
   25521           0 :     result = (char *) ((arg1)->bandsitem);
   25522           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   25523             :     
   25524           0 :     XSRETURN(argvi);
   25525           0 :   fail:
   25526             :     
   25527           0 :     SWIG_croak_null();
   25528             :   }
   25529             : }
   25530             : 
   25531             : 
   25532           0 : XS(_wrap_layerObj_filteritem_set) {
   25533             :   {
   25534             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   25535             :     char *arg2 = (char *) 0 ;
   25536           0 :     void *argp1 = 0 ;
   25537             :     int res1 = 0 ;
   25538             :     int res2 ;
   25539           0 :     char *buf2 = 0 ;
   25540           0 :     int alloc2 = 0 ;
   25541             :     int argvi = 0;
   25542           0 :     dXSARGS;
   25543             :     
   25544           0 :     if ((items < 2) || (items > 2)) {
   25545           0 :       SWIG_croak("Usage: layerObj_filteritem_set(self,filteritem);");
   25546             :     }
   25547           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   25548           0 :     if (!SWIG_IsOK(res1)) {
   25549           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_filteritem_set" "', argument " "1"" of type '" "struct layerObj *""'"); 
   25550             :     }
   25551           0 :     arg1 = (struct layerObj *)(argp1);
   25552           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   25553           0 :     if (!SWIG_IsOK(res2)) {
   25554           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_filteritem_set" "', argument " "2"" of type '" "char *""'");
   25555             :     }
   25556           0 :     arg2 = (char *)(buf2);
   25557             :     {
   25558           0 :       if (arg1->filteritem) free((char*)arg1->filteritem);
   25559           0 :       if (arg2) {
   25560           0 :         arg1->filteritem = (char *) malloc(strlen(arg2)+1);
   25561             :         strcpy((char*)arg1->filteritem,arg2);
   25562             :       } else {
   25563           0 :         arg1->filteritem = 0;
   25564             :       }
   25565             :     }
   25566           0 :     ST(argvi) = sv_newmortal();
   25567             :     
   25568           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   25569           0 :     XSRETURN(argvi);
   25570           0 :   fail:
   25571             :     
   25572           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   25573           0 :     SWIG_croak_null();
   25574             :   }
   25575             : }
   25576             : 
   25577             : 
   25578           0 : XS(_wrap_layerObj_filteritem_get) {
   25579             :   {
   25580             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   25581           0 :     void *argp1 = 0 ;
   25582             :     int res1 = 0 ;
   25583             :     int argvi = 0;
   25584             :     char *result = 0 ;
   25585           0 :     dXSARGS;
   25586             :     
   25587           0 :     if ((items < 1) || (items > 1)) {
   25588           0 :       SWIG_croak("Usage: layerObj_filteritem_get(self);");
   25589             :     }
   25590           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   25591           0 :     if (!SWIG_IsOK(res1)) {
   25592           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_filteritem_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   25593             :     }
   25594           0 :     arg1 = (struct layerObj *)(argp1);
   25595           0 :     result = (char *) ((arg1)->filteritem);
   25596           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   25597             :     
   25598           0 :     XSRETURN(argvi);
   25599           0 :   fail:
   25600             :     
   25601           0 :     SWIG_croak_null();
   25602             :   }
   25603             : }
   25604             : 
   25605             : 
   25606           0 : XS(_wrap_layerObj_styleitem_set) {
   25607             :   {
   25608             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   25609             :     char *arg2 = (char *) 0 ;
   25610           0 :     void *argp1 = 0 ;
   25611             :     int res1 = 0 ;
   25612             :     int res2 ;
   25613           0 :     char *buf2 = 0 ;
   25614           0 :     int alloc2 = 0 ;
   25615             :     int argvi = 0;
   25616           0 :     dXSARGS;
   25617             :     
   25618           0 :     if ((items < 2) || (items > 2)) {
   25619           0 :       SWIG_croak("Usage: layerObj_styleitem_set(self,styleitem);");
   25620             :     }
   25621           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   25622           0 :     if (!SWIG_IsOK(res1)) {
   25623           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_styleitem_set" "', argument " "1"" of type '" "struct layerObj *""'"); 
   25624             :     }
   25625           0 :     arg1 = (struct layerObj *)(argp1);
   25626           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   25627           0 :     if (!SWIG_IsOK(res2)) {
   25628           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_styleitem_set" "', argument " "2"" of type '" "char *""'");
   25629             :     }
   25630           0 :     arg2 = (char *)(buf2);
   25631             :     {
   25632           0 :       if (arg1->styleitem) free((char*)arg1->styleitem);
   25633           0 :       if (arg2) {
   25634           0 :         arg1->styleitem = (char *) malloc(strlen(arg2)+1);
   25635             :         strcpy((char*)arg1->styleitem,arg2);
   25636             :       } else {
   25637           0 :         arg1->styleitem = 0;
   25638             :       }
   25639             :     }
   25640           0 :     ST(argvi) = sv_newmortal();
   25641             :     
   25642           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   25643           0 :     XSRETURN(argvi);
   25644           0 :   fail:
   25645             :     
   25646           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   25647           0 :     SWIG_croak_null();
   25648             :   }
   25649             : }
   25650             : 
   25651             : 
   25652           0 : XS(_wrap_layerObj_styleitem_get) {
   25653             :   {
   25654             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   25655           0 :     void *argp1 = 0 ;
   25656             :     int res1 = 0 ;
   25657             :     int argvi = 0;
   25658             :     char *result = 0 ;
   25659           0 :     dXSARGS;
   25660             :     
   25661           0 :     if ((items < 1) || (items > 1)) {
   25662           0 :       SWIG_croak("Usage: layerObj_styleitem_get(self);");
   25663             :     }
   25664           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   25665           0 :     if (!SWIG_IsOK(res1)) {
   25666           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_styleitem_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   25667             :     }
   25668           0 :     arg1 = (struct layerObj *)(argp1);
   25669           0 :     result = (char *) ((arg1)->styleitem);
   25670           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   25671             :     
   25672           0 :     XSRETURN(argvi);
   25673           0 :   fail:
   25674             :     
   25675           0 :     SWIG_croak_null();
   25676             :   }
   25677             : }
   25678             : 
   25679             : 
   25680           0 : XS(_wrap_layerObj_requires_set) {
   25681             :   {
   25682             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   25683             :     char *arg2 = (char *) 0 ;
   25684           0 :     void *argp1 = 0 ;
   25685             :     int res1 = 0 ;
   25686             :     int res2 ;
   25687           0 :     char *buf2 = 0 ;
   25688           0 :     int alloc2 = 0 ;
   25689             :     int argvi = 0;
   25690           0 :     dXSARGS;
   25691             :     
   25692           0 :     if ((items < 2) || (items > 2)) {
   25693           0 :       SWIG_croak("Usage: layerObj_requires_set(self,requires);");
   25694             :     }
   25695           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   25696           0 :     if (!SWIG_IsOK(res1)) {
   25697           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_requires_set" "', argument " "1"" of type '" "struct layerObj *""'"); 
   25698             :     }
   25699           0 :     arg1 = (struct layerObj *)(argp1);
   25700           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   25701           0 :     if (!SWIG_IsOK(res2)) {
   25702           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_requires_set" "', argument " "2"" of type '" "char *""'");
   25703             :     }
   25704           0 :     arg2 = (char *)(buf2);
   25705             :     {
   25706           0 :       if (arg1->requires) free((char*)arg1->requires);
   25707           0 :       if (arg2) {
   25708           0 :         arg1->requires = (char *) malloc(strlen(arg2)+1);
   25709             :         strcpy((char*)arg1->requires,arg2);
   25710             :       } else {
   25711           0 :         arg1->requires = 0;
   25712             :       }
   25713             :     }
   25714           0 :     ST(argvi) = sv_newmortal();
   25715             :     
   25716           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   25717           0 :     XSRETURN(argvi);
   25718           0 :   fail:
   25719             :     
   25720           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   25721           0 :     SWIG_croak_null();
   25722             :   }
   25723             : }
   25724             : 
   25725             : 
   25726           0 : XS(_wrap_layerObj_requires_get) {
   25727             :   {
   25728             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   25729           0 :     void *argp1 = 0 ;
   25730             :     int res1 = 0 ;
   25731             :     int argvi = 0;
   25732             :     char *result = 0 ;
   25733           0 :     dXSARGS;
   25734             :     
   25735           0 :     if ((items < 1) || (items > 1)) {
   25736           0 :       SWIG_croak("Usage: layerObj_requires_get(self);");
   25737             :     }
   25738           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   25739           0 :     if (!SWIG_IsOK(res1)) {
   25740           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_requires_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   25741             :     }
   25742           0 :     arg1 = (struct layerObj *)(argp1);
   25743           0 :     result = (char *) ((arg1)->requires);
   25744           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   25745             :     
   25746           0 :     XSRETURN(argvi);
   25747           0 :   fail:
   25748             :     
   25749           0 :     SWIG_croak_null();
   25750             :   }
   25751             : }
   25752             : 
   25753             : 
   25754           0 : XS(_wrap_layerObj_labelrequires_set) {
   25755             :   {
   25756             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   25757             :     char *arg2 = (char *) 0 ;
   25758           0 :     void *argp1 = 0 ;
   25759             :     int res1 = 0 ;
   25760             :     int res2 ;
   25761           0 :     char *buf2 = 0 ;
   25762           0 :     int alloc2 = 0 ;
   25763             :     int argvi = 0;
   25764           0 :     dXSARGS;
   25765             :     
   25766           0 :     if ((items < 2) || (items > 2)) {
   25767           0 :       SWIG_croak("Usage: layerObj_labelrequires_set(self,labelrequires);");
   25768             :     }
   25769           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   25770           0 :     if (!SWIG_IsOK(res1)) {
   25771           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_labelrequires_set" "', argument " "1"" of type '" "struct layerObj *""'"); 
   25772             :     }
   25773           0 :     arg1 = (struct layerObj *)(argp1);
   25774           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   25775           0 :     if (!SWIG_IsOK(res2)) {
   25776           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_labelrequires_set" "', argument " "2"" of type '" "char *""'");
   25777             :     }
   25778           0 :     arg2 = (char *)(buf2);
   25779             :     {
   25780           0 :       if (arg1->labelrequires) free((char*)arg1->labelrequires);
   25781           0 :       if (arg2) {
   25782           0 :         arg1->labelrequires = (char *) malloc(strlen(arg2)+1);
   25783             :         strcpy((char*)arg1->labelrequires,arg2);
   25784             :       } else {
   25785           0 :         arg1->labelrequires = 0;
   25786             :       }
   25787             :     }
   25788           0 :     ST(argvi) = sv_newmortal();
   25789             :     
   25790           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   25791           0 :     XSRETURN(argvi);
   25792           0 :   fail:
   25793             :     
   25794           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   25795           0 :     SWIG_croak_null();
   25796             :   }
   25797             : }
   25798             : 
   25799             : 
   25800           0 : XS(_wrap_layerObj_labelrequires_get) {
   25801             :   {
   25802             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   25803           0 :     void *argp1 = 0 ;
   25804             :     int res1 = 0 ;
   25805             :     int argvi = 0;
   25806             :     char *result = 0 ;
   25807           0 :     dXSARGS;
   25808             :     
   25809           0 :     if ((items < 1) || (items > 1)) {
   25810           0 :       SWIG_croak("Usage: layerObj_labelrequires_get(self);");
   25811             :     }
   25812           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   25813           0 :     if (!SWIG_IsOK(res1)) {
   25814           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_labelrequires_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   25815             :     }
   25816           0 :     arg1 = (struct layerObj *)(argp1);
   25817           0 :     result = (char *) ((arg1)->labelrequires);
   25818           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   25819             :     
   25820           0 :     XSRETURN(argvi);
   25821           0 :   fail:
   25822             :     
   25823           0 :     SWIG_croak_null();
   25824             :   }
   25825             : }
   25826             : 
   25827             : 
   25828           0 : XS(_wrap_layerObj_metadata_get) {
   25829             :   {
   25830             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   25831           0 :     void *argp1 = 0 ;
   25832             :     int res1 = 0 ;
   25833             :     int argvi = 0;
   25834             :     hashTableObj *result = 0 ;
   25835           0 :     dXSARGS;
   25836             :     
   25837           0 :     if ((items < 1) || (items > 1)) {
   25838           0 :       SWIG_croak("Usage: layerObj_metadata_get(self);");
   25839             :     }
   25840           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   25841           0 :     if (!SWIG_IsOK(res1)) {
   25842           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_metadata_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   25843             :     }
   25844           0 :     arg1 = (struct layerObj *)(argp1);
   25845           0 :     result = (hashTableObj *)& ((arg1)->metadata);
   25846           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_hashTableObj, 0 | SWIG_SHADOW); argvi++ ;
   25847             :     
   25848           0 :     XSRETURN(argvi);
   25849           0 :   fail:
   25850             :     
   25851           0 :     SWIG_croak_null();
   25852             :   }
   25853             : }
   25854             : 
   25855             : 
   25856           0 : XS(_wrap_layerObj_validation_get) {
   25857             :   {
   25858             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   25859           0 :     void *argp1 = 0 ;
   25860             :     int res1 = 0 ;
   25861             :     int argvi = 0;
   25862             :     hashTableObj *result = 0 ;
   25863           0 :     dXSARGS;
   25864             :     
   25865           0 :     if ((items < 1) || (items > 1)) {
   25866           0 :       SWIG_croak("Usage: layerObj_validation_get(self);");
   25867             :     }
   25868           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   25869           0 :     if (!SWIG_IsOK(res1)) {
   25870           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_validation_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   25871             :     }
   25872           0 :     arg1 = (struct layerObj *)(argp1);
   25873           0 :     result = (hashTableObj *)& ((arg1)->validation);
   25874           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_hashTableObj, 0 | SWIG_SHADOW); argvi++ ;
   25875             :     
   25876           0 :     XSRETURN(argvi);
   25877           0 :   fail:
   25878             :     
   25879           0 :     SWIG_croak_null();
   25880             :   }
   25881             : }
   25882             : 
   25883             : 
   25884           0 : XS(_wrap_layerObj_bindvals_get) {
   25885             :   {
   25886             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   25887           0 :     void *argp1 = 0 ;
   25888             :     int res1 = 0 ;
   25889             :     int argvi = 0;
   25890             :     hashTableObj *result = 0 ;
   25891           0 :     dXSARGS;
   25892             :     
   25893           0 :     if ((items < 1) || (items > 1)) {
   25894           0 :       SWIG_croak("Usage: layerObj_bindvals_get(self);");
   25895             :     }
   25896           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   25897           0 :     if (!SWIG_IsOK(res1)) {
   25898           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_bindvals_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   25899             :     }
   25900           0 :     arg1 = (struct layerObj *)(argp1);
   25901           0 :     result = (hashTableObj *)& ((arg1)->bindvals);
   25902           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_hashTableObj, 0 | SWIG_SHADOW); argvi++ ;
   25903             :     
   25904           0 :     XSRETURN(argvi);
   25905           0 :   fail:
   25906             :     
   25907           0 :     SWIG_croak_null();
   25908             :   }
   25909             : }
   25910             : 
   25911             : 
   25912           0 : XS(_wrap_layerObj_cluster_get) {
   25913             :   {
   25914             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   25915           0 :     void *argp1 = 0 ;
   25916             :     int res1 = 0 ;
   25917             :     int argvi = 0;
   25918             :     clusterObj *result = 0 ;
   25919           0 :     dXSARGS;
   25920             :     
   25921           0 :     if ((items < 1) || (items > 1)) {
   25922           0 :       SWIG_croak("Usage: layerObj_cluster_get(self);");
   25923             :     }
   25924           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   25925           0 :     if (!SWIG_IsOK(res1)) {
   25926           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_cluster_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   25927             :     }
   25928           0 :     arg1 = (struct layerObj *)(argp1);
   25929           0 :     result = (clusterObj *)& ((arg1)->cluster);
   25930           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_clusterObj, 0 | SWIG_SHADOW); argvi++ ;
   25931             :     
   25932           0 :     XSRETURN(argvi);
   25933           0 :   fail:
   25934             :     
   25935           0 :     SWIG_croak_null();
   25936             :   }
   25937             : }
   25938             : 
   25939             : 
   25940           0 : XS(_wrap_layerObj_dump_set) {
   25941             :   {
   25942             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   25943             :     int arg2 ;
   25944           0 :     void *argp1 = 0 ;
   25945             :     int res1 = 0 ;
   25946             :     int val2 ;
   25947             :     int ecode2 = 0 ;
   25948             :     int argvi = 0;
   25949           0 :     dXSARGS;
   25950             :     
   25951           0 :     if ((items < 2) || (items > 2)) {
   25952           0 :       SWIG_croak("Usage: layerObj_dump_set(self,dump);");
   25953             :     }
   25954           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   25955           0 :     if (!SWIG_IsOK(res1)) {
   25956           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_dump_set" "', argument " "1"" of type '" "struct layerObj *""'"); 
   25957             :     }
   25958           0 :     arg1 = (struct layerObj *)(argp1);
   25959           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   25960           0 :     if (!SWIG_IsOK(ecode2)) {
   25961           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_dump_set" "', argument " "2"" of type '" "int""'");
   25962             :     } 
   25963             :     arg2 = (int)(val2);
   25964           0 :     if (arg1) (arg1)->dump = arg2;
   25965           0 :     ST(argvi) = sv_newmortal();
   25966             :     
   25967             :     
   25968           0 :     XSRETURN(argvi);
   25969           0 :   fail:
   25970             :     
   25971             :     
   25972           0 :     SWIG_croak_null();
   25973             :   }
   25974             : }
   25975             : 
   25976             : 
   25977           0 : XS(_wrap_layerObj_dump_get) {
   25978             :   {
   25979             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   25980           0 :     void *argp1 = 0 ;
   25981             :     int res1 = 0 ;
   25982             :     int argvi = 0;
   25983             :     int result;
   25984           0 :     dXSARGS;
   25985             :     
   25986           0 :     if ((items < 1) || (items > 1)) {
   25987           0 :       SWIG_croak("Usage: layerObj_dump_get(self);");
   25988             :     }
   25989           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   25990           0 :     if (!SWIG_IsOK(res1)) {
   25991           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_dump_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   25992             :     }
   25993           0 :     arg1 = (struct layerObj *)(argp1);
   25994           0 :     result = (int) ((arg1)->dump);
   25995           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   25996             :     
   25997           0 :     XSRETURN(argvi);
   25998           0 :   fail:
   25999             :     
   26000           0 :     SWIG_croak_null();
   26001             :   }
   26002             : }
   26003             : 
   26004             : 
   26005           0 : XS(_wrap_layerObj_debug_set) {
   26006             :   {
   26007             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   26008             :     int arg2 ;
   26009           0 :     void *argp1 = 0 ;
   26010             :     int res1 = 0 ;
   26011             :     int val2 ;
   26012             :     int ecode2 = 0 ;
   26013             :     int argvi = 0;
   26014           0 :     dXSARGS;
   26015             :     
   26016           0 :     if ((items < 2) || (items > 2)) {
   26017           0 :       SWIG_croak("Usage: layerObj_debug_set(self,debug);");
   26018             :     }
   26019           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   26020           0 :     if (!SWIG_IsOK(res1)) {
   26021           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_debug_set" "', argument " "1"" of type '" "struct layerObj *""'"); 
   26022             :     }
   26023           0 :     arg1 = (struct layerObj *)(argp1);
   26024           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   26025           0 :     if (!SWIG_IsOK(ecode2)) {
   26026           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_debug_set" "', argument " "2"" of type '" "int""'");
   26027             :     } 
   26028             :     arg2 = (int)(val2);
   26029           0 :     if (arg1) (arg1)->debug = arg2;
   26030           0 :     ST(argvi) = sv_newmortal();
   26031             :     
   26032             :     
   26033           0 :     XSRETURN(argvi);
   26034           0 :   fail:
   26035             :     
   26036             :     
   26037           0 :     SWIG_croak_null();
   26038             :   }
   26039             : }
   26040             : 
   26041             : 
   26042           0 : XS(_wrap_layerObj_debug_get) {
   26043             :   {
   26044             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   26045           0 :     void *argp1 = 0 ;
   26046             :     int res1 = 0 ;
   26047             :     int argvi = 0;
   26048             :     int result;
   26049           0 :     dXSARGS;
   26050             :     
   26051           0 :     if ((items < 1) || (items > 1)) {
   26052           0 :       SWIG_croak("Usage: layerObj_debug_get(self);");
   26053             :     }
   26054           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   26055           0 :     if (!SWIG_IsOK(res1)) {
   26056           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_debug_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   26057             :     }
   26058           0 :     arg1 = (struct layerObj *)(argp1);
   26059           0 :     result = (int) ((arg1)->debug);
   26060           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   26061             :     
   26062           0 :     XSRETURN(argvi);
   26063           0 :   fail:
   26064             :     
   26065           0 :     SWIG_croak_null();
   26066             :   }
   26067             : }
   26068             : 
   26069             : 
   26070           0 : XS(_wrap_layerObj_extent_get) {
   26071             :   {
   26072             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   26073           0 :     void *argp1 = 0 ;
   26074             :     int res1 = 0 ;
   26075             :     int argvi = 0;
   26076             :     rectObj *result = 0 ;
   26077           0 :     dXSARGS;
   26078             :     
   26079           0 :     if ((items < 1) || (items > 1)) {
   26080           0 :       SWIG_croak("Usage: layerObj_extent_get(self);");
   26081             :     }
   26082           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   26083           0 :     if (!SWIG_IsOK(res1)) {
   26084           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_extent_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   26085             :     }
   26086           0 :     arg1 = (struct layerObj *)(argp1);
   26087           0 :     result = (rectObj *)& ((arg1)->extent);
   26088           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_rectObj, 0 | SWIG_SHADOW); argvi++ ;
   26089             :     
   26090           0 :     XSRETURN(argvi);
   26091           0 :   fail:
   26092             :     
   26093           0 :     SWIG_croak_null();
   26094             :   }
   26095             : }
   26096             : 
   26097             : 
   26098           0 : XS(_wrap_layerObj_numprocessing_get) {
   26099             :   {
   26100             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   26101           0 :     void *argp1 = 0 ;
   26102             :     int res1 = 0 ;
   26103             :     int argvi = 0;
   26104             :     int result;
   26105           0 :     dXSARGS;
   26106             :     
   26107           0 :     if ((items < 1) || (items > 1)) {
   26108           0 :       SWIG_croak("Usage: layerObj_numprocessing_get(self);");
   26109             :     }
   26110           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   26111           0 :     if (!SWIG_IsOK(res1)) {
   26112           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_numprocessing_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   26113             :     }
   26114           0 :     arg1 = (struct layerObj *)(argp1);
   26115           0 :     result = (int) ((arg1)->numprocessing);
   26116           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   26117             :     
   26118           0 :     XSRETURN(argvi);
   26119           0 :   fail:
   26120             :     
   26121           0 :     SWIG_croak_null();
   26122             :   }
   26123             : }
   26124             : 
   26125             : 
   26126           0 : XS(_wrap_layerObj_numjoins_get) {
   26127             :   {
   26128             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   26129           0 :     void *argp1 = 0 ;
   26130             :     int res1 = 0 ;
   26131             :     int argvi = 0;
   26132             :     int result;
   26133           0 :     dXSARGS;
   26134             :     
   26135           0 :     if ((items < 1) || (items > 1)) {
   26136           0 :       SWIG_croak("Usage: layerObj_numjoins_get(self);");
   26137             :     }
   26138           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   26139           0 :     if (!SWIG_IsOK(res1)) {
   26140           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_numjoins_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   26141             :     }
   26142           0 :     arg1 = (struct layerObj *)(argp1);
   26143           0 :     result = (int) ((arg1)->numjoins);
   26144           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   26145             :     
   26146           0 :     XSRETURN(argvi);
   26147           0 :   fail:
   26148             :     
   26149           0 :     SWIG_croak_null();
   26150             :   }
   26151             : }
   26152             : 
   26153             : 
   26154           0 : XS(_wrap_layerObj_classgroup_set) {
   26155             :   {
   26156             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   26157             :     char *arg2 = (char *) 0 ;
   26158           0 :     void *argp1 = 0 ;
   26159             :     int res1 = 0 ;
   26160             :     int res2 ;
   26161           0 :     char *buf2 = 0 ;
   26162           0 :     int alloc2 = 0 ;
   26163             :     int argvi = 0;
   26164           0 :     dXSARGS;
   26165             :     
   26166           0 :     if ((items < 2) || (items > 2)) {
   26167           0 :       SWIG_croak("Usage: layerObj_classgroup_set(self,classgroup);");
   26168             :     }
   26169           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   26170           0 :     if (!SWIG_IsOK(res1)) {
   26171           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_classgroup_set" "', argument " "1"" of type '" "struct layerObj *""'"); 
   26172             :     }
   26173           0 :     arg1 = (struct layerObj *)(argp1);
   26174           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   26175           0 :     if (!SWIG_IsOK(res2)) {
   26176           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_classgroup_set" "', argument " "2"" of type '" "char *""'");
   26177             :     }
   26178           0 :     arg2 = (char *)(buf2);
   26179             :     {
   26180           0 :       if (arg1->classgroup) free((char*)arg1->classgroup);
   26181           0 :       if (arg2) {
   26182           0 :         arg1->classgroup = (char *) malloc(strlen(arg2)+1);
   26183             :         strcpy((char*)arg1->classgroup,arg2);
   26184             :       } else {
   26185           0 :         arg1->classgroup = 0;
   26186             :       }
   26187             :     }
   26188           0 :     ST(argvi) = sv_newmortal();
   26189             :     
   26190           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   26191           0 :     XSRETURN(argvi);
   26192           0 :   fail:
   26193             :     
   26194           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   26195           0 :     SWIG_croak_null();
   26196             :   }
   26197             : }
   26198             : 
   26199             : 
   26200           0 : XS(_wrap_layerObj_classgroup_get) {
   26201             :   {
   26202             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   26203           0 :     void *argp1 = 0 ;
   26204             :     int res1 = 0 ;
   26205             :     int argvi = 0;
   26206             :     char *result = 0 ;
   26207           0 :     dXSARGS;
   26208             :     
   26209           0 :     if ((items < 1) || (items > 1)) {
   26210           0 :       SWIG_croak("Usage: layerObj_classgroup_get(self);");
   26211             :     }
   26212           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   26213           0 :     if (!SWIG_IsOK(res1)) {
   26214           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_classgroup_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   26215             :     }
   26216           0 :     arg1 = (struct layerObj *)(argp1);
   26217           0 :     result = (char *) ((arg1)->classgroup);
   26218           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   26219             :     
   26220           0 :     XSRETURN(argvi);
   26221           0 :   fail:
   26222             :     
   26223           0 :     SWIG_croak_null();
   26224             :   }
   26225             : }
   26226             : 
   26227             : 
   26228           0 : XS(_wrap_layerObj_mask_set) {
   26229             :   {
   26230             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   26231             :     char *arg2 = (char *) 0 ;
   26232           0 :     void *argp1 = 0 ;
   26233             :     int res1 = 0 ;
   26234             :     int res2 ;
   26235           0 :     char *buf2 = 0 ;
   26236           0 :     int alloc2 = 0 ;
   26237             :     int argvi = 0;
   26238           0 :     dXSARGS;
   26239             :     
   26240           0 :     if ((items < 2) || (items > 2)) {
   26241           0 :       SWIG_croak("Usage: layerObj_mask_set(self,mask);");
   26242             :     }
   26243           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   26244           0 :     if (!SWIG_IsOK(res1)) {
   26245           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_mask_set" "', argument " "1"" of type '" "struct layerObj *""'"); 
   26246             :     }
   26247           0 :     arg1 = (struct layerObj *)(argp1);
   26248           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   26249           0 :     if (!SWIG_IsOK(res2)) {
   26250           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_mask_set" "', argument " "2"" of type '" "char *""'");
   26251             :     }
   26252           0 :     arg2 = (char *)(buf2);
   26253             :     {
   26254           0 :       if (arg1->mask) free((char*)arg1->mask);
   26255           0 :       if (arg2) {
   26256           0 :         arg1->mask = (char *) malloc(strlen(arg2)+1);
   26257             :         strcpy((char*)arg1->mask,arg2);
   26258             :       } else {
   26259           0 :         arg1->mask = 0;
   26260             :       }
   26261             :     }
   26262           0 :     ST(argvi) = sv_newmortal();
   26263             :     
   26264           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   26265           0 :     XSRETURN(argvi);
   26266           0 :   fail:
   26267             :     
   26268           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   26269           0 :     SWIG_croak_null();
   26270             :   }
   26271             : }
   26272             : 
   26273             : 
   26274           0 : XS(_wrap_layerObj_mask_get) {
   26275             :   {
   26276             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   26277           0 :     void *argp1 = 0 ;
   26278             :     int res1 = 0 ;
   26279             :     int argvi = 0;
   26280             :     char *result = 0 ;
   26281           0 :     dXSARGS;
   26282             :     
   26283           0 :     if ((items < 1) || (items > 1)) {
   26284           0 :       SWIG_croak("Usage: layerObj_mask_get(self);");
   26285             :     }
   26286           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   26287           0 :     if (!SWIG_IsOK(res1)) {
   26288           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_mask_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   26289             :     }
   26290           0 :     arg1 = (struct layerObj *)(argp1);
   26291           0 :     result = (char *) ((arg1)->mask);
   26292           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   26293             :     
   26294           0 :     XSRETURN(argvi);
   26295           0 :   fail:
   26296             :     
   26297           0 :     SWIG_croak_null();
   26298             :   }
   26299             : }
   26300             : 
   26301             : 
   26302           0 : XS(_wrap_layerObj_encoding_set) {
   26303             :   {
   26304             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   26305             :     char *arg2 = (char *) 0 ;
   26306           0 :     void *argp1 = 0 ;
   26307             :     int res1 = 0 ;
   26308             :     int res2 ;
   26309           0 :     char *buf2 = 0 ;
   26310           0 :     int alloc2 = 0 ;
   26311             :     int argvi = 0;
   26312           0 :     dXSARGS;
   26313             :     
   26314           0 :     if ((items < 2) || (items > 2)) {
   26315           0 :       SWIG_croak("Usage: layerObj_encoding_set(self,encoding);");
   26316             :     }
   26317           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   26318           0 :     if (!SWIG_IsOK(res1)) {
   26319           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_encoding_set" "', argument " "1"" of type '" "struct layerObj *""'"); 
   26320             :     }
   26321           0 :     arg1 = (struct layerObj *)(argp1);
   26322           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   26323           0 :     if (!SWIG_IsOK(res2)) {
   26324           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_encoding_set" "', argument " "2"" of type '" "char *""'");
   26325             :     }
   26326           0 :     arg2 = (char *)(buf2);
   26327             :     {
   26328           0 :       if (arg1->encoding) free((char*)arg1->encoding);
   26329           0 :       if (arg2) {
   26330           0 :         arg1->encoding = (char *) malloc(strlen(arg2)+1);
   26331             :         strcpy((char*)arg1->encoding,arg2);
   26332             :       } else {
   26333           0 :         arg1->encoding = 0;
   26334             :       }
   26335             :     }
   26336           0 :     ST(argvi) = sv_newmortal();
   26337             :     
   26338           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   26339           0 :     XSRETURN(argvi);
   26340           0 :   fail:
   26341             :     
   26342           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   26343           0 :     SWIG_croak_null();
   26344             :   }
   26345             : }
   26346             : 
   26347             : 
   26348           0 : XS(_wrap_layerObj_encoding_get) {
   26349             :   {
   26350             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   26351           0 :     void *argp1 = 0 ;
   26352             :     int res1 = 0 ;
   26353             :     int argvi = 0;
   26354             :     char *result = 0 ;
   26355           0 :     dXSARGS;
   26356             :     
   26357           0 :     if ((items < 1) || (items > 1)) {
   26358           0 :       SWIG_croak("Usage: layerObj_encoding_get(self);");
   26359             :     }
   26360           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   26361           0 :     if (!SWIG_IsOK(res1)) {
   26362           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_encoding_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   26363             :     }
   26364           0 :     arg1 = (struct layerObj *)(argp1);
   26365           0 :     result = (char *) ((arg1)->encoding);
   26366           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   26367             :     
   26368           0 :     XSRETURN(argvi);
   26369           0 :   fail:
   26370             :     
   26371           0 :     SWIG_croak_null();
   26372             :   }
   26373             : }
   26374             : 
   26375             : 
   26376           0 : XS(_wrap_layerObj_utfitem_set) {
   26377             :   {
   26378             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   26379             :     char *arg2 = (char *) 0 ;
   26380           0 :     void *argp1 = 0 ;
   26381             :     int res1 = 0 ;
   26382             :     int res2 ;
   26383           0 :     char *buf2 = 0 ;
   26384           0 :     int alloc2 = 0 ;
   26385             :     int argvi = 0;
   26386           0 :     dXSARGS;
   26387             :     
   26388           0 :     if ((items < 2) || (items > 2)) {
   26389           0 :       SWIG_croak("Usage: layerObj_utfitem_set(self,utfitem);");
   26390             :     }
   26391           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   26392           0 :     if (!SWIG_IsOK(res1)) {
   26393           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_utfitem_set" "', argument " "1"" of type '" "struct layerObj *""'"); 
   26394             :     }
   26395           0 :     arg1 = (struct layerObj *)(argp1);
   26396           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   26397           0 :     if (!SWIG_IsOK(res2)) {
   26398           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_utfitem_set" "', argument " "2"" of type '" "char *""'");
   26399             :     }
   26400           0 :     arg2 = (char *)(buf2);
   26401             :     {
   26402           0 :       if (arg1->utfitem) free((char*)arg1->utfitem);
   26403           0 :       if (arg2) {
   26404           0 :         arg1->utfitem = (char *) malloc(strlen(arg2)+1);
   26405             :         strcpy((char*)arg1->utfitem,arg2);
   26406             :       } else {
   26407           0 :         arg1->utfitem = 0;
   26408             :       }
   26409             :     }
   26410           0 :     ST(argvi) = sv_newmortal();
   26411             :     
   26412           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   26413           0 :     XSRETURN(argvi);
   26414           0 :   fail:
   26415             :     
   26416           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   26417           0 :     SWIG_croak_null();
   26418             :   }
   26419             : }
   26420             : 
   26421             : 
   26422           0 : XS(_wrap_layerObj_utfitem_get) {
   26423             :   {
   26424             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   26425           0 :     void *argp1 = 0 ;
   26426             :     int res1 = 0 ;
   26427             :     int argvi = 0;
   26428             :     char *result = 0 ;
   26429           0 :     dXSARGS;
   26430             :     
   26431           0 :     if ((items < 1) || (items > 1)) {
   26432           0 :       SWIG_croak("Usage: layerObj_utfitem_get(self);");
   26433             :     }
   26434           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   26435           0 :     if (!SWIG_IsOK(res1)) {
   26436           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_utfitem_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   26437             :     }
   26438           0 :     arg1 = (struct layerObj *)(argp1);
   26439           0 :     result = (char *) ((arg1)->utfitem);
   26440           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   26441             :     
   26442           0 :     XSRETURN(argvi);
   26443           0 :   fail:
   26444             :     
   26445           0 :     SWIG_croak_null();
   26446             :   }
   26447             : }
   26448             : 
   26449             : 
   26450           0 : XS(_wrap_layerObj_utfitemindex_set) {
   26451             :   {
   26452             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   26453             :     int arg2 ;
   26454           0 :     void *argp1 = 0 ;
   26455             :     int res1 = 0 ;
   26456             :     int val2 ;
   26457             :     int ecode2 = 0 ;
   26458             :     int argvi = 0;
   26459           0 :     dXSARGS;
   26460             :     
   26461           0 :     if ((items < 2) || (items > 2)) {
   26462           0 :       SWIG_croak("Usage: layerObj_utfitemindex_set(self,utfitemindex);");
   26463             :     }
   26464           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   26465           0 :     if (!SWIG_IsOK(res1)) {
   26466           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_utfitemindex_set" "', argument " "1"" of type '" "struct layerObj *""'"); 
   26467             :     }
   26468           0 :     arg1 = (struct layerObj *)(argp1);
   26469           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   26470           0 :     if (!SWIG_IsOK(ecode2)) {
   26471           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_utfitemindex_set" "', argument " "2"" of type '" "int""'");
   26472             :     } 
   26473             :     arg2 = (int)(val2);
   26474           0 :     if (arg1) (arg1)->utfitemindex = arg2;
   26475           0 :     ST(argvi) = sv_newmortal();
   26476             :     
   26477             :     
   26478           0 :     XSRETURN(argvi);
   26479           0 :   fail:
   26480             :     
   26481             :     
   26482           0 :     SWIG_croak_null();
   26483             :   }
   26484             : }
   26485             : 
   26486             : 
   26487           0 : XS(_wrap_layerObj_utfitemindex_get) {
   26488             :   {
   26489             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   26490           0 :     void *argp1 = 0 ;
   26491             :     int res1 = 0 ;
   26492             :     int argvi = 0;
   26493             :     int result;
   26494           0 :     dXSARGS;
   26495             :     
   26496           0 :     if ((items < 1) || (items > 1)) {
   26497           0 :       SWIG_croak("Usage: layerObj_utfitemindex_get(self);");
   26498             :     }
   26499           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   26500           0 :     if (!SWIG_IsOK(res1)) {
   26501           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_utfitemindex_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   26502             :     }
   26503           0 :     arg1 = (struct layerObj *)(argp1);
   26504           0 :     result = (int) ((arg1)->utfitemindex);
   26505           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   26506             :     
   26507           0 :     XSRETURN(argvi);
   26508           0 :   fail:
   26509             :     
   26510           0 :     SWIG_croak_null();
   26511             :   }
   26512             : }
   26513             : 
   26514             : 
   26515           0 : XS(_wrap_layerObj_utfdata_set) {
   26516             :   {
   26517             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   26518             :     expressionObj arg2 ;
   26519           0 :     void *argp1 = 0 ;
   26520             :     int res1 = 0 ;
   26521             :     void *argp2 ;
   26522             :     int res2 = 0 ;
   26523             :     int argvi = 0;
   26524           0 :     dXSARGS;
   26525             :     
   26526           0 :     if ((items < 2) || (items > 2)) {
   26527           0 :       SWIG_croak("Usage: layerObj_utfdata_set(self,utfdata);");
   26528             :     }
   26529           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   26530           0 :     if (!SWIG_IsOK(res1)) {
   26531           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_utfdata_set" "', argument " "1"" of type '" "struct layerObj *""'"); 
   26532             :     }
   26533           0 :     arg1 = (struct layerObj *)(argp1);
   26534             :     {
   26535           0 :       res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_expressionObj,  0 );
   26536           0 :       if (!SWIG_IsOK(res2)) {
   26537           0 :         SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_utfdata_set" "', argument " "2"" of type '" "expressionObj""'"); 
   26538             :       }  
   26539           0 :       if (!argp2) {
   26540           0 :         SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "layerObj_utfdata_set" "', argument " "2"" of type '" "expressionObj""'");
   26541             :       } else {
   26542           0 :         arg2 = *((expressionObj *)(argp2));
   26543             :       }
   26544             :     }
   26545           0 :     if (arg1) (arg1)->utfdata = arg2;
   26546           0 :     ST(argvi) = sv_newmortal();
   26547             :     
   26548           0 :     XSRETURN(argvi);
   26549           0 :   fail:
   26550             :     
   26551           0 :     SWIG_croak_null();
   26552             :   }
   26553             : }
   26554             : 
   26555             : 
   26556           0 : XS(_wrap_layerObj_utfdata_get) {
   26557             :   {
   26558             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   26559           0 :     void *argp1 = 0 ;
   26560             :     int res1 = 0 ;
   26561             :     int argvi = 0;
   26562             :     expressionObj result;
   26563           0 :     dXSARGS;
   26564             :     
   26565           0 :     if ((items < 1) || (items > 1)) {
   26566           0 :       SWIG_croak("Usage: layerObj_utfdata_get(self);");
   26567             :     }
   26568           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   26569           0 :     if (!SWIG_IsOK(res1)) {
   26570           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_utfdata_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   26571             :     }
   26572           0 :     arg1 = (struct layerObj *)(argp1);
   26573           0 :     result =  ((arg1)->utfdata);
   26574           0 :     ST(argvi) = SWIG_NewPointerObj((expressionObj *)memcpy((expressionObj *)calloc(1,sizeof(expressionObj)),&result,sizeof(expressionObj)), SWIGTYPE_p_expressionObj, SWIG_POINTER_OWN | 0); argvi++ ;
   26575             :     
   26576           0 :     XSRETURN(argvi);
   26577           0 :   fail:
   26578             :     
   26579           0 :     SWIG_croak_null();
   26580             :   }
   26581             : }
   26582             : 
   26583             : 
   26584           0 : XS(_wrap_layerObj_compositer_set) {
   26585             :   {
   26586             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   26587             :     LayerCompositer *arg2 = (LayerCompositer *) 0 ;
   26588           0 :     void *argp1 = 0 ;
   26589             :     int res1 = 0 ;
   26590           0 :     void *argp2 = 0 ;
   26591             :     int res2 = 0 ;
   26592             :     int argvi = 0;
   26593           0 :     dXSARGS;
   26594             :     
   26595           0 :     if ((items < 2) || (items > 2)) {
   26596           0 :       SWIG_croak("Usage: layerObj_compositer_set(self,compositer);");
   26597             :     }
   26598           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   26599           0 :     if (!SWIG_IsOK(res1)) {
   26600           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_compositer_set" "', argument " "1"" of type '" "struct layerObj *""'"); 
   26601             :     }
   26602           0 :     arg1 = (struct layerObj *)(argp1);
   26603           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p__LayerCompositer, SWIG_POINTER_DISOWN |  0 );
   26604           0 :     if (!SWIG_IsOK(res2)) {
   26605           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_compositer_set" "', argument " "2"" of type '" "LayerCompositer *""'"); 
   26606             :     }
   26607           0 :     arg2 = (LayerCompositer *)(argp2);
   26608           0 :     if (arg1) (arg1)->compositer = arg2;
   26609           0 :     ST(argvi) = sv_newmortal();
   26610             :     
   26611             :     
   26612           0 :     XSRETURN(argvi);
   26613           0 :   fail:
   26614             :     
   26615             :     
   26616           0 :     SWIG_croak_null();
   26617             :   }
   26618             : }
   26619             : 
   26620             : 
   26621           0 : XS(_wrap_layerObj_compositer_get) {
   26622             :   {
   26623             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   26624           0 :     void *argp1 = 0 ;
   26625             :     int res1 = 0 ;
   26626             :     int argvi = 0;
   26627             :     LayerCompositer *result = 0 ;
   26628           0 :     dXSARGS;
   26629             :     
   26630           0 :     if ((items < 1) || (items > 1)) {
   26631           0 :       SWIG_croak("Usage: layerObj_compositer_get(self);");
   26632             :     }
   26633           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   26634           0 :     if (!SWIG_IsOK(res1)) {
   26635           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_compositer_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   26636             :     }
   26637           0 :     arg1 = (struct layerObj *)(argp1);
   26638           0 :     result = (LayerCompositer *) ((arg1)->compositer);
   26639           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p__LayerCompositer, 0 | SWIG_SHADOW); argvi++ ;
   26640             :     
   26641           0 :     XSRETURN(argvi);
   26642           0 :   fail:
   26643             :     
   26644           0 :     SWIG_croak_null();
   26645             :   }
   26646             : }
   26647             : 
   26648             : 
   26649           0 : XS(_wrap_layerObj_connectionoptions_set) {
   26650             :   {
   26651             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   26652             :     hashTableObj *arg2 = (hashTableObj *) 0 ;
   26653           0 :     void *argp1 = 0 ;
   26654             :     int res1 = 0 ;
   26655           0 :     void *argp2 = 0 ;
   26656             :     int res2 = 0 ;
   26657             :     int argvi = 0;
   26658           0 :     dXSARGS;
   26659             :     
   26660           0 :     if ((items < 2) || (items > 2)) {
   26661           0 :       SWIG_croak("Usage: layerObj_connectionoptions_set(self,connectionoptions);");
   26662             :     }
   26663           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   26664           0 :     if (!SWIG_IsOK(res1)) {
   26665           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_connectionoptions_set" "', argument " "1"" of type '" "struct layerObj *""'"); 
   26666             :     }
   26667           0 :     arg1 = (struct layerObj *)(argp1);
   26668           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_hashTableObj, 0 |  0 );
   26669           0 :     if (!SWIG_IsOK(res2)) {
   26670           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_connectionoptions_set" "', argument " "2"" of type '" "hashTableObj *""'"); 
   26671             :     }
   26672           0 :     arg2 = (hashTableObj *)(argp2);
   26673           0 :     if (arg1) (arg1)->connectionoptions = *arg2;
   26674           0 :     ST(argvi) = sv_newmortal();
   26675             :     
   26676             :     
   26677           0 :     XSRETURN(argvi);
   26678           0 :   fail:
   26679             :     
   26680             :     
   26681           0 :     SWIG_croak_null();
   26682             :   }
   26683             : }
   26684             : 
   26685             : 
   26686           0 : XS(_wrap_layerObj_connectionoptions_get) {
   26687             :   {
   26688             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   26689           0 :     void *argp1 = 0 ;
   26690             :     int res1 = 0 ;
   26691             :     int argvi = 0;
   26692             :     hashTableObj *result = 0 ;
   26693           0 :     dXSARGS;
   26694             :     
   26695           0 :     if ((items < 1) || (items > 1)) {
   26696           0 :       SWIG_croak("Usage: layerObj_connectionoptions_get(self);");
   26697             :     }
   26698           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   26699           0 :     if (!SWIG_IsOK(res1)) {
   26700           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_connectionoptions_get" "', argument " "1"" of type '" "struct layerObj *""'"); 
   26701             :     }
   26702           0 :     arg1 = (struct layerObj *)(argp1);
   26703           0 :     result = (hashTableObj *)& ((arg1)->connectionoptions);
   26704           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_hashTableObj, 0 | SWIG_SHADOW); argvi++ ;
   26705             :     
   26706           0 :     XSRETURN(argvi);
   26707           0 :   fail:
   26708             :     
   26709           0 :     SWIG_croak_null();
   26710             :   }
   26711             : }
   26712             : 
   26713             : 
   26714           1 : XS(_wrap_new_layerObj) {
   26715             :   {
   26716             :     mapObj *arg1 = (mapObj *) NULL ;
   26717           1 :     void *argp1 = 0 ;
   26718             :     int res1 = 0 ;
   26719             :     int argvi = 0;
   26720             :     struct layerObj *result = 0 ;
   26721           1 :     dXSARGS;
   26722             :     
   26723           1 :     if ((items < 0) || (items > 1)) {
   26724           0 :       SWIG_croak("Usage: new_layerObj(map);");
   26725             :     }
   26726           1 :     if (items > 0) {
   26727           1 :       res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   26728           1 :       if (!SWIG_IsOK(res1)) {
   26729           0 :         SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_layerObj" "', argument " "1"" of type '" "mapObj *""'"); 
   26730             :       }
   26731           1 :       arg1 = (mapObj *)(argp1);
   26732             :     }
   26733           1 :     result = (struct layerObj *)new_layerObj(arg1);
   26734           1 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_layerObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   26735             :     
   26736           1 :     XSRETURN(argvi);
   26737           0 :   fail:
   26738             :     
   26739           0 :     SWIG_croak_null();
   26740             :   }
   26741             : }
   26742             : 
   26743             : 
   26744           0 : XS(_wrap_layerObj_setOpacity) {
   26745             :   {
   26746             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   26747             :     int arg2 ;
   26748           0 :     void *argp1 = 0 ;
   26749             :     int res1 = 0 ;
   26750             :     int val2 ;
   26751             :     int ecode2 = 0 ;
   26752             :     int argvi = 0;
   26753           0 :     dXSARGS;
   26754             :     
   26755           0 :     if ((items < 2) || (items > 2)) {
   26756           0 :       SWIG_croak("Usage: layerObj_setOpacity(self,opacity);");
   26757             :     }
   26758           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   26759           0 :     if (!SWIG_IsOK(res1)) {
   26760           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_setOpacity" "', argument " "1"" of type '" "struct layerObj *""'"); 
   26761             :     }
   26762           0 :     arg1 = (struct layerObj *)(argp1);
   26763           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   26764           0 :     if (!SWIG_IsOK(ecode2)) {
   26765           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_setOpacity" "', argument " "2"" of type '" "int""'");
   26766             :     } 
   26767             :     arg2 = (int)(val2);
   26768             :     layerObj_setOpacity(arg1,arg2);
   26769           0 :     ST(argvi) = sv_newmortal();
   26770             :     
   26771             :     
   26772           0 :     XSRETURN(argvi);
   26773           0 :   fail:
   26774             :     
   26775             :     
   26776           0 :     SWIG_croak_null();
   26777             :   }
   26778             : }
   26779             : 
   26780             : 
   26781           0 : XS(_wrap_layerObj_getOpacity) {
   26782             :   {
   26783             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   26784           0 :     void *argp1 = 0 ;
   26785             :     int res1 = 0 ;
   26786             :     int argvi = 0;
   26787             :     int result;
   26788           0 :     dXSARGS;
   26789             :     
   26790           0 :     if ((items < 1) || (items > 1)) {
   26791           0 :       SWIG_croak("Usage: layerObj_getOpacity(self);");
   26792             :     }
   26793           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   26794           0 :     if (!SWIG_IsOK(res1)) {
   26795           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_getOpacity" "', argument " "1"" of type '" "struct layerObj *""'"); 
   26796             :     }
   26797           0 :     arg1 = (struct layerObj *)(argp1);
   26798           0 :     result = (int)layerObj_getOpacity(arg1);
   26799           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   26800             :     
   26801           0 :     XSRETURN(argvi);
   26802           0 :   fail:
   26803             :     
   26804           0 :     SWIG_croak_null();
   26805             :   }
   26806             : }
   26807             : 
   26808             : 
   26809           1 : XS(_wrap_delete_layerObj) {
   26810             :   {
   26811             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   26812           1 :     void *argp1 = 0 ;
   26813             :     int res1 = 0 ;
   26814             :     int argvi = 0;
   26815           1 :     dXSARGS;
   26816             :     
   26817           1 :     if ((items < 1) || (items > 1)) {
   26818           0 :       SWIG_croak("Usage: delete_layerObj(self);");
   26819             :     }
   26820           1 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, SWIG_POINTER_DISOWN |  0 );
   26821           1 :     if (!SWIG_IsOK(res1)) {
   26822           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_layerObj" "', argument " "1"" of type '" "struct layerObj *""'"); 
   26823             :     }
   26824           1 :     arg1 = (struct layerObj *)(argp1);
   26825           1 :     delete_layerObj(arg1);
   26826           1 :     ST(argvi) = sv_newmortal();
   26827             :     
   26828           1 :     XSRETURN(argvi);
   26829           0 :   fail:
   26830             :     
   26831           0 :     SWIG_croak_null();
   26832             :   }
   26833             : }
   26834             : 
   26835             : 
   26836           0 : XS(_wrap_layerObj_clone) {
   26837             :   {
   26838             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   26839           0 :     void *argp1 = 0 ;
   26840             :     int res1 = 0 ;
   26841             :     int argvi = 0;
   26842             :     layerObj *result = 0 ;
   26843           0 :     dXSARGS;
   26844             :     
   26845           0 :     if ((items < 1) || (items > 1)) {
   26846           0 :       SWIG_croak("Usage: layerObj_clone(self);");
   26847             :     }
   26848           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   26849           0 :     if (!SWIG_IsOK(res1)) {
   26850           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_clone" "', argument " "1"" of type '" "struct layerObj *""'"); 
   26851             :     }
   26852           0 :     arg1 = (struct layerObj *)(argp1);
   26853           0 :     result = (layerObj *)layerObj_clone(arg1);
   26854           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_layerObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   26855             :     
   26856           0 :     XSRETURN(argvi);
   26857           0 :   fail:
   26858             :     
   26859           0 :     SWIG_croak_null();
   26860             :   }
   26861             : }
   26862             : 
   26863             : 
   26864           0 : XS(_wrap_layerObj_updateFromString) {
   26865             :   {
   26866             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   26867             :     char *arg2 = (char *) 0 ;
   26868           0 :     void *argp1 = 0 ;
   26869             :     int res1 = 0 ;
   26870             :     int res2 ;
   26871           0 :     char *buf2 = 0 ;
   26872           0 :     int alloc2 = 0 ;
   26873             :     int argvi = 0;
   26874             :     int result;
   26875           0 :     dXSARGS;
   26876             :     
   26877           0 :     if ((items < 2) || (items > 2)) {
   26878           0 :       SWIG_croak("Usage: layerObj_updateFromString(self,snippet);");
   26879             :     }
   26880           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   26881           0 :     if (!SWIG_IsOK(res1)) {
   26882           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_updateFromString" "', argument " "1"" of type '" "struct layerObj *""'"); 
   26883             :     }
   26884           0 :     arg1 = (struct layerObj *)(argp1);
   26885           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   26886           0 :     if (!SWIG_IsOK(res2)) {
   26887           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_updateFromString" "', argument " "2"" of type '" "char *""'");
   26888             :     }
   26889           0 :     arg2 = (char *)(buf2);
   26890             :     result = (int)layerObj_updateFromString(arg1,arg2);
   26891           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   26892             :     
   26893           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   26894           0 :     XSRETURN(argvi);
   26895           0 :   fail:
   26896             :     
   26897           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   26898           0 :     SWIG_croak_null();
   26899             :   }
   26900             : }
   26901             : 
   26902             : 
   26903           0 : XS(_wrap_layerObj_convertToString) {
   26904             :   {
   26905             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   26906           0 :     void *argp1 = 0 ;
   26907             :     int res1 = 0 ;
   26908             :     int argvi = 0;
   26909             :     char *result = 0 ;
   26910           0 :     dXSARGS;
   26911             :     
   26912           0 :     if ((items < 1) || (items > 1)) {
   26913           0 :       SWIG_croak("Usage: layerObj_convertToString(self);");
   26914             :     }
   26915           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   26916           0 :     if (!SWIG_IsOK(res1)) {
   26917           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_convertToString" "', argument " "1"" of type '" "struct layerObj *""'"); 
   26918             :     }
   26919           0 :     arg1 = (struct layerObj *)(argp1);
   26920             :     result = (char *)layerObj_convertToString(arg1);
   26921           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   26922             :     
   26923           0 :     free((char*)result);
   26924           0 :     XSRETURN(argvi);
   26925           0 :   fail:
   26926             :     
   26927           0 :     SWIG_croak_null();
   26928             :   }
   26929             : }
   26930             : 
   26931             : 
   26932           1 : XS(_wrap_layerObj_insertClass) {
   26933             :   {
   26934             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   26935             :     classObj *arg2 = (classObj *) 0 ;
   26936             :     int arg3 = (int) -1 ;
   26937           1 :     void *argp1 = 0 ;
   26938             :     int res1 = 0 ;
   26939           1 :     void *argp2 = 0 ;
   26940             :     int res2 = 0 ;
   26941             :     int val3 ;
   26942             :     int ecode3 = 0 ;
   26943             :     int argvi = 0;
   26944             :     int result;
   26945           1 :     dXSARGS;
   26946             :     
   26947           1 :     if ((items < 2) || (items > 3)) {
   26948           0 :       SWIG_croak("Usage: layerObj_insertClass(self,classobj,index);");
   26949             :     }
   26950           1 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   26951           1 :     if (!SWIG_IsOK(res1)) {
   26952           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_insertClass" "', argument " "1"" of type '" "struct layerObj *""'"); 
   26953             :     }
   26954           1 :     arg1 = (struct layerObj *)(argp1);
   26955           1 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_classObj, 0 |  0 );
   26956           1 :     if (!SWIG_IsOK(res2)) {
   26957           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_insertClass" "', argument " "2"" of type '" "classObj *""'"); 
   26958             :     }
   26959           1 :     arg2 = (classObj *)(argp2);
   26960           1 :     if (items > 2) {
   26961           0 :       ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
   26962           0 :       if (!SWIG_IsOK(ecode3)) {
   26963           0 :         SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "layerObj_insertClass" "', argument " "3"" of type '" "int""'");
   26964             :       } 
   26965             :       arg3 = (int)(val3);
   26966             :     }
   26967             :     result = (int)layerObj_insertClass(arg1,arg2,arg3);
   26968           1 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   26969             :     
   26970             :     
   26971             :     
   26972           1 :     XSRETURN(argvi);
   26973           0 :   fail:
   26974             :     
   26975             :     
   26976             :     
   26977           0 :     SWIG_croak_null();
   26978             :   }
   26979             : }
   26980             : 
   26981             : 
   26982           0 : XS(_wrap_layerObj_removeClass) {
   26983             :   {
   26984             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   26985             :     int arg2 ;
   26986           0 :     void *argp1 = 0 ;
   26987             :     int res1 = 0 ;
   26988             :     int val2 ;
   26989             :     int ecode2 = 0 ;
   26990             :     int argvi = 0;
   26991             :     classObj *result = 0 ;
   26992           0 :     dXSARGS;
   26993             :     
   26994           0 :     if ((items < 2) || (items > 2)) {
   26995           0 :       SWIG_croak("Usage: layerObj_removeClass(self,index);");
   26996             :     }
   26997           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   26998           0 :     if (!SWIG_IsOK(res1)) {
   26999           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_removeClass" "', argument " "1"" of type '" "struct layerObj *""'"); 
   27000             :     }
   27001           0 :     arg1 = (struct layerObj *)(argp1);
   27002           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   27003           0 :     if (!SWIG_IsOK(ecode2)) {
   27004           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_removeClass" "', argument " "2"" of type '" "int""'");
   27005             :     } 
   27006             :     arg2 = (int)(val2);
   27007           0 :     result = (classObj *)layerObj_removeClass(arg1,arg2);
   27008           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_classObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   27009             :     
   27010             :     
   27011           0 :     XSRETURN(argvi);
   27012           0 :   fail:
   27013             :     
   27014             :     
   27015           0 :     SWIG_croak_null();
   27016             :   }
   27017             : }
   27018             : 
   27019             : 
   27020           0 : XS(_wrap_layerObj_open) {
   27021             :   {
   27022             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   27023           0 :     void *argp1 = 0 ;
   27024             :     int res1 = 0 ;
   27025             :     int argvi = 0;
   27026             :     int result;
   27027           0 :     dXSARGS;
   27028             :     
   27029           0 :     if ((items < 1) || (items > 1)) {
   27030           0 :       SWIG_croak("Usage: layerObj_open(self);");
   27031             :     }
   27032           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   27033           0 :     if (!SWIG_IsOK(res1)) {
   27034           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_open" "', argument " "1"" of type '" "struct layerObj *""'"); 
   27035             :     }
   27036           0 :     arg1 = (struct layerObj *)(argp1);
   27037           0 :     result = (int)layerObj_open(arg1);
   27038           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   27039             :     
   27040           0 :     XSRETURN(argvi);
   27041           0 :   fail:
   27042             :     
   27043           0 :     SWIG_croak_null();
   27044             :   }
   27045             : }
   27046             : 
   27047             : 
   27048           0 : XS(_wrap_layerObj_whichShapes) {
   27049             :   {
   27050             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   27051             :     rectObj arg2 ;
   27052           0 :     void *argp1 = 0 ;
   27053             :     int res1 = 0 ;
   27054             :     void *argp2 ;
   27055             :     int res2 = 0 ;
   27056             :     int argvi = 0;
   27057             :     int result;
   27058           0 :     dXSARGS;
   27059             :     
   27060           0 :     if ((items < 2) || (items > 2)) {
   27061           0 :       SWIG_croak("Usage: layerObj_whichShapes(self,rect);");
   27062             :     }
   27063           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   27064           0 :     if (!SWIG_IsOK(res1)) {
   27065           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_whichShapes" "', argument " "1"" of type '" "struct layerObj *""'"); 
   27066             :     }
   27067           0 :     arg1 = (struct layerObj *)(argp1);
   27068             :     {
   27069           0 :       res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_rectObj,  0 );
   27070           0 :       if (!SWIG_IsOK(res2)) {
   27071           0 :         SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_whichShapes" "', argument " "2"" of type '" "rectObj""'"); 
   27072             :       }  
   27073           0 :       if (!argp2) {
   27074           0 :         SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "layerObj_whichShapes" "', argument " "2"" of type '" "rectObj""'");
   27075             :       } else {
   27076           0 :         arg2 = *((rectObj *)(argp2));
   27077             :       }
   27078             :     }
   27079           0 :     result = (int)layerObj_whichShapes(arg1,arg2);
   27080           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   27081             :     
   27082           0 :     XSRETURN(argvi);
   27083           0 :   fail:
   27084             :     
   27085           0 :     SWIG_croak_null();
   27086             :   }
   27087             : }
   27088             : 
   27089             : 
   27090           0 : XS(_wrap_layerObj_nextShape) {
   27091             :   {
   27092             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   27093           0 :     void *argp1 = 0 ;
   27094             :     int res1 = 0 ;
   27095             :     int argvi = 0;
   27096             :     shapeObj *result = 0 ;
   27097           0 :     dXSARGS;
   27098             :     
   27099           0 :     if ((items < 1) || (items > 1)) {
   27100           0 :       SWIG_croak("Usage: layerObj_nextShape(self);");
   27101             :     }
   27102           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   27103           0 :     if (!SWIG_IsOK(res1)) {
   27104           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_nextShape" "', argument " "1"" of type '" "struct layerObj *""'"); 
   27105             :     }
   27106           0 :     arg1 = (struct layerObj *)(argp1);
   27107           0 :     result = (shapeObj *)layerObj_nextShape(arg1);
   27108           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_shapeObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   27109             :     
   27110           0 :     XSRETURN(argvi);
   27111           0 :   fail:
   27112             :     
   27113           0 :     SWIG_croak_null();
   27114             :   }
   27115             : }
   27116             : 
   27117             : 
   27118           0 : XS(_wrap_layerObj_close) {
   27119             :   {
   27120             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   27121           0 :     void *argp1 = 0 ;
   27122             :     int res1 = 0 ;
   27123             :     int argvi = 0;
   27124           0 :     dXSARGS;
   27125             :     
   27126           0 :     if ((items < 1) || (items > 1)) {
   27127           0 :       SWIG_croak("Usage: layerObj_close(self);");
   27128             :     }
   27129           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   27130           0 :     if (!SWIG_IsOK(res1)) {
   27131           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_close" "', argument " "1"" of type '" "struct layerObj *""'"); 
   27132             :     }
   27133           0 :     arg1 = (struct layerObj *)(argp1);
   27134             :     layerObj_close(arg1);
   27135           0 :     ST(argvi) = sv_newmortal();
   27136             :     
   27137           0 :     XSRETURN(argvi);
   27138           0 :   fail:
   27139             :     
   27140           0 :     SWIG_croak_null();
   27141             :   }
   27142             : }
   27143             : 
   27144             : 
   27145           0 : XS(_wrap_layerObj_getShape) {
   27146             :   {
   27147             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   27148             :     resultObj *arg2 = (resultObj *) 0 ;
   27149           0 :     void *argp1 = 0 ;
   27150             :     int res1 = 0 ;
   27151           0 :     void *argp2 = 0 ;
   27152             :     int res2 = 0 ;
   27153             :     int argvi = 0;
   27154             :     shapeObj *result = 0 ;
   27155           0 :     dXSARGS;
   27156             :     
   27157           0 :     if ((items < 2) || (items > 2)) {
   27158           0 :       SWIG_croak("Usage: layerObj_getShape(self,record);");
   27159             :     }
   27160           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   27161           0 :     if (!SWIG_IsOK(res1)) {
   27162           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_getShape" "', argument " "1"" of type '" "struct layerObj *""'"); 
   27163             :     }
   27164           0 :     arg1 = (struct layerObj *)(argp1);
   27165           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_resultObj, 0 |  0 );
   27166           0 :     if (!SWIG_IsOK(res2)) {
   27167           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_getShape" "', argument " "2"" of type '" "resultObj *""'"); 
   27168             :     }
   27169           0 :     arg2 = (resultObj *)(argp2);
   27170           0 :     result = (shapeObj *)layerObj_getShape(arg1,arg2);
   27171           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_shapeObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   27172             :     
   27173             :     
   27174           0 :     XSRETURN(argvi);
   27175           0 :   fail:
   27176             :     
   27177             :     
   27178           0 :     SWIG_croak_null();
   27179             :   }
   27180             : }
   27181             : 
   27182             : 
   27183           0 : XS(_wrap_layerObj_getNumResults) {
   27184             :   {
   27185             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   27186           0 :     void *argp1 = 0 ;
   27187             :     int res1 = 0 ;
   27188             :     int argvi = 0;
   27189             :     int result;
   27190           0 :     dXSARGS;
   27191             :     
   27192           0 :     if ((items < 1) || (items > 1)) {
   27193           0 :       SWIG_croak("Usage: layerObj_getNumResults(self);");
   27194             :     }
   27195           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   27196           0 :     if (!SWIG_IsOK(res1)) {
   27197           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_getNumResults" "', argument " "1"" of type '" "struct layerObj *""'"); 
   27198             :     }
   27199           0 :     arg1 = (struct layerObj *)(argp1);
   27200           0 :     result = (int)layerObj_getNumResults(arg1);
   27201           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   27202             :     
   27203           0 :     XSRETURN(argvi);
   27204           0 :   fail:
   27205             :     
   27206           0 :     SWIG_croak_null();
   27207             :   }
   27208             : }
   27209             : 
   27210             : 
   27211           0 : XS(_wrap_layerObj_getResultsBounds) {
   27212             :   {
   27213             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   27214           0 :     void *argp1 = 0 ;
   27215             :     int res1 = 0 ;
   27216             :     int argvi = 0;
   27217             :     rectObj *result = 0 ;
   27218           0 :     dXSARGS;
   27219             :     
   27220           0 :     if ((items < 1) || (items > 1)) {
   27221           0 :       SWIG_croak("Usage: layerObj_getResultsBounds(self);");
   27222             :     }
   27223           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   27224           0 :     if (!SWIG_IsOK(res1)) {
   27225           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_getResultsBounds" "', argument " "1"" of type '" "struct layerObj *""'"); 
   27226             :     }
   27227           0 :     arg1 = (struct layerObj *)(argp1);
   27228           0 :     result = (rectObj *)layerObj_getResultsBounds(arg1);
   27229           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_rectObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   27230             :     
   27231           0 :     XSRETURN(argvi);
   27232           0 :   fail:
   27233             :     
   27234           0 :     SWIG_croak_null();
   27235             :   }
   27236             : }
   27237             : 
   27238             : 
   27239           0 : XS(_wrap_layerObj_getResult) {
   27240             :   {
   27241             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   27242             :     int arg2 ;
   27243           0 :     void *argp1 = 0 ;
   27244             :     int res1 = 0 ;
   27245             :     int val2 ;
   27246             :     int ecode2 = 0 ;
   27247             :     int argvi = 0;
   27248             :     resultObj *result = 0 ;
   27249           0 :     dXSARGS;
   27250             :     
   27251           0 :     if ((items < 2) || (items > 2)) {
   27252           0 :       SWIG_croak("Usage: layerObj_getResult(self,i);");
   27253             :     }
   27254           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   27255           0 :     if (!SWIG_IsOK(res1)) {
   27256           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_getResult" "', argument " "1"" of type '" "struct layerObj *""'"); 
   27257             :     }
   27258           0 :     arg1 = (struct layerObj *)(argp1);
   27259           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   27260           0 :     if (!SWIG_IsOK(ecode2)) {
   27261           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_getResult" "', argument " "2"" of type '" "int""'");
   27262             :     } 
   27263             :     arg2 = (int)(val2);
   27264           0 :     result = (resultObj *)layerObj_getResult(arg1,arg2);
   27265           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_resultObj, 0 | SWIG_SHADOW); argvi++ ;
   27266             :     
   27267             :     
   27268           0 :     XSRETURN(argvi);
   27269           0 :   fail:
   27270             :     
   27271             :     
   27272           0 :     SWIG_croak_null();
   27273             :   }
   27274             : }
   27275             : 
   27276             : 
   27277           1 : XS(_wrap_layerObj_getClass) {
   27278             :   {
   27279             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   27280             :     int arg2 ;
   27281           1 :     void *argp1 = 0 ;
   27282             :     int res1 = 0 ;
   27283             :     int val2 ;
   27284             :     int ecode2 = 0 ;
   27285             :     int argvi = 0;
   27286             :     classObj *result = 0 ;
   27287           1 :     dXSARGS;
   27288             :     
   27289           1 :     if ((items < 2) || (items > 2)) {
   27290           0 :       SWIG_croak("Usage: layerObj_getClass(self,i);");
   27291             :     }
   27292           1 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   27293           1 :     if (!SWIG_IsOK(res1)) {
   27294           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_getClass" "', argument " "1"" of type '" "struct layerObj *""'"); 
   27295             :     }
   27296           1 :     arg1 = (struct layerObj *)(argp1);
   27297           1 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   27298           1 :     if (!SWIG_IsOK(ecode2)) {
   27299           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_getClass" "', argument " "2"" of type '" "int""'");
   27300             :     } 
   27301             :     arg2 = (int)(val2);
   27302             :     result = (classObj *)layerObj_getClass(arg1,arg2);
   27303           1 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_classObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   27304             :     
   27305             :     
   27306           1 :     XSRETURN(argvi);
   27307           0 :   fail:
   27308             :     
   27309             :     
   27310           0 :     SWIG_croak_null();
   27311             :   }
   27312             : }
   27313             : 
   27314             : 
   27315           0 : XS(_wrap_layerObj_getItem) {
   27316             :   {
   27317             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   27318             :     int arg2 ;
   27319           0 :     void *argp1 = 0 ;
   27320             :     int res1 = 0 ;
   27321             :     int val2 ;
   27322             :     int ecode2 = 0 ;
   27323             :     int argvi = 0;
   27324             :     char *result = 0 ;
   27325           0 :     dXSARGS;
   27326             :     
   27327           0 :     if ((items < 2) || (items > 2)) {
   27328           0 :       SWIG_croak("Usage: layerObj_getItem(self,i);");
   27329             :     }
   27330           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   27331           0 :     if (!SWIG_IsOK(res1)) {
   27332           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_getItem" "', argument " "1"" of type '" "struct layerObj *""'"); 
   27333             :     }
   27334           0 :     arg1 = (struct layerObj *)(argp1);
   27335           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   27336           0 :     if (!SWIG_IsOK(ecode2)) {
   27337           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_getItem" "', argument " "2"" of type '" "int""'");
   27338             :     } 
   27339             :     arg2 = (int)(val2);
   27340             :     result = (char *)layerObj_getItem(arg1,arg2);
   27341           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   27342             :     
   27343             :     
   27344           0 :     XSRETURN(argvi);
   27345           0 :   fail:
   27346             :     
   27347             :     
   27348           0 :     SWIG_croak_null();
   27349             :   }
   27350             : }
   27351             : 
   27352             : 
   27353           0 : XS(_wrap_layerObj_setItems) {
   27354             :   {
   27355             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   27356             :     char **arg2 = (char **) 0 ;
   27357             :     int arg3 ;
   27358           0 :     void *argp1 = 0 ;
   27359             :     int res1 = 0 ;
   27360           0 :     void *argp2 = 0 ;
   27361             :     int res2 = 0 ;
   27362             :     int val3 ;
   27363             :     int ecode3 = 0 ;
   27364             :     int argvi = 0;
   27365             :     int result;
   27366           0 :     dXSARGS;
   27367             :     
   27368           0 :     if ((items < 3) || (items > 3)) {
   27369           0 :       SWIG_croak("Usage: layerObj_setItems(self,items,numitems);");
   27370             :     }
   27371           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   27372           0 :     if (!SWIG_IsOK(res1)) {
   27373           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_setItems" "', argument " "1"" of type '" "struct layerObj *""'"); 
   27374             :     }
   27375           0 :     arg1 = (struct layerObj *)(argp1);
   27376           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_p_char, 0 |  0 );
   27377           0 :     if (!SWIG_IsOK(res2)) {
   27378           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_setItems" "', argument " "2"" of type '" "char **""'"); 
   27379             :     }
   27380           0 :     arg2 = (char **)(argp2);
   27381           0 :     ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
   27382           0 :     if (!SWIG_IsOK(ecode3)) {
   27383           0 :       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "layerObj_setItems" "', argument " "3"" of type '" "int""'");
   27384             :     } 
   27385             :     arg3 = (int)(val3);
   27386             :     result = (int)layerObj_setItems(arg1,arg2,arg3);
   27387           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   27388             :     
   27389             :     
   27390             :     
   27391           0 :     XSRETURN(argvi);
   27392           0 :   fail:
   27393             :     
   27394             :     
   27395             :     
   27396           0 :     SWIG_croak_null();
   27397             :   }
   27398             : }
   27399             : 
   27400             : 
   27401           0 : XS(_wrap_layerObj_draw) {
   27402             :   {
   27403             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   27404             :     mapObj *arg2 = (mapObj *) 0 ;
   27405             :     imageObj *arg3 = (imageObj *) 0 ;
   27406           0 :     void *argp1 = 0 ;
   27407             :     int res1 = 0 ;
   27408           0 :     void *argp2 = 0 ;
   27409             :     int res2 = 0 ;
   27410           0 :     void *argp3 = 0 ;
   27411             :     int res3 = 0 ;
   27412             :     int argvi = 0;
   27413             :     int result;
   27414           0 :     dXSARGS;
   27415             :     
   27416           0 :     if ((items < 3) || (items > 3)) {
   27417           0 :       SWIG_croak("Usage: layerObj_draw(self,map,image);");
   27418             :     }
   27419           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   27420           0 :     if (!SWIG_IsOK(res1)) {
   27421           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_draw" "', argument " "1"" of type '" "struct layerObj *""'"); 
   27422             :     }
   27423           0 :     arg1 = (struct layerObj *)(argp1);
   27424           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_mapObj, 0 |  0 );
   27425           0 :     if (!SWIG_IsOK(res2)) {
   27426           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_draw" "', argument " "2"" of type '" "mapObj *""'"); 
   27427             :     }
   27428           0 :     arg2 = (mapObj *)(argp2);
   27429           0 :     res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_imageObj, 0 |  0 );
   27430           0 :     if (!SWIG_IsOK(res3)) {
   27431           0 :       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "layerObj_draw" "', argument " "3"" of type '" "imageObj *""'"); 
   27432             :     }
   27433           0 :     arg3 = (imageObj *)(argp3);
   27434             :     result = (int)layerObj_draw(arg1,arg2,arg3);
   27435           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   27436             :     
   27437             :     
   27438             :     
   27439           0 :     XSRETURN(argvi);
   27440           0 :   fail:
   27441             :     
   27442             :     
   27443             :     
   27444           0 :     SWIG_croak_null();
   27445             :   }
   27446             : }
   27447             : 
   27448             : 
   27449           0 : XS(_wrap_layerObj_drawQuery) {
   27450             :   {
   27451             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   27452             :     mapObj *arg2 = (mapObj *) 0 ;
   27453             :     imageObj *arg3 = (imageObj *) 0 ;
   27454           0 :     void *argp1 = 0 ;
   27455             :     int res1 = 0 ;
   27456           0 :     void *argp2 = 0 ;
   27457             :     int res2 = 0 ;
   27458           0 :     void *argp3 = 0 ;
   27459             :     int res3 = 0 ;
   27460             :     int argvi = 0;
   27461             :     int result;
   27462           0 :     dXSARGS;
   27463             :     
   27464           0 :     if ((items < 3) || (items > 3)) {
   27465           0 :       SWIG_croak("Usage: layerObj_drawQuery(self,map,image);");
   27466             :     }
   27467           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   27468           0 :     if (!SWIG_IsOK(res1)) {
   27469           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_drawQuery" "', argument " "1"" of type '" "struct layerObj *""'"); 
   27470             :     }
   27471           0 :     arg1 = (struct layerObj *)(argp1);
   27472           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_mapObj, 0 |  0 );
   27473           0 :     if (!SWIG_IsOK(res2)) {
   27474           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_drawQuery" "', argument " "2"" of type '" "mapObj *""'"); 
   27475             :     }
   27476           0 :     arg2 = (mapObj *)(argp2);
   27477           0 :     res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_imageObj, 0 |  0 );
   27478           0 :     if (!SWIG_IsOK(res3)) {
   27479           0 :       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "layerObj_drawQuery" "', argument " "3"" of type '" "imageObj *""'"); 
   27480             :     }
   27481           0 :     arg3 = (imageObj *)(argp3);
   27482             :     result = (int)layerObj_drawQuery(arg1,arg2,arg3);
   27483           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   27484             :     
   27485             :     
   27486             :     
   27487           0 :     XSRETURN(argvi);
   27488           0 :   fail:
   27489             :     
   27490             :     
   27491             :     
   27492           0 :     SWIG_croak_null();
   27493             :   }
   27494             : }
   27495             : 
   27496             : 
   27497           0 : XS(_wrap_layerObj_queryByFilter) {
   27498             :   {
   27499             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   27500             :     mapObj *arg2 = (mapObj *) 0 ;
   27501             :     char *arg3 = (char *) 0 ;
   27502           0 :     void *argp1 = 0 ;
   27503             :     int res1 = 0 ;
   27504           0 :     void *argp2 = 0 ;
   27505             :     int res2 = 0 ;
   27506             :     int res3 ;
   27507           0 :     char *buf3 = 0 ;
   27508           0 :     int alloc3 = 0 ;
   27509             :     int argvi = 0;
   27510             :     int result;
   27511           0 :     dXSARGS;
   27512             :     
   27513           0 :     if ((items < 3) || (items > 3)) {
   27514           0 :       SWIG_croak("Usage: layerObj_queryByFilter(self,map,string);");
   27515             :     }
   27516           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   27517           0 :     if (!SWIG_IsOK(res1)) {
   27518           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_queryByFilter" "', argument " "1"" of type '" "struct layerObj *""'"); 
   27519             :     }
   27520           0 :     arg1 = (struct layerObj *)(argp1);
   27521           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_mapObj, 0 |  0 );
   27522           0 :     if (!SWIG_IsOK(res2)) {
   27523           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_queryByFilter" "', argument " "2"" of type '" "mapObj *""'"); 
   27524             :     }
   27525           0 :     arg2 = (mapObj *)(argp2);
   27526           0 :     res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
   27527           0 :     if (!SWIG_IsOK(res3)) {
   27528           0 :       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "layerObj_queryByFilter" "', argument " "3"" of type '" "char *""'");
   27529             :     }
   27530           0 :     arg3 = (char *)(buf3);
   27531           0 :     result = (int)layerObj_queryByFilter(arg1,arg2,arg3);
   27532           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   27533             :     
   27534             :     
   27535           0 :     if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
   27536           0 :     XSRETURN(argvi);
   27537           0 :   fail:
   27538             :     
   27539             :     
   27540           0 :     if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
   27541           0 :     SWIG_croak_null();
   27542             :   }
   27543             : }
   27544             : 
   27545             : 
   27546           0 : XS(_wrap_layerObj_queryByAttributes) {
   27547             :   {
   27548             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   27549             :     mapObj *arg2 = (mapObj *) 0 ;
   27550             :     char *arg3 = (char *) 0 ;
   27551             :     char *arg4 = (char *) 0 ;
   27552             :     int arg5 ;
   27553           0 :     void *argp1 = 0 ;
   27554             :     int res1 = 0 ;
   27555           0 :     void *argp2 = 0 ;
   27556             :     int res2 = 0 ;
   27557             :     int res3 ;
   27558           0 :     char *buf3 = 0 ;
   27559           0 :     int alloc3 = 0 ;
   27560             :     int res4 ;
   27561           0 :     char *buf4 = 0 ;
   27562           0 :     int alloc4 = 0 ;
   27563             :     int val5 ;
   27564             :     int ecode5 = 0 ;
   27565             :     int argvi = 0;
   27566             :     int result;
   27567           0 :     dXSARGS;
   27568             :     
   27569           0 :     if ((items < 5) || (items > 5)) {
   27570           0 :       SWIG_croak("Usage: layerObj_queryByAttributes(self,map,qitem,qstring,mode);");
   27571             :     }
   27572           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   27573           0 :     if (!SWIG_IsOK(res1)) {
   27574           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_queryByAttributes" "', argument " "1"" of type '" "struct layerObj *""'"); 
   27575             :     }
   27576           0 :     arg1 = (struct layerObj *)(argp1);
   27577           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_mapObj, 0 |  0 );
   27578           0 :     if (!SWIG_IsOK(res2)) {
   27579           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_queryByAttributes" "', argument " "2"" of type '" "mapObj *""'"); 
   27580             :     }
   27581           0 :     arg2 = (mapObj *)(argp2);
   27582           0 :     res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
   27583           0 :     if (!SWIG_IsOK(res3)) {
   27584           0 :       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "layerObj_queryByAttributes" "', argument " "3"" of type '" "char *""'");
   27585             :     }
   27586           0 :     arg3 = (char *)(buf3);
   27587           0 :     res4 = SWIG_AsCharPtrAndSize(ST(3), &buf4, NULL, &alloc4);
   27588           0 :     if (!SWIG_IsOK(res4)) {
   27589           0 :       SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "layerObj_queryByAttributes" "', argument " "4"" of type '" "char *""'");
   27590             :     }
   27591           0 :     arg4 = (char *)(buf4);
   27592           0 :     ecode5 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
   27593           0 :     if (!SWIG_IsOK(ecode5)) {
   27594           0 :       SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "layerObj_queryByAttributes" "', argument " "5"" of type '" "int""'");
   27595             :     } 
   27596             :     arg5 = (int)(val5);
   27597           0 :     result = (int)layerObj_queryByAttributes(arg1,arg2,arg3,arg4,arg5);
   27598           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   27599             :     
   27600             :     
   27601           0 :     if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
   27602           0 :     if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
   27603             :     
   27604           0 :     XSRETURN(argvi);
   27605           0 :   fail:
   27606             :     
   27607             :     
   27608           0 :     if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
   27609           0 :     if (alloc4 == SWIG_NEWOBJ) free((char*)buf4);
   27610             :     
   27611           0 :     SWIG_croak_null();
   27612             :   }
   27613             : }
   27614             : 
   27615             : 
   27616           0 : XS(_wrap_layerObj_queryByPoint) {
   27617             :   {
   27618             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   27619             :     mapObj *arg2 = (mapObj *) 0 ;
   27620             :     pointObj *arg3 = (pointObj *) 0 ;
   27621             :     int arg4 ;
   27622             :     double arg5 ;
   27623           0 :     void *argp1 = 0 ;
   27624             :     int res1 = 0 ;
   27625           0 :     void *argp2 = 0 ;
   27626             :     int res2 = 0 ;
   27627           0 :     void *argp3 = 0 ;
   27628             :     int res3 = 0 ;
   27629             :     int val4 ;
   27630             :     int ecode4 = 0 ;
   27631             :     double val5 ;
   27632             :     int ecode5 = 0 ;
   27633             :     int argvi = 0;
   27634             :     int result;
   27635           0 :     dXSARGS;
   27636             :     
   27637           0 :     if ((items < 5) || (items > 5)) {
   27638           0 :       SWIG_croak("Usage: layerObj_queryByPoint(self,map,point,mode,buffer);");
   27639             :     }
   27640           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   27641           0 :     if (!SWIG_IsOK(res1)) {
   27642           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_queryByPoint" "', argument " "1"" of type '" "struct layerObj *""'"); 
   27643             :     }
   27644           0 :     arg1 = (struct layerObj *)(argp1);
   27645           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_mapObj, 0 |  0 );
   27646           0 :     if (!SWIG_IsOK(res2)) {
   27647           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_queryByPoint" "', argument " "2"" of type '" "mapObj *""'"); 
   27648             :     }
   27649           0 :     arg2 = (mapObj *)(argp2);
   27650           0 :     res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_pointObj, 0 |  0 );
   27651           0 :     if (!SWIG_IsOK(res3)) {
   27652           0 :       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "layerObj_queryByPoint" "', argument " "3"" of type '" "pointObj *""'"); 
   27653             :     }
   27654           0 :     arg3 = (pointObj *)(argp3);
   27655           0 :     ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
   27656           0 :     if (!SWIG_IsOK(ecode4)) {
   27657           0 :       SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "layerObj_queryByPoint" "', argument " "4"" of type '" "int""'");
   27658             :     } 
   27659             :     arg4 = (int)(val4);
   27660           0 :     ecode5 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
   27661           0 :     if (!SWIG_IsOK(ecode5)) {
   27662           0 :       SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "layerObj_queryByPoint" "', argument " "5"" of type '" "double""'");
   27663             :     } 
   27664           0 :     arg5 = (double)(val5);
   27665             :     result = (int)layerObj_queryByPoint(arg1,arg2,arg3,arg4,arg5);
   27666           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   27667             :     
   27668             :     
   27669             :     
   27670             :     
   27671             :     
   27672           0 :     XSRETURN(argvi);
   27673           0 :   fail:
   27674             :     
   27675             :     
   27676             :     
   27677             :     
   27678             :     
   27679           0 :     SWIG_croak_null();
   27680             :   }
   27681             : }
   27682             : 
   27683             : 
   27684           0 : XS(_wrap_layerObj_queryByRect) {
   27685             :   {
   27686             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   27687             :     mapObj *arg2 = (mapObj *) 0 ;
   27688             :     rectObj arg3 ;
   27689           0 :     void *argp1 = 0 ;
   27690             :     int res1 = 0 ;
   27691           0 :     void *argp2 = 0 ;
   27692             :     int res2 = 0 ;
   27693             :     void *argp3 ;
   27694             :     int res3 = 0 ;
   27695             :     int argvi = 0;
   27696             :     int result;
   27697           0 :     dXSARGS;
   27698             :     
   27699           0 :     if ((items < 3) || (items > 3)) {
   27700           0 :       SWIG_croak("Usage: layerObj_queryByRect(self,map,rect);");
   27701             :     }
   27702           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   27703           0 :     if (!SWIG_IsOK(res1)) {
   27704           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_queryByRect" "', argument " "1"" of type '" "struct layerObj *""'"); 
   27705             :     }
   27706           0 :     arg1 = (struct layerObj *)(argp1);
   27707           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_mapObj, 0 |  0 );
   27708           0 :     if (!SWIG_IsOK(res2)) {
   27709           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_queryByRect" "', argument " "2"" of type '" "mapObj *""'"); 
   27710             :     }
   27711           0 :     arg2 = (mapObj *)(argp2);
   27712             :     {
   27713           0 :       res3 = SWIG_ConvertPtr(ST(2), &argp3, SWIGTYPE_p_rectObj,  0 );
   27714           0 :       if (!SWIG_IsOK(res3)) {
   27715           0 :         SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "layerObj_queryByRect" "', argument " "3"" of type '" "rectObj""'"); 
   27716             :       }  
   27717           0 :       if (!argp3) {
   27718           0 :         SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "layerObj_queryByRect" "', argument " "3"" of type '" "rectObj""'");
   27719             :       } else {
   27720           0 :         arg3 = *((rectObj *)(argp3));
   27721             :       }
   27722             :     }
   27723             :     result = (int)layerObj_queryByRect(arg1,arg2,arg3);
   27724           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   27725             :     
   27726             :     
   27727           0 :     XSRETURN(argvi);
   27728           0 :   fail:
   27729             :     
   27730             :     
   27731           0 :     SWIG_croak_null();
   27732             :   }
   27733             : }
   27734             : 
   27735             : 
   27736           0 : XS(_wrap_layerObj_queryByFeatures) {
   27737             :   {
   27738             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   27739             :     mapObj *arg2 = (mapObj *) 0 ;
   27740             :     int arg3 ;
   27741           0 :     void *argp1 = 0 ;
   27742             :     int res1 = 0 ;
   27743           0 :     void *argp2 = 0 ;
   27744             :     int res2 = 0 ;
   27745             :     int val3 ;
   27746             :     int ecode3 = 0 ;
   27747             :     int argvi = 0;
   27748             :     int result;
   27749           0 :     dXSARGS;
   27750             :     
   27751           0 :     if ((items < 3) || (items > 3)) {
   27752           0 :       SWIG_croak("Usage: layerObj_queryByFeatures(self,map,slayer);");
   27753             :     }
   27754           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   27755           0 :     if (!SWIG_IsOK(res1)) {
   27756           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_queryByFeatures" "', argument " "1"" of type '" "struct layerObj *""'"); 
   27757             :     }
   27758           0 :     arg1 = (struct layerObj *)(argp1);
   27759           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_mapObj, 0 |  0 );
   27760           0 :     if (!SWIG_IsOK(res2)) {
   27761           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_queryByFeatures" "', argument " "2"" of type '" "mapObj *""'"); 
   27762             :     }
   27763           0 :     arg2 = (mapObj *)(argp2);
   27764           0 :     ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
   27765           0 :     if (!SWIG_IsOK(ecode3)) {
   27766           0 :       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "layerObj_queryByFeatures" "', argument " "3"" of type '" "int""'");
   27767             :     } 
   27768             :     arg3 = (int)(val3);
   27769             :     result = (int)layerObj_queryByFeatures(arg1,arg2,arg3);
   27770           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   27771             :     
   27772             :     
   27773             :     
   27774           0 :     XSRETURN(argvi);
   27775           0 :   fail:
   27776             :     
   27777             :     
   27778             :     
   27779           0 :     SWIG_croak_null();
   27780             :   }
   27781             : }
   27782             : 
   27783             : 
   27784           0 : XS(_wrap_layerObj_queryByShape) {
   27785             :   {
   27786             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   27787             :     mapObj *arg2 = (mapObj *) 0 ;
   27788             :     shapeObj *arg3 = (shapeObj *) 0 ;
   27789           0 :     void *argp1 = 0 ;
   27790             :     int res1 = 0 ;
   27791           0 :     void *argp2 = 0 ;
   27792             :     int res2 = 0 ;
   27793           0 :     void *argp3 = 0 ;
   27794             :     int res3 = 0 ;
   27795             :     int argvi = 0;
   27796             :     int result;
   27797           0 :     dXSARGS;
   27798             :     
   27799           0 :     if ((items < 3) || (items > 3)) {
   27800           0 :       SWIG_croak("Usage: layerObj_queryByShape(self,map,shape);");
   27801             :     }
   27802           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   27803           0 :     if (!SWIG_IsOK(res1)) {
   27804           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_queryByShape" "', argument " "1"" of type '" "struct layerObj *""'"); 
   27805             :     }
   27806           0 :     arg1 = (struct layerObj *)(argp1);
   27807           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_mapObj, 0 |  0 );
   27808           0 :     if (!SWIG_IsOK(res2)) {
   27809           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_queryByShape" "', argument " "2"" of type '" "mapObj *""'"); 
   27810             :     }
   27811           0 :     arg2 = (mapObj *)(argp2);
   27812           0 :     res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_shapeObj, 0 |  0 );
   27813           0 :     if (!SWIG_IsOK(res3)) {
   27814           0 :       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "layerObj_queryByShape" "', argument " "3"" of type '" "shapeObj *""'"); 
   27815             :     }
   27816           0 :     arg3 = (shapeObj *)(argp3);
   27817           0 :     result = (int)layerObj_queryByShape(arg1,arg2,arg3);
   27818           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   27819             :     
   27820             :     
   27821             :     
   27822           0 :     XSRETURN(argvi);
   27823           0 :   fail:
   27824             :     
   27825             :     
   27826             :     
   27827           0 :     SWIG_croak_null();
   27828             :   }
   27829             : }
   27830             : 
   27831             : 
   27832           0 : XS(_wrap_layerObj_queryByIndex) {
   27833             :   {
   27834             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   27835             :     mapObj *arg2 = (mapObj *) 0 ;
   27836             :     int arg3 ;
   27837             :     int arg4 ;
   27838             :     int arg5 = (int) 0 ;
   27839           0 :     void *argp1 = 0 ;
   27840             :     int res1 = 0 ;
   27841           0 :     void *argp2 = 0 ;
   27842             :     int res2 = 0 ;
   27843             :     int val3 ;
   27844             :     int ecode3 = 0 ;
   27845             :     int val4 ;
   27846             :     int ecode4 = 0 ;
   27847             :     int val5 ;
   27848             :     int ecode5 = 0 ;
   27849             :     int argvi = 0;
   27850             :     int result;
   27851           0 :     dXSARGS;
   27852             :     
   27853           0 :     if ((items < 4) || (items > 5)) {
   27854           0 :       SWIG_croak("Usage: layerObj_queryByIndex(self,map,tileindex,shapeindex,bAddToQuery);");
   27855             :     }
   27856           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   27857           0 :     if (!SWIG_IsOK(res1)) {
   27858           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_queryByIndex" "', argument " "1"" of type '" "struct layerObj *""'"); 
   27859             :     }
   27860           0 :     arg1 = (struct layerObj *)(argp1);
   27861           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_mapObj, 0 |  0 );
   27862           0 :     if (!SWIG_IsOK(res2)) {
   27863           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_queryByIndex" "', argument " "2"" of type '" "mapObj *""'"); 
   27864             :     }
   27865           0 :     arg2 = (mapObj *)(argp2);
   27866           0 :     ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
   27867           0 :     if (!SWIG_IsOK(ecode3)) {
   27868           0 :       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "layerObj_queryByIndex" "', argument " "3"" of type '" "int""'");
   27869             :     } 
   27870             :     arg3 = (int)(val3);
   27871           0 :     ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
   27872           0 :     if (!SWIG_IsOK(ecode4)) {
   27873           0 :       SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "layerObj_queryByIndex" "', argument " "4"" of type '" "int""'");
   27874             :     } 
   27875             :     arg4 = (int)(val4);
   27876           0 :     if (items > 4) {
   27877           0 :       ecode5 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
   27878           0 :       if (!SWIG_IsOK(ecode5)) {
   27879           0 :         SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "layerObj_queryByIndex" "', argument " "5"" of type '" "int""'");
   27880             :       } 
   27881             :       arg5 = (int)(val5);
   27882             :     }
   27883             :     result = (int)layerObj_queryByIndex(arg1,arg2,arg3,arg4,arg5);
   27884           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   27885             :     
   27886             :     
   27887             :     
   27888             :     
   27889             :     
   27890           0 :     XSRETURN(argvi);
   27891           0 :   fail:
   27892             :     
   27893             :     
   27894             :     
   27895             :     
   27896             :     
   27897           0 :     SWIG_croak_null();
   27898             :   }
   27899             : }
   27900             : 
   27901             : 
   27902           0 : XS(_wrap_layerObj_getResults) {
   27903             :   {
   27904             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   27905           0 :     void *argp1 = 0 ;
   27906             :     int res1 = 0 ;
   27907             :     int argvi = 0;
   27908             :     resultCacheObj *result = 0 ;
   27909           0 :     dXSARGS;
   27910             :     
   27911           0 :     if ((items < 1) || (items > 1)) {
   27912           0 :       SWIG_croak("Usage: layerObj_getResults(self);");
   27913             :     }
   27914           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   27915           0 :     if (!SWIG_IsOK(res1)) {
   27916           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_getResults" "', argument " "1"" of type '" "struct layerObj *""'"); 
   27917             :     }
   27918           0 :     arg1 = (struct layerObj *)(argp1);
   27919           0 :     result = (resultCacheObj *)layerObj_getResults(arg1);
   27920           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_resultCacheObj, 0 | SWIG_SHADOW); argvi++ ;
   27921             :     
   27922           0 :     XSRETURN(argvi);
   27923           0 :   fail:
   27924             :     
   27925           0 :     SWIG_croak_null();
   27926             :   }
   27927             : }
   27928             : 
   27929             : 
   27930           0 : XS(_wrap_layerObj_setFilter) {
   27931             :   {
   27932             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   27933             :     char *arg2 = (char *) 0 ;
   27934           0 :     void *argp1 = 0 ;
   27935             :     int res1 = 0 ;
   27936             :     int res2 ;
   27937           0 :     char *buf2 = 0 ;
   27938           0 :     int alloc2 = 0 ;
   27939             :     int argvi = 0;
   27940             :     int result;
   27941           0 :     dXSARGS;
   27942             :     
   27943           0 :     if ((items < 2) || (items > 2)) {
   27944           0 :       SWIG_croak("Usage: layerObj_setFilter(self,filter);");
   27945             :     }
   27946           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   27947           0 :     if (!SWIG_IsOK(res1)) {
   27948           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_setFilter" "', argument " "1"" of type '" "struct layerObj *""'"); 
   27949             :     }
   27950           0 :     arg1 = (struct layerObj *)(argp1);
   27951           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   27952           0 :     if (!SWIG_IsOK(res2)) {
   27953           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_setFilter" "', argument " "2"" of type '" "char *""'");
   27954             :     }
   27955           0 :     arg2 = (char *)(buf2);
   27956           0 :     result = (int)layerObj_setFilter(arg1,arg2);
   27957           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   27958             :     
   27959           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   27960           0 :     XSRETURN(argvi);
   27961           0 :   fail:
   27962             :     
   27963           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   27964           0 :     SWIG_croak_null();
   27965             :   }
   27966             : }
   27967             : 
   27968             : 
   27969           0 : XS(_wrap_layerObj_getFilterString) {
   27970             :   {
   27971             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   27972           0 :     void *argp1 = 0 ;
   27973             :     int res1 = 0 ;
   27974             :     int argvi = 0;
   27975             :     char *result = 0 ;
   27976           0 :     dXSARGS;
   27977             :     
   27978           0 :     if ((items < 1) || (items > 1)) {
   27979           0 :       SWIG_croak("Usage: layerObj_getFilterString(self);");
   27980             :     }
   27981           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   27982           0 :     if (!SWIG_IsOK(res1)) {
   27983           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_getFilterString" "', argument " "1"" of type '" "struct layerObj *""'"); 
   27984             :     }
   27985           0 :     arg1 = (struct layerObj *)(argp1);
   27986             :     result = (char *)layerObj_getFilterString(arg1);
   27987           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   27988             :     
   27989           0 :     free((char*)result);
   27990           0 :     XSRETURN(argvi);
   27991           0 :   fail:
   27992             :     
   27993           0 :     SWIG_croak_null();
   27994             :   }
   27995             : }
   27996             : 
   27997             : 
   27998           0 : XS(_wrap_layerObj_setWKTProjection) {
   27999             :   {
   28000             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   28001             :     char *arg2 = (char *) 0 ;
   28002           0 :     void *argp1 = 0 ;
   28003             :     int res1 = 0 ;
   28004             :     int res2 ;
   28005           0 :     char *buf2 = 0 ;
   28006           0 :     int alloc2 = 0 ;
   28007             :     int argvi = 0;
   28008             :     int result;
   28009           0 :     dXSARGS;
   28010             :     
   28011           0 :     if ((items < 2) || (items > 2)) {
   28012           0 :       SWIG_croak("Usage: layerObj_setWKTProjection(self,wkt);");
   28013             :     }
   28014           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   28015           0 :     if (!SWIG_IsOK(res1)) {
   28016           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_setWKTProjection" "', argument " "1"" of type '" "struct layerObj *""'"); 
   28017             :     }
   28018           0 :     arg1 = (struct layerObj *)(argp1);
   28019           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   28020           0 :     if (!SWIG_IsOK(res2)) {
   28021           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_setWKTProjection" "', argument " "2"" of type '" "char *""'");
   28022             :     }
   28023           0 :     arg2 = (char *)(buf2);
   28024             :     result = (int)layerObj_setWKTProjection(arg1,arg2);
   28025           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   28026             :     
   28027           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   28028           0 :     XSRETURN(argvi);
   28029           0 :   fail:
   28030             :     
   28031           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   28032           0 :     SWIG_croak_null();
   28033             :   }
   28034             : }
   28035             : 
   28036             : 
   28037           0 : XS(_wrap_layerObj_getProjection) {
   28038             :   {
   28039             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   28040           0 :     void *argp1 = 0 ;
   28041             :     int res1 = 0 ;
   28042             :     int argvi = 0;
   28043             :     char *result = 0 ;
   28044           0 :     dXSARGS;
   28045             :     
   28046           0 :     if ((items < 1) || (items > 1)) {
   28047           0 :       SWIG_croak("Usage: layerObj_getProjection(self);");
   28048             :     }
   28049           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   28050           0 :     if (!SWIG_IsOK(res1)) {
   28051           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_getProjection" "', argument " "1"" of type '" "struct layerObj *""'"); 
   28052             :     }
   28053           0 :     arg1 = (struct layerObj *)(argp1);
   28054             :     result = (char *)layerObj_getProjection(arg1);
   28055           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   28056             :     
   28057           0 :     free((char*)result);
   28058           0 :     XSRETURN(argvi);
   28059           0 :   fail:
   28060             :     
   28061           0 :     SWIG_croak_null();
   28062             :   }
   28063             : }
   28064             : 
   28065             : 
   28066           0 : XS(_wrap_layerObj_setProjection) {
   28067             :   {
   28068             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   28069             :     char *arg2 = (char *) 0 ;
   28070           0 :     void *argp1 = 0 ;
   28071             :     int res1 = 0 ;
   28072             :     int res2 ;
   28073           0 :     char *buf2 = 0 ;
   28074           0 :     int alloc2 = 0 ;
   28075             :     int argvi = 0;
   28076             :     int result;
   28077           0 :     dXSARGS;
   28078             :     
   28079           0 :     if ((items < 2) || (items > 2)) {
   28080           0 :       SWIG_croak("Usage: layerObj_setProjection(self,proj4);");
   28081             :     }
   28082           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   28083           0 :     if (!SWIG_IsOK(res1)) {
   28084           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_setProjection" "', argument " "1"" of type '" "struct layerObj *""'"); 
   28085             :     }
   28086           0 :     arg1 = (struct layerObj *)(argp1);
   28087           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   28088           0 :     if (!SWIG_IsOK(res2)) {
   28089           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_setProjection" "', argument " "2"" of type '" "char *""'");
   28090             :     }
   28091           0 :     arg2 = (char *)(buf2);
   28092             :     result = (int)layerObj_setProjection(arg1,arg2);
   28093           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   28094             :     
   28095           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   28096           0 :     XSRETURN(argvi);
   28097           0 :   fail:
   28098             :     
   28099           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   28100           0 :     SWIG_croak_null();
   28101             :   }
   28102             : }
   28103             : 
   28104             : 
   28105           0 : XS(_wrap_layerObj_addFeature) {
   28106             :   {
   28107             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   28108             :     shapeObj *arg2 = (shapeObj *) 0 ;
   28109           0 :     void *argp1 = 0 ;
   28110             :     int res1 = 0 ;
   28111           0 :     void *argp2 = 0 ;
   28112             :     int res2 = 0 ;
   28113             :     int argvi = 0;
   28114             :     int result;
   28115           0 :     dXSARGS;
   28116             :     
   28117           0 :     if ((items < 2) || (items > 2)) {
   28118           0 :       SWIG_croak("Usage: layerObj_addFeature(self,shape);");
   28119             :     }
   28120           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   28121           0 :     if (!SWIG_IsOK(res1)) {
   28122           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_addFeature" "', argument " "1"" of type '" "struct layerObj *""'"); 
   28123             :     }
   28124           0 :     arg1 = (struct layerObj *)(argp1);
   28125           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_shapeObj, 0 |  0 );
   28126           0 :     if (!SWIG_IsOK(res2)) {
   28127           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_addFeature" "', argument " "2"" of type '" "shapeObj *""'"); 
   28128             :     }
   28129           0 :     arg2 = (shapeObj *)(argp2);
   28130           0 :     result = (int)layerObj_addFeature(arg1,arg2);
   28131           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   28132             :     
   28133             :     
   28134           0 :     XSRETURN(argvi);
   28135           0 :   fail:
   28136             :     
   28137             :     
   28138           0 :     SWIG_croak_null();
   28139             :   }
   28140             : }
   28141             : 
   28142             : 
   28143           0 : XS(_wrap_layerObj_getNumFeatures) {
   28144             :   {
   28145             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   28146           0 :     void *argp1 = 0 ;
   28147             :     int res1 = 0 ;
   28148             :     int argvi = 0;
   28149             :     int result;
   28150           0 :     dXSARGS;
   28151             :     
   28152           0 :     if ((items < 1) || (items > 1)) {
   28153           0 :       SWIG_croak("Usage: layerObj_getNumFeatures(self);");
   28154             :     }
   28155           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   28156           0 :     if (!SWIG_IsOK(res1)) {
   28157           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_getNumFeatures" "', argument " "1"" of type '" "struct layerObj *""'"); 
   28158             :     }
   28159           0 :     arg1 = (struct layerObj *)(argp1);
   28160             :     result = (int)layerObj_getNumFeatures(arg1);
   28161           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   28162             :     
   28163           0 :     XSRETURN(argvi);
   28164           0 :   fail:
   28165             :     
   28166           0 :     SWIG_croak_null();
   28167             :   }
   28168             : }
   28169             : 
   28170             : 
   28171           0 : XS(_wrap_layerObj_getExtent) {
   28172             :   {
   28173             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   28174           0 :     void *argp1 = 0 ;
   28175             :     int res1 = 0 ;
   28176             :     int argvi = 0;
   28177             :     rectObj *result = 0 ;
   28178           0 :     dXSARGS;
   28179             :     
   28180           0 :     if ((items < 1) || (items > 1)) {
   28181           0 :       SWIG_croak("Usage: layerObj_getExtent(self);");
   28182             :     }
   28183           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   28184           0 :     if (!SWIG_IsOK(res1)) {
   28185           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_getExtent" "', argument " "1"" of type '" "struct layerObj *""'"); 
   28186             :     }
   28187           0 :     arg1 = (struct layerObj *)(argp1);
   28188             :     result = (rectObj *)layerObj_getExtent(arg1);
   28189           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_rectObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   28190             :     
   28191           0 :     XSRETURN(argvi);
   28192           0 :   fail:
   28193             :     
   28194           0 :     SWIG_croak_null();
   28195             :   }
   28196             : }
   28197             : 
   28198             : 
   28199           0 : XS(_wrap_layerObj_setExtent) {
   28200             :   {
   28201             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   28202             :     double arg2 = (double) -1.0 ;
   28203             :     double arg3 = (double) -1.0 ;
   28204             :     double arg4 = (double) -1.0 ;
   28205             :     double arg5 = (double) -1.0 ;
   28206           0 :     void *argp1 = 0 ;
   28207             :     int res1 = 0 ;
   28208             :     double val2 ;
   28209             :     int ecode2 = 0 ;
   28210             :     double val3 ;
   28211             :     int ecode3 = 0 ;
   28212             :     double val4 ;
   28213             :     int ecode4 = 0 ;
   28214             :     double val5 ;
   28215             :     int ecode5 = 0 ;
   28216             :     int argvi = 0;
   28217             :     int result;
   28218           0 :     dXSARGS;
   28219             :     
   28220           0 :     if ((items < 1) || (items > 5)) {
   28221           0 :       SWIG_croak("Usage: layerObj_setExtent(self,minx,miny,maxx,maxy);");
   28222             :     }
   28223           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   28224           0 :     if (!SWIG_IsOK(res1)) {
   28225           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_setExtent" "', argument " "1"" of type '" "struct layerObj *""'"); 
   28226             :     }
   28227           0 :     arg1 = (struct layerObj *)(argp1);
   28228           0 :     if (items > 1) {
   28229           0 :       ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   28230           0 :       if (!SWIG_IsOK(ecode2)) {
   28231           0 :         SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_setExtent" "', argument " "2"" of type '" "double""'");
   28232             :       } 
   28233           0 :       arg2 = (double)(val2);
   28234             :     }
   28235           0 :     if (items > 2) {
   28236           0 :       ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
   28237           0 :       if (!SWIG_IsOK(ecode3)) {
   28238           0 :         SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "layerObj_setExtent" "', argument " "3"" of type '" "double""'");
   28239             :       } 
   28240           0 :       arg3 = (double)(val3);
   28241             :     }
   28242           0 :     if (items > 3) {
   28243           0 :       ecode4 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
   28244           0 :       if (!SWIG_IsOK(ecode4)) {
   28245           0 :         SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "layerObj_setExtent" "', argument " "4"" of type '" "double""'");
   28246             :       } 
   28247           0 :       arg4 = (double)(val4);
   28248             :     }
   28249           0 :     if (items > 4) {
   28250           0 :       ecode5 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
   28251           0 :       if (!SWIG_IsOK(ecode5)) {
   28252           0 :         SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "layerObj_setExtent" "', argument " "5"" of type '" "double""'");
   28253             :       } 
   28254           0 :       arg5 = (double)(val5);
   28255             :     }
   28256           0 :     result = (int)layerObj_setExtent(arg1,arg2,arg3,arg4,arg5);
   28257           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   28258             :     
   28259             :     
   28260             :     
   28261             :     
   28262             :     
   28263           0 :     XSRETURN(argvi);
   28264           0 :   fail:
   28265             :     
   28266             :     
   28267             :     
   28268             :     
   28269             :     
   28270           0 :     SWIG_croak_null();
   28271             :   }
   28272             : }
   28273             : 
   28274             : 
   28275           0 : XS(_wrap_layerObj_getMetaData) {
   28276             :   {
   28277             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   28278             :     char *arg2 = (char *) 0 ;
   28279           0 :     void *argp1 = 0 ;
   28280             :     int res1 = 0 ;
   28281             :     int res2 ;
   28282           0 :     char *buf2 = 0 ;
   28283           0 :     int alloc2 = 0 ;
   28284             :     int argvi = 0;
   28285             :     char *result = 0 ;
   28286           0 :     dXSARGS;
   28287             :     
   28288           0 :     if ((items < 2) || (items > 2)) {
   28289           0 :       SWIG_croak("Usage: layerObj_getMetaData(self,name);");
   28290             :     }
   28291           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   28292           0 :     if (!SWIG_IsOK(res1)) {
   28293           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_getMetaData" "', argument " "1"" of type '" "struct layerObj *""'"); 
   28294             :     }
   28295           0 :     arg1 = (struct layerObj *)(argp1);
   28296           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   28297           0 :     if (!SWIG_IsOK(res2)) {
   28298           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_getMetaData" "', argument " "2"" of type '" "char *""'");
   28299             :     }
   28300           0 :     arg2 = (char *)(buf2);
   28301           0 :     result = (char *)layerObj_getMetaData(arg1,arg2);
   28302           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   28303             :     
   28304           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   28305           0 :     XSRETURN(argvi);
   28306           0 :   fail:
   28307             :     
   28308           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   28309           0 :     SWIG_croak_null();
   28310             :   }
   28311             : }
   28312             : 
   28313             : 
   28314           0 : XS(_wrap_layerObj_setMetaData) {
   28315             :   {
   28316             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   28317             :     char *arg2 = (char *) 0 ;
   28318             :     char *arg3 = (char *) 0 ;
   28319           0 :     void *argp1 = 0 ;
   28320             :     int res1 = 0 ;
   28321             :     int res2 ;
   28322           0 :     char *buf2 = 0 ;
   28323           0 :     int alloc2 = 0 ;
   28324             :     int res3 ;
   28325           0 :     char *buf3 = 0 ;
   28326           0 :     int alloc3 = 0 ;
   28327             :     int argvi = 0;
   28328             :     int result;
   28329           0 :     dXSARGS;
   28330             :     
   28331           0 :     if ((items < 3) || (items > 3)) {
   28332           0 :       SWIG_croak("Usage: layerObj_setMetaData(self,name,value);");
   28333             :     }
   28334           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   28335           0 :     if (!SWIG_IsOK(res1)) {
   28336           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_setMetaData" "', argument " "1"" of type '" "struct layerObj *""'"); 
   28337             :     }
   28338           0 :     arg1 = (struct layerObj *)(argp1);
   28339           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   28340           0 :     if (!SWIG_IsOK(res2)) {
   28341           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_setMetaData" "', argument " "2"" of type '" "char *""'");
   28342             :     }
   28343           0 :     arg2 = (char *)(buf2);
   28344           0 :     res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
   28345           0 :     if (!SWIG_IsOK(res3)) {
   28346           0 :       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "layerObj_setMetaData" "', argument " "3"" of type '" "char *""'");
   28347             :     }
   28348           0 :     arg3 = (char *)(buf3);
   28349             :     result = (int)layerObj_setMetaData(arg1,arg2,arg3);
   28350           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   28351             :     
   28352           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   28353           0 :     if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
   28354           0 :     XSRETURN(argvi);
   28355           0 :   fail:
   28356             :     
   28357           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   28358           0 :     if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
   28359           0 :     SWIG_croak_null();
   28360             :   }
   28361             : }
   28362             : 
   28363             : 
   28364           0 : XS(_wrap_layerObj_removeMetaData) {
   28365             :   {
   28366             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   28367             :     char *arg2 = (char *) 0 ;
   28368           0 :     void *argp1 = 0 ;
   28369             :     int res1 = 0 ;
   28370             :     int res2 ;
   28371           0 :     char *buf2 = 0 ;
   28372           0 :     int alloc2 = 0 ;
   28373             :     int argvi = 0;
   28374             :     int result;
   28375           0 :     dXSARGS;
   28376             :     
   28377           0 :     if ((items < 2) || (items > 2)) {
   28378           0 :       SWIG_croak("Usage: layerObj_removeMetaData(self,name);");
   28379             :     }
   28380           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   28381           0 :     if (!SWIG_IsOK(res1)) {
   28382           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_removeMetaData" "', argument " "1"" of type '" "struct layerObj *""'"); 
   28383             :     }
   28384           0 :     arg1 = (struct layerObj *)(argp1);
   28385           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   28386           0 :     if (!SWIG_IsOK(res2)) {
   28387           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_removeMetaData" "', argument " "2"" of type '" "char *""'");
   28388             :     }
   28389           0 :     arg2 = (char *)(buf2);
   28390             :     result = (int)layerObj_removeMetaData(arg1,arg2);
   28391           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   28392             :     
   28393           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   28394           0 :     XSRETURN(argvi);
   28395           0 :   fail:
   28396             :     
   28397           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   28398           0 :     SWIG_croak_null();
   28399             :   }
   28400             : }
   28401             : 
   28402             : 
   28403           0 : XS(_wrap_layerObj_getFirstMetaDataKey) {
   28404             :   {
   28405             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   28406           0 :     void *argp1 = 0 ;
   28407             :     int res1 = 0 ;
   28408             :     int argvi = 0;
   28409             :     char *result = 0 ;
   28410           0 :     dXSARGS;
   28411             :     
   28412           0 :     if ((items < 1) || (items > 1)) {
   28413           0 :       SWIG_croak("Usage: layerObj_getFirstMetaDataKey(self);");
   28414             :     }
   28415           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   28416           0 :     if (!SWIG_IsOK(res1)) {
   28417           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_getFirstMetaDataKey" "', argument " "1"" of type '" "struct layerObj *""'"); 
   28418             :     }
   28419           0 :     arg1 = (struct layerObj *)(argp1);
   28420             :     result = (char *)layerObj_getFirstMetaDataKey(arg1);
   28421           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   28422             :     
   28423           0 :     XSRETURN(argvi);
   28424           0 :   fail:
   28425             :     
   28426           0 :     SWIG_croak_null();
   28427             :   }
   28428             : }
   28429             : 
   28430             : 
   28431           0 : XS(_wrap_layerObj_getNextMetaDataKey) {
   28432             :   {
   28433             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   28434             :     char *arg2 = (char *) 0 ;
   28435           0 :     void *argp1 = 0 ;
   28436             :     int res1 = 0 ;
   28437             :     int res2 ;
   28438           0 :     char *buf2 = 0 ;
   28439           0 :     int alloc2 = 0 ;
   28440             :     int argvi = 0;
   28441             :     char *result = 0 ;
   28442           0 :     dXSARGS;
   28443             :     
   28444           0 :     if ((items < 2) || (items > 2)) {
   28445           0 :       SWIG_croak("Usage: layerObj_getNextMetaDataKey(self,lastkey);");
   28446             :     }
   28447           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   28448           0 :     if (!SWIG_IsOK(res1)) {
   28449           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_getNextMetaDataKey" "', argument " "1"" of type '" "struct layerObj *""'"); 
   28450             :     }
   28451           0 :     arg1 = (struct layerObj *)(argp1);
   28452           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   28453           0 :     if (!SWIG_IsOK(res2)) {
   28454           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_getNextMetaDataKey" "', argument " "2"" of type '" "char *""'");
   28455             :     }
   28456           0 :     arg2 = (char *)(buf2);
   28457             :     result = (char *)layerObj_getNextMetaDataKey(arg1,arg2);
   28458           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   28459             :     
   28460           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   28461           0 :     XSRETURN(argvi);
   28462           0 :   fail:
   28463             :     
   28464           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   28465           0 :     SWIG_croak_null();
   28466             :   }
   28467             : }
   28468             : 
   28469             : 
   28470           0 : XS(_wrap_layerObj_getWMSFeatureInfoURL) {
   28471             :   {
   28472             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   28473             :     mapObj *arg2 = (mapObj *) 0 ;
   28474             :     int arg3 ;
   28475             :     int arg4 ;
   28476             :     int arg5 ;
   28477             :     char *arg6 = (char *) 0 ;
   28478           0 :     void *argp1 = 0 ;
   28479             :     int res1 = 0 ;
   28480           0 :     void *argp2 = 0 ;
   28481             :     int res2 = 0 ;
   28482             :     int val3 ;
   28483             :     int ecode3 = 0 ;
   28484             :     int val4 ;
   28485             :     int ecode4 = 0 ;
   28486             :     int val5 ;
   28487             :     int ecode5 = 0 ;
   28488             :     int res6 ;
   28489           0 :     char *buf6 = 0 ;
   28490           0 :     int alloc6 = 0 ;
   28491             :     int argvi = 0;
   28492             :     char *result = 0 ;
   28493           0 :     dXSARGS;
   28494             :     
   28495           0 :     if ((items < 6) || (items > 6)) {
   28496           0 :       SWIG_croak("Usage: layerObj_getWMSFeatureInfoURL(self,map,click_x,click_y,feature_count,info_format);");
   28497             :     }
   28498           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   28499           0 :     if (!SWIG_IsOK(res1)) {
   28500           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_getWMSFeatureInfoURL" "', argument " "1"" of type '" "struct layerObj *""'"); 
   28501             :     }
   28502           0 :     arg1 = (struct layerObj *)(argp1);
   28503           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_mapObj, 0 |  0 );
   28504           0 :     if (!SWIG_IsOK(res2)) {
   28505           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_getWMSFeatureInfoURL" "', argument " "2"" of type '" "mapObj *""'"); 
   28506             :     }
   28507           0 :     arg2 = (mapObj *)(argp2);
   28508           0 :     ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
   28509           0 :     if (!SWIG_IsOK(ecode3)) {
   28510           0 :       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "layerObj_getWMSFeatureInfoURL" "', argument " "3"" of type '" "int""'");
   28511             :     } 
   28512             :     arg3 = (int)(val3);
   28513           0 :     ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
   28514           0 :     if (!SWIG_IsOK(ecode4)) {
   28515           0 :       SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "layerObj_getWMSFeatureInfoURL" "', argument " "4"" of type '" "int""'");
   28516             :     } 
   28517             :     arg4 = (int)(val4);
   28518           0 :     ecode5 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
   28519           0 :     if (!SWIG_IsOK(ecode5)) {
   28520           0 :       SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "layerObj_getWMSFeatureInfoURL" "', argument " "5"" of type '" "int""'");
   28521             :     } 
   28522             :     arg5 = (int)(val5);
   28523           0 :     res6 = SWIG_AsCharPtrAndSize(ST(5), &buf6, NULL, &alloc6);
   28524           0 :     if (!SWIG_IsOK(res6)) {
   28525           0 :       SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "layerObj_getWMSFeatureInfoURL" "', argument " "6"" of type '" "char *""'");
   28526             :     }
   28527           0 :     arg6 = (char *)(buf6);
   28528             :     result = (char *)layerObj_getWMSFeatureInfoURL(arg1,arg2,arg3,arg4,arg5,arg6);
   28529           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   28530             :     
   28531             :     
   28532             :     
   28533             :     
   28534             :     
   28535           0 :     if (alloc6 == SWIG_NEWOBJ) free((char*)buf6);
   28536           0 :     free((char*)result);
   28537           0 :     XSRETURN(argvi);
   28538           0 :   fail:
   28539             :     
   28540             :     
   28541             :     
   28542             :     
   28543             :     
   28544           0 :     if (alloc6 == SWIG_NEWOBJ) free((char*)buf6);
   28545           0 :     SWIG_croak_null();
   28546             :   }
   28547             : }
   28548             : 
   28549             : 
   28550           0 : XS(_wrap_layerObj_executeWFSGetFeature) {
   28551             :   {
   28552             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   28553             :     layerObj *arg2 = (layerObj *) 0 ;
   28554           0 :     void *argp1 = 0 ;
   28555             :     int res1 = 0 ;
   28556           0 :     void *argp2 = 0 ;
   28557             :     int res2 = 0 ;
   28558             :     int argvi = 0;
   28559             :     char *result = 0 ;
   28560           0 :     dXSARGS;
   28561             :     
   28562           0 :     if ((items < 2) || (items > 2)) {
   28563           0 :       SWIG_croak("Usage: layerObj_executeWFSGetFeature(self,layer);");
   28564             :     }
   28565           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   28566           0 :     if (!SWIG_IsOK(res1)) {
   28567           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_executeWFSGetFeature" "', argument " "1"" of type '" "struct layerObj *""'"); 
   28568             :     }
   28569             :     arg1 = (struct layerObj *)(argp1);
   28570           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_layerObj, 0 |  0 );
   28571           0 :     if (!SWIG_IsOK(res2)) {
   28572           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_executeWFSGetFeature" "', argument " "2"" of type '" "layerObj *""'"); 
   28573             :     }
   28574           0 :     arg2 = (layerObj *)(argp2);
   28575             :     result = (char *)layerObj_executeWFSGetFeature(arg1,arg2);
   28576           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   28577             :     
   28578             :     
   28579           0 :     free((char*)result);
   28580           0 :     XSRETURN(argvi);
   28581           0 :   fail:
   28582             :     
   28583             :     
   28584           0 :     SWIG_croak_null();
   28585             :   }
   28586             : }
   28587             : 
   28588             : 
   28589           0 : XS(_wrap_layerObj_applySLD) {
   28590             :   {
   28591             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   28592             :     char *arg2 = (char *) 0 ;
   28593             :     char *arg3 = (char *) 0 ;
   28594           0 :     void *argp1 = 0 ;
   28595             :     int res1 = 0 ;
   28596             :     int res2 ;
   28597           0 :     char *buf2 = 0 ;
   28598           0 :     int alloc2 = 0 ;
   28599             :     int res3 ;
   28600           0 :     char *buf3 = 0 ;
   28601           0 :     int alloc3 = 0 ;
   28602             :     int argvi = 0;
   28603             :     int result;
   28604           0 :     dXSARGS;
   28605             :     
   28606           0 :     if ((items < 3) || (items > 3)) {
   28607           0 :       SWIG_croak("Usage: layerObj_applySLD(self,sld,stylelayer);");
   28608             :     }
   28609           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   28610           0 :     if (!SWIG_IsOK(res1)) {
   28611           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_applySLD" "', argument " "1"" of type '" "struct layerObj *""'"); 
   28612             :     }
   28613           0 :     arg1 = (struct layerObj *)(argp1);
   28614           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   28615           0 :     if (!SWIG_IsOK(res2)) {
   28616           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_applySLD" "', argument " "2"" of type '" "char *""'");
   28617             :     }
   28618           0 :     arg2 = (char *)(buf2);
   28619           0 :     res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
   28620           0 :     if (!SWIG_IsOK(res3)) {
   28621           0 :       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "layerObj_applySLD" "', argument " "3"" of type '" "char *""'");
   28622             :     }
   28623           0 :     arg3 = (char *)(buf3);
   28624           0 :     result = (int)layerObj_applySLD(arg1,arg2,arg3);
   28625           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   28626             :     
   28627           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   28628           0 :     if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
   28629           0 :     XSRETURN(argvi);
   28630           0 :   fail:
   28631             :     
   28632           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   28633           0 :     if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
   28634           0 :     SWIG_croak_null();
   28635             :   }
   28636             : }
   28637             : 
   28638             : 
   28639           0 : XS(_wrap_layerObj_applySLDURL) {
   28640             :   {
   28641             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   28642             :     char *arg2 = (char *) 0 ;
   28643             :     char *arg3 = (char *) 0 ;
   28644           0 :     void *argp1 = 0 ;
   28645             :     int res1 = 0 ;
   28646             :     int res2 ;
   28647           0 :     char *buf2 = 0 ;
   28648           0 :     int alloc2 = 0 ;
   28649             :     int res3 ;
   28650           0 :     char *buf3 = 0 ;
   28651           0 :     int alloc3 = 0 ;
   28652             :     int argvi = 0;
   28653             :     int result;
   28654           0 :     dXSARGS;
   28655             :     
   28656           0 :     if ((items < 3) || (items > 3)) {
   28657           0 :       SWIG_croak("Usage: layerObj_applySLDURL(self,sld,stylelayer);");
   28658             :     }
   28659           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   28660           0 :     if (!SWIG_IsOK(res1)) {
   28661           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_applySLDURL" "', argument " "1"" of type '" "struct layerObj *""'"); 
   28662             :     }
   28663           0 :     arg1 = (struct layerObj *)(argp1);
   28664           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   28665           0 :     if (!SWIG_IsOK(res2)) {
   28666           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_applySLDURL" "', argument " "2"" of type '" "char *""'");
   28667             :     }
   28668           0 :     arg2 = (char *)(buf2);
   28669           0 :     res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
   28670           0 :     if (!SWIG_IsOK(res3)) {
   28671           0 :       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "layerObj_applySLDURL" "', argument " "3"" of type '" "char *""'");
   28672             :     }
   28673           0 :     arg3 = (char *)(buf3);
   28674           0 :     result = (int)layerObj_applySLDURL(arg1,arg2,arg3);
   28675           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   28676             :     
   28677           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   28678           0 :     if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
   28679           0 :     XSRETURN(argvi);
   28680           0 :   fail:
   28681             :     
   28682           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   28683           0 :     if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
   28684           0 :     SWIG_croak_null();
   28685             :   }
   28686             : }
   28687             : 
   28688             : 
   28689           0 : XS(_wrap_layerObj_generateSLD) {
   28690             :   {
   28691             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   28692           0 :     void *argp1 = 0 ;
   28693             :     int res1 = 0 ;
   28694             :     int argvi = 0;
   28695             :     char *result = 0 ;
   28696           0 :     dXSARGS;
   28697             :     
   28698           0 :     if ((items < 1) || (items > 1)) {
   28699           0 :       SWIG_croak("Usage: layerObj_generateSLD(self);");
   28700             :     }
   28701           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   28702           0 :     if (!SWIG_IsOK(res1)) {
   28703           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_generateSLD" "', argument " "1"" of type '" "struct layerObj *""'"); 
   28704             :     }
   28705           0 :     arg1 = (struct layerObj *)(argp1);
   28706           0 :     result = (char *)layerObj_generateSLD(arg1);
   28707           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   28708             :     
   28709           0 :     free((char*)result);
   28710           0 :     XSRETURN(argvi);
   28711           0 :   fail:
   28712             :     
   28713           0 :     SWIG_croak_null();
   28714             :   }
   28715             : }
   28716             : 
   28717             : 
   28718           0 : XS(_wrap_layerObj_isVisible) {
   28719             :   {
   28720             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   28721           0 :     void *argp1 = 0 ;
   28722             :     int res1 = 0 ;
   28723             :     int argvi = 0;
   28724             :     int result;
   28725           0 :     dXSARGS;
   28726             :     
   28727           0 :     if ((items < 1) || (items > 1)) {
   28728           0 :       SWIG_croak("Usage: layerObj_isVisible(self);");
   28729             :     }
   28730           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   28731           0 :     if (!SWIG_IsOK(res1)) {
   28732           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_isVisible" "', argument " "1"" of type '" "struct layerObj *""'"); 
   28733             :     }
   28734           0 :     arg1 = (struct layerObj *)(argp1);
   28735           0 :     result = (int)layerObj_isVisible(arg1);
   28736           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   28737             :     
   28738           0 :     XSRETURN(argvi);
   28739           0 :   fail:
   28740             :     
   28741           0 :     SWIG_croak_null();
   28742             :   }
   28743             : }
   28744             : 
   28745             : 
   28746           0 : XS(_wrap_layerObj_moveClassUp) {
   28747             :   {
   28748             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   28749             :     int arg2 ;
   28750           0 :     void *argp1 = 0 ;
   28751             :     int res1 = 0 ;
   28752             :     int val2 ;
   28753             :     int ecode2 = 0 ;
   28754             :     int argvi = 0;
   28755             :     int result;
   28756           0 :     dXSARGS;
   28757             :     
   28758           0 :     if ((items < 2) || (items > 2)) {
   28759           0 :       SWIG_croak("Usage: layerObj_moveClassUp(self,index);");
   28760             :     }
   28761           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   28762           0 :     if (!SWIG_IsOK(res1)) {
   28763           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_moveClassUp" "', argument " "1"" of type '" "struct layerObj *""'"); 
   28764             :     }
   28765           0 :     arg1 = (struct layerObj *)(argp1);
   28766           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   28767           0 :     if (!SWIG_IsOK(ecode2)) {
   28768           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_moveClassUp" "', argument " "2"" of type '" "int""'");
   28769             :     } 
   28770             :     arg2 = (int)(val2);
   28771             :     result = (int)layerObj_moveClassUp(arg1,arg2);
   28772           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   28773             :     
   28774             :     
   28775           0 :     XSRETURN(argvi);
   28776           0 :   fail:
   28777             :     
   28778             :     
   28779           0 :     SWIG_croak_null();
   28780             :   }
   28781             : }
   28782             : 
   28783             : 
   28784           0 : XS(_wrap_layerObj_moveClassDown) {
   28785             :   {
   28786             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   28787             :     int arg2 ;
   28788           0 :     void *argp1 = 0 ;
   28789             :     int res1 = 0 ;
   28790             :     int val2 ;
   28791             :     int ecode2 = 0 ;
   28792             :     int argvi = 0;
   28793             :     int result;
   28794           0 :     dXSARGS;
   28795             :     
   28796           0 :     if ((items < 2) || (items > 2)) {
   28797           0 :       SWIG_croak("Usage: layerObj_moveClassDown(self,index);");
   28798             :     }
   28799           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   28800           0 :     if (!SWIG_IsOK(res1)) {
   28801           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_moveClassDown" "', argument " "1"" of type '" "struct layerObj *""'"); 
   28802             :     }
   28803           0 :     arg1 = (struct layerObj *)(argp1);
   28804           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   28805           0 :     if (!SWIG_IsOK(ecode2)) {
   28806           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_moveClassDown" "', argument " "2"" of type '" "int""'");
   28807             :     } 
   28808             :     arg2 = (int)(val2);
   28809             :     result = (int)layerObj_moveClassDown(arg1,arg2);
   28810           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   28811             :     
   28812             :     
   28813           0 :     XSRETURN(argvi);
   28814           0 :   fail:
   28815             :     
   28816             :     
   28817           0 :     SWIG_croak_null();
   28818             :   }
   28819             : }
   28820             : 
   28821             : 
   28822           0 : XS(_wrap_layerObj_setProcessingKey) {
   28823             :   {
   28824             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   28825             :     char *arg2 = (char *) 0 ;
   28826             :     char *arg3 = (char *) 0 ;
   28827           0 :     void *argp1 = 0 ;
   28828             :     int res1 = 0 ;
   28829             :     int res2 ;
   28830           0 :     char *buf2 = 0 ;
   28831           0 :     int alloc2 = 0 ;
   28832             :     int res3 ;
   28833           0 :     char *buf3 = 0 ;
   28834           0 :     int alloc3 = 0 ;
   28835             :     int argvi = 0;
   28836           0 :     dXSARGS;
   28837             :     
   28838           0 :     if ((items < 3) || (items > 3)) {
   28839           0 :       SWIG_croak("Usage: layerObj_setProcessingKey(self,key,value);");
   28840             :     }
   28841           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   28842           0 :     if (!SWIG_IsOK(res1)) {
   28843           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_setProcessingKey" "', argument " "1"" of type '" "struct layerObj *""'"); 
   28844             :     }
   28845           0 :     arg1 = (struct layerObj *)(argp1);
   28846           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   28847           0 :     if (!SWIG_IsOK(res2)) {
   28848           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_setProcessingKey" "', argument " "2"" of type '" "char const *""'");
   28849             :     }
   28850           0 :     arg2 = (char *)(buf2);
   28851           0 :     res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
   28852           0 :     if (!SWIG_IsOK(res3)) {
   28853           0 :       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "layerObj_setProcessingKey" "', argument " "3"" of type '" "char const *""'");
   28854             :     }
   28855           0 :     arg3 = (char *)(buf3);
   28856             :     layerObj_setProcessingKey(arg1,(char const *)arg2,(char const *)arg3);
   28857           0 :     ST(argvi) = sv_newmortal();
   28858             :     
   28859           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   28860           0 :     if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
   28861           0 :     XSRETURN(argvi);
   28862           0 :   fail:
   28863             :     
   28864           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   28865           0 :     if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
   28866           0 :     SWIG_croak_null();
   28867             :   }
   28868             : }
   28869             : 
   28870             : 
   28871           0 : XS(_wrap_layerObj_setProcessing) {
   28872             :   {
   28873             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   28874             :     char *arg2 = (char *) 0 ;
   28875           0 :     void *argp1 = 0 ;
   28876             :     int res1 = 0 ;
   28877             :     int res2 ;
   28878           0 :     char *buf2 = 0 ;
   28879           0 :     int alloc2 = 0 ;
   28880             :     int argvi = 0;
   28881           0 :     dXSARGS;
   28882             :     
   28883           0 :     if ((items < 2) || (items > 2)) {
   28884           0 :       SWIG_croak("Usage: layerObj_setProcessing(self,directive);");
   28885             :     }
   28886           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   28887           0 :     if (!SWIG_IsOK(res1)) {
   28888           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_setProcessing" "', argument " "1"" of type '" "struct layerObj *""'"); 
   28889             :     }
   28890           0 :     arg1 = (struct layerObj *)(argp1);
   28891           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   28892           0 :     if (!SWIG_IsOK(res2)) {
   28893           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_setProcessing" "', argument " "2"" of type '" "char const *""'");
   28894             :     }
   28895           0 :     arg2 = (char *)(buf2);
   28896             :     layerObj_setProcessing(arg1,(char const *)arg2);
   28897           0 :     ST(argvi) = sv_newmortal();
   28898             :     
   28899           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   28900           0 :     XSRETURN(argvi);
   28901           0 :   fail:
   28902             :     
   28903           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   28904           0 :     SWIG_croak_null();
   28905             :   }
   28906             : }
   28907             : 
   28908             : 
   28909           0 : XS(_wrap_layerObj_addProcessing) {
   28910             :   {
   28911             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   28912             :     char *arg2 = (char *) 0 ;
   28913           0 :     void *argp1 = 0 ;
   28914             :     int res1 = 0 ;
   28915             :     int res2 ;
   28916           0 :     char *buf2 = 0 ;
   28917           0 :     int alloc2 = 0 ;
   28918             :     int argvi = 0;
   28919           0 :     dXSARGS;
   28920             :     
   28921           0 :     if ((items < 2) || (items > 2)) {
   28922           0 :       SWIG_croak("Usage: layerObj_addProcessing(self,directive);");
   28923             :     }
   28924           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   28925           0 :     if (!SWIG_IsOK(res1)) {
   28926           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_addProcessing" "', argument " "1"" of type '" "struct layerObj *""'"); 
   28927             :     }
   28928           0 :     arg1 = (struct layerObj *)(argp1);
   28929           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   28930           0 :     if (!SWIG_IsOK(res2)) {
   28931           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_addProcessing" "', argument " "2"" of type '" "char const *""'");
   28932             :     }
   28933           0 :     arg2 = (char *)(buf2);
   28934             :     layerObj_addProcessing(arg1,(char const *)arg2);
   28935           0 :     ST(argvi) = sv_newmortal();
   28936             :     
   28937           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   28938           0 :     XSRETURN(argvi);
   28939           0 :   fail:
   28940             :     
   28941           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   28942           0 :     SWIG_croak_null();
   28943             :   }
   28944             : }
   28945             : 
   28946             : 
   28947           0 : XS(_wrap_layerObj_getProcessing) {
   28948             :   {
   28949             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   28950             :     int arg2 ;
   28951           0 :     void *argp1 = 0 ;
   28952             :     int res1 = 0 ;
   28953             :     int val2 ;
   28954             :     int ecode2 = 0 ;
   28955             :     int argvi = 0;
   28956             :     char *result = 0 ;
   28957           0 :     dXSARGS;
   28958             :     
   28959           0 :     if ((items < 2) || (items > 2)) {
   28960           0 :       SWIG_croak("Usage: layerObj_getProcessing(self,index);");
   28961             :     }
   28962           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   28963           0 :     if (!SWIG_IsOK(res1)) {
   28964           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_getProcessing" "', argument " "1"" of type '" "struct layerObj *""'"); 
   28965             :     }
   28966           0 :     arg1 = (struct layerObj *)(argp1);
   28967           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   28968           0 :     if (!SWIG_IsOK(ecode2)) {
   28969           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_getProcessing" "', argument " "2"" of type '" "int""'");
   28970             :     } 
   28971             :     arg2 = (int)(val2);
   28972             :     result = (char *)layerObj_getProcessing(arg1,arg2);
   28973           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   28974             :     
   28975             :     
   28976           0 :     XSRETURN(argvi);
   28977           0 :   fail:
   28978             :     
   28979             :     
   28980           0 :     SWIG_croak_null();
   28981             :   }
   28982             : }
   28983             : 
   28984             : 
   28985           0 : XS(_wrap_layerObj_getProcessingKey) {
   28986             :   {
   28987             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   28988             :     char *arg2 = (char *) 0 ;
   28989           0 :     void *argp1 = 0 ;
   28990             :     int res1 = 0 ;
   28991             :     int res2 ;
   28992           0 :     char *buf2 = 0 ;
   28993           0 :     int alloc2 = 0 ;
   28994             :     int argvi = 0;
   28995             :     char *result = 0 ;
   28996           0 :     dXSARGS;
   28997             :     
   28998           0 :     if ((items < 2) || (items > 2)) {
   28999           0 :       SWIG_croak("Usage: layerObj_getProcessingKey(self,key);");
   29000             :     }
   29001           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   29002           0 :     if (!SWIG_IsOK(res1)) {
   29003           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_getProcessingKey" "', argument " "1"" of type '" "struct layerObj *""'"); 
   29004             :     }
   29005           0 :     arg1 = (struct layerObj *)(argp1);
   29006           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   29007           0 :     if (!SWIG_IsOK(res2)) {
   29008           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_getProcessingKey" "', argument " "2"" of type '" "char const *""'");
   29009             :     }
   29010           0 :     arg2 = (char *)(buf2);
   29011             :     result = (char *)layerObj_getProcessingKey(arg1,(char const *)arg2);
   29012           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   29013             :     
   29014           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   29015           0 :     XSRETURN(argvi);
   29016           0 :   fail:
   29017             :     
   29018           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   29019           0 :     SWIG_croak_null();
   29020             :   }
   29021             : }
   29022             : 
   29023             : 
   29024           0 : XS(_wrap_layerObj_clearProcessing) {
   29025             :   {
   29026             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   29027           0 :     void *argp1 = 0 ;
   29028             :     int res1 = 0 ;
   29029             :     int argvi = 0;
   29030             :     int result;
   29031           0 :     dXSARGS;
   29032             :     
   29033           0 :     if ((items < 1) || (items > 1)) {
   29034           0 :       SWIG_croak("Usage: layerObj_clearProcessing(self);");
   29035             :     }
   29036           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   29037           0 :     if (!SWIG_IsOK(res1)) {
   29038           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_clearProcessing" "', argument " "1"" of type '" "struct layerObj *""'"); 
   29039             :     }
   29040           0 :     arg1 = (struct layerObj *)(argp1);
   29041             :     result = (int)layerObj_clearProcessing(arg1);
   29042           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   29043             :     
   29044           0 :     XSRETURN(argvi);
   29045           0 :   fail:
   29046             :     
   29047           0 :     SWIG_croak_null();
   29048             :   }
   29049             : }
   29050             : 
   29051             : 
   29052           0 : XS(_wrap_layerObj_setConnectionType) {
   29053             :   {
   29054             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   29055             :     int arg2 ;
   29056             :     char *arg3 = (char *) 0 ;
   29057           0 :     void *argp1 = 0 ;
   29058             :     int res1 = 0 ;
   29059             :     int val2 ;
   29060             :     int ecode2 = 0 ;
   29061             :     int res3 ;
   29062           0 :     char *buf3 = 0 ;
   29063           0 :     int alloc3 = 0 ;
   29064             :     int argvi = 0;
   29065             :     int result;
   29066           0 :     dXSARGS;
   29067             :     
   29068           0 :     if ((items < 3) || (items > 3)) {
   29069           0 :       SWIG_croak("Usage: layerObj_setConnectionType(self,connectiontype,library_str);");
   29070             :     }
   29071           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   29072           0 :     if (!SWIG_IsOK(res1)) {
   29073           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_setConnectionType" "', argument " "1"" of type '" "struct layerObj *""'"); 
   29074             :     }
   29075           0 :     arg1 = (struct layerObj *)(argp1);
   29076           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   29077           0 :     if (!SWIG_IsOK(ecode2)) {
   29078           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_setConnectionType" "', argument " "2"" of type '" "int""'");
   29079             :     } 
   29080             :     arg2 = (int)(val2);
   29081           0 :     res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
   29082           0 :     if (!SWIG_IsOK(res3)) {
   29083           0 :       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "layerObj_setConnectionType" "', argument " "3"" of type '" "char const *""'");
   29084             :     }
   29085           0 :     arg3 = (char *)(buf3);
   29086           0 :     result = (int)layerObj_setConnectionType(arg1,arg2,(char const *)arg3);
   29087           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   29088             :     
   29089             :     
   29090           0 :     if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
   29091           0 :     XSRETURN(argvi);
   29092           0 :   fail:
   29093             :     
   29094             :     
   29095           0 :     if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
   29096           0 :     SWIG_croak_null();
   29097             :   }
   29098             : }
   29099             : 
   29100             : 
   29101           0 : XS(_wrap_layerObj_getClassIndex) {
   29102             :   {
   29103             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   29104             :     mapObj *arg2 = (mapObj *) 0 ;
   29105             :     shapeObj *arg3 = (shapeObj *) 0 ;
   29106             :     int *arg4 = (int *) NULL ;
   29107             :     int arg5 = (int) 0 ;
   29108           0 :     void *argp1 = 0 ;
   29109             :     int res1 = 0 ;
   29110           0 :     void *argp2 = 0 ;
   29111             :     int res2 = 0 ;
   29112           0 :     void *argp3 = 0 ;
   29113             :     int res3 = 0 ;
   29114           0 :     void *argp4 = 0 ;
   29115             :     int res4 = 0 ;
   29116             :     int val5 ;
   29117             :     int ecode5 = 0 ;
   29118             :     int argvi = 0;
   29119             :     int result;
   29120           0 :     dXSARGS;
   29121             :     
   29122           0 :     if ((items < 3) || (items > 5)) {
   29123           0 :       SWIG_croak("Usage: layerObj_getClassIndex(self,map,shape,classgroup,numclasses);");
   29124             :     }
   29125           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   29126           0 :     if (!SWIG_IsOK(res1)) {
   29127           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_getClassIndex" "', argument " "1"" of type '" "struct layerObj *""'"); 
   29128             :     }
   29129           0 :     arg1 = (struct layerObj *)(argp1);
   29130           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_mapObj, 0 |  0 );
   29131           0 :     if (!SWIG_IsOK(res2)) {
   29132           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_getClassIndex" "', argument " "2"" of type '" "mapObj *""'"); 
   29133             :     }
   29134           0 :     arg2 = (mapObj *)(argp2);
   29135           0 :     res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_shapeObj, 0 |  0 );
   29136           0 :     if (!SWIG_IsOK(res3)) {
   29137           0 :       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "layerObj_getClassIndex" "', argument " "3"" of type '" "shapeObj *""'"); 
   29138             :     }
   29139           0 :     arg3 = (shapeObj *)(argp3);
   29140           0 :     if (items > 3) {
   29141           0 :       res4 = SWIG_ConvertPtr(ST(3), &argp4,SWIGTYPE_p_int, 0 |  0 );
   29142           0 :       if (!SWIG_IsOK(res4)) {
   29143           0 :         SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "layerObj_getClassIndex" "', argument " "4"" of type '" "int *""'"); 
   29144             :       }
   29145           0 :       arg4 = (int *)(argp4);
   29146             :     }
   29147           0 :     if (items > 4) {
   29148           0 :       ecode5 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
   29149           0 :       if (!SWIG_IsOK(ecode5)) {
   29150           0 :         SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "layerObj_getClassIndex" "', argument " "5"" of type '" "int""'");
   29151             :       } 
   29152             :       arg5 = (int)(val5);
   29153             :     }
   29154             :     result = (int)layerObj_getClassIndex(arg1,arg2,arg3,arg4,arg5);
   29155           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   29156             :     
   29157             :     
   29158             :     
   29159             :     
   29160             :     
   29161           0 :     XSRETURN(argvi);
   29162           0 :   fail:
   29163             :     
   29164             :     
   29165             :     
   29166             :     
   29167             :     
   29168           0 :     SWIG_croak_null();
   29169             :   }
   29170             : }
   29171             : 
   29172             : 
   29173           0 : XS(_wrap_layerObj_getGeomTransform) {
   29174             :   {
   29175             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   29176           0 :     void *argp1 = 0 ;
   29177             :     int res1 = 0 ;
   29178             :     int argvi = 0;
   29179             :     char *result = 0 ;
   29180           0 :     dXSARGS;
   29181             :     
   29182           0 :     if ((items < 1) || (items > 1)) {
   29183           0 :       SWIG_croak("Usage: layerObj_getGeomTransform(self);");
   29184             :     }
   29185           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   29186           0 :     if (!SWIG_IsOK(res1)) {
   29187           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_getGeomTransform" "', argument " "1"" of type '" "struct layerObj *""'"); 
   29188             :     }
   29189           0 :     arg1 = (struct layerObj *)(argp1);
   29190           0 :     result = (char *)layerObj_getGeomTransform(arg1);
   29191           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   29192             :     
   29193           0 :     XSRETURN(argvi);
   29194           0 :   fail:
   29195             :     
   29196           0 :     SWIG_croak_null();
   29197             :   }
   29198             : }
   29199             : 
   29200             : 
   29201           0 : XS(_wrap_layerObj_setGeomTransform) {
   29202             :   {
   29203             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   29204             :     char *arg2 = (char *) 0 ;
   29205           0 :     void *argp1 = 0 ;
   29206             :     int res1 = 0 ;
   29207             :     int res2 ;
   29208           0 :     char *buf2 = 0 ;
   29209           0 :     int alloc2 = 0 ;
   29210             :     int argvi = 0;
   29211           0 :     dXSARGS;
   29212             :     
   29213           0 :     if ((items < 2) || (items > 2)) {
   29214           0 :       SWIG_croak("Usage: layerObj_setGeomTransform(self,transform);");
   29215             :     }
   29216           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   29217           0 :     if (!SWIG_IsOK(res1)) {
   29218           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_setGeomTransform" "', argument " "1"" of type '" "struct layerObj *""'"); 
   29219             :     }
   29220           0 :     arg1 = (struct layerObj *)(argp1);
   29221           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   29222           0 :     if (!SWIG_IsOK(res2)) {
   29223           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "layerObj_setGeomTransform" "', argument " "2"" of type '" "char *""'");
   29224             :     }
   29225           0 :     arg2 = (char *)(buf2);
   29226           0 :     layerObj_setGeomTransform(arg1,arg2);
   29227           0 :     ST(argvi) = sv_newmortal();
   29228             :     
   29229           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   29230           0 :     XSRETURN(argvi);
   29231           0 :   fail:
   29232             :     
   29233           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   29234           0 :     SWIG_croak_null();
   29235             :   }
   29236             : }
   29237             : 
   29238             : 
   29239           0 : XS(_wrap_layerObj_getItemType) {
   29240             :   {
   29241             :     struct layerObj *arg1 = (struct layerObj *) 0 ;
   29242             :     int arg2 ;
   29243           0 :     void *argp1 = 0 ;
   29244             :     int res1 = 0 ;
   29245             :     int val2 ;
   29246             :     int ecode2 = 0 ;
   29247             :     int argvi = 0;
   29248             :     char *result = 0 ;
   29249           0 :     dXSARGS;
   29250             :     
   29251           0 :     if ((items < 2) || (items > 2)) {
   29252           0 :       SWIG_croak("Usage: layerObj_getItemType(self,i);");
   29253             :     }
   29254           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_layerObj, 0 |  0 );
   29255           0 :     if (!SWIG_IsOK(res1)) {
   29256           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "layerObj_getItemType" "', argument " "1"" of type '" "struct layerObj *""'"); 
   29257             :     }
   29258           0 :     arg1 = (struct layerObj *)(argp1);
   29259           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   29260           0 :     if (!SWIG_IsOK(ecode2)) {
   29261           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "layerObj_getItemType" "', argument " "2"" of type '" "int""'");
   29262             :     } 
   29263             :     arg2 = (int)(val2);
   29264           0 :     result = (char *)layerObj_getItemType(arg1,arg2);
   29265           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   29266             :     
   29267             :     
   29268           0 :     XSRETURN(argvi);
   29269           0 :   fail:
   29270             :     
   29271             :     
   29272           0 :     SWIG_croak_null();
   29273             :   }
   29274             : }
   29275             : 
   29276             : 
   29277           0 : XS(_wrap_mapObj_name_set) {
   29278             :   {
   29279             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   29280             :     char *arg2 = (char *) 0 ;
   29281           0 :     void *argp1 = 0 ;
   29282             :     int res1 = 0 ;
   29283             :     int res2 ;
   29284           0 :     char *buf2 = 0 ;
   29285           0 :     int alloc2 = 0 ;
   29286             :     int argvi = 0;
   29287           0 :     dXSARGS;
   29288             :     
   29289           0 :     if ((items < 2) || (items > 2)) {
   29290           0 :       SWIG_croak("Usage: mapObj_name_set(self,name);");
   29291             :     }
   29292           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   29293           0 :     if (!SWIG_IsOK(res1)) {
   29294           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_name_set" "', argument " "1"" of type '" "struct mapObj *""'"); 
   29295             :     }
   29296           0 :     arg1 = (struct mapObj *)(argp1);
   29297           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   29298           0 :     if (!SWIG_IsOK(res2)) {
   29299           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_name_set" "', argument " "2"" of type '" "char *""'");
   29300             :     }
   29301           0 :     arg2 = (char *)(buf2);
   29302             :     {
   29303           0 :       if (arg1->name) free((char*)arg1->name);
   29304           0 :       if (arg2) {
   29305           0 :         arg1->name = (char *) malloc(strlen(arg2)+1);
   29306             :         strcpy((char*)arg1->name,arg2);
   29307             :       } else {
   29308           0 :         arg1->name = 0;
   29309             :       }
   29310             :     }
   29311           0 :     ST(argvi) = sv_newmortal();
   29312             :     
   29313           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   29314           0 :     XSRETURN(argvi);
   29315           0 :   fail:
   29316             :     
   29317           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   29318           0 :     SWIG_croak_null();
   29319             :   }
   29320             : }
   29321             : 
   29322             : 
   29323           0 : XS(_wrap_mapObj_name_get) {
   29324             :   {
   29325             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   29326           0 :     void *argp1 = 0 ;
   29327             :     int res1 = 0 ;
   29328             :     int argvi = 0;
   29329             :     char *result = 0 ;
   29330           0 :     dXSARGS;
   29331             :     
   29332           0 :     if ((items < 1) || (items > 1)) {
   29333           0 :       SWIG_croak("Usage: mapObj_name_get(self);");
   29334             :     }
   29335           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   29336           0 :     if (!SWIG_IsOK(res1)) {
   29337           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_name_get" "', argument " "1"" of type '" "struct mapObj *""'"); 
   29338             :     }
   29339           0 :     arg1 = (struct mapObj *)(argp1);
   29340           0 :     result = (char *) ((arg1)->name);
   29341           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   29342             :     
   29343           0 :     XSRETURN(argvi);
   29344           0 :   fail:
   29345             :     
   29346           0 :     SWIG_croak_null();
   29347             :   }
   29348             : }
   29349             : 
   29350             : 
   29351           0 : XS(_wrap_mapObj_status_set) {
   29352             :   {
   29353             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   29354             :     int arg2 ;
   29355           0 :     void *argp1 = 0 ;
   29356             :     int res1 = 0 ;
   29357             :     int val2 ;
   29358             :     int ecode2 = 0 ;
   29359             :     int argvi = 0;
   29360           0 :     dXSARGS;
   29361             :     
   29362           0 :     if ((items < 2) || (items > 2)) {
   29363           0 :       SWIG_croak("Usage: mapObj_status_set(self,status);");
   29364             :     }
   29365           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   29366           0 :     if (!SWIG_IsOK(res1)) {
   29367           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_status_set" "', argument " "1"" of type '" "struct mapObj *""'"); 
   29368             :     }
   29369           0 :     arg1 = (struct mapObj *)(argp1);
   29370           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   29371           0 :     if (!SWIG_IsOK(ecode2)) {
   29372           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_status_set" "', argument " "2"" of type '" "int""'");
   29373             :     } 
   29374             :     arg2 = (int)(val2);
   29375           0 :     if (arg1) (arg1)->status = arg2;
   29376           0 :     ST(argvi) = sv_newmortal();
   29377             :     
   29378             :     
   29379           0 :     XSRETURN(argvi);
   29380           0 :   fail:
   29381             :     
   29382             :     
   29383           0 :     SWIG_croak_null();
   29384             :   }
   29385             : }
   29386             : 
   29387             : 
   29388           0 : XS(_wrap_mapObj_status_get) {
   29389             :   {
   29390             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   29391           0 :     void *argp1 = 0 ;
   29392             :     int res1 = 0 ;
   29393             :     int argvi = 0;
   29394             :     int result;
   29395           0 :     dXSARGS;
   29396             :     
   29397           0 :     if ((items < 1) || (items > 1)) {
   29398           0 :       SWIG_croak("Usage: mapObj_status_get(self);");
   29399             :     }
   29400           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   29401           0 :     if (!SWIG_IsOK(res1)) {
   29402           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_status_get" "', argument " "1"" of type '" "struct mapObj *""'"); 
   29403             :     }
   29404           0 :     arg1 = (struct mapObj *)(argp1);
   29405           0 :     result = (int) ((arg1)->status);
   29406           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   29407             :     
   29408           0 :     XSRETURN(argvi);
   29409           0 :   fail:
   29410             :     
   29411           0 :     SWIG_croak_null();
   29412             :   }
   29413             : }
   29414             : 
   29415             : 
   29416           0 : XS(_wrap_mapObj_height_set) {
   29417             :   {
   29418             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   29419             :     int arg2 ;
   29420           0 :     void *argp1 = 0 ;
   29421             :     int res1 = 0 ;
   29422             :     int val2 ;
   29423             :     int ecode2 = 0 ;
   29424             :     int argvi = 0;
   29425           0 :     dXSARGS;
   29426             :     
   29427           0 :     if ((items < 2) || (items > 2)) {
   29428           0 :       SWIG_croak("Usage: mapObj_height_set(self,height);");
   29429             :     }
   29430           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   29431           0 :     if (!SWIG_IsOK(res1)) {
   29432           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_height_set" "', argument " "1"" of type '" "struct mapObj *""'"); 
   29433             :     }
   29434           0 :     arg1 = (struct mapObj *)(argp1);
   29435           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   29436           0 :     if (!SWIG_IsOK(ecode2)) {
   29437           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_height_set" "', argument " "2"" of type '" "int""'");
   29438             :     } 
   29439             :     arg2 = (int)(val2);
   29440           0 :     if (arg1) (arg1)->height = arg2;
   29441           0 :     ST(argvi) = sv_newmortal();
   29442             :     
   29443             :     
   29444           0 :     XSRETURN(argvi);
   29445           0 :   fail:
   29446             :     
   29447             :     
   29448           0 :     SWIG_croak_null();
   29449             :   }
   29450             : }
   29451             : 
   29452             : 
   29453           0 : XS(_wrap_mapObj_height_get) {
   29454             :   {
   29455             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   29456           0 :     void *argp1 = 0 ;
   29457             :     int res1 = 0 ;
   29458             :     int argvi = 0;
   29459             :     int result;
   29460           0 :     dXSARGS;
   29461             :     
   29462           0 :     if ((items < 1) || (items > 1)) {
   29463           0 :       SWIG_croak("Usage: mapObj_height_get(self);");
   29464             :     }
   29465           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   29466           0 :     if (!SWIG_IsOK(res1)) {
   29467           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_height_get" "', argument " "1"" of type '" "struct mapObj *""'"); 
   29468             :     }
   29469           0 :     arg1 = (struct mapObj *)(argp1);
   29470           0 :     result = (int) ((arg1)->height);
   29471           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   29472             :     
   29473           0 :     XSRETURN(argvi);
   29474           0 :   fail:
   29475             :     
   29476           0 :     SWIG_croak_null();
   29477             :   }
   29478             : }
   29479             : 
   29480             : 
   29481           0 : XS(_wrap_mapObj_width_set) {
   29482             :   {
   29483             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   29484             :     int arg2 ;
   29485           0 :     void *argp1 = 0 ;
   29486             :     int res1 = 0 ;
   29487             :     int val2 ;
   29488             :     int ecode2 = 0 ;
   29489             :     int argvi = 0;
   29490           0 :     dXSARGS;
   29491             :     
   29492           0 :     if ((items < 2) || (items > 2)) {
   29493           0 :       SWIG_croak("Usage: mapObj_width_set(self,width);");
   29494             :     }
   29495           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   29496           0 :     if (!SWIG_IsOK(res1)) {
   29497           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_width_set" "', argument " "1"" of type '" "struct mapObj *""'"); 
   29498             :     }
   29499           0 :     arg1 = (struct mapObj *)(argp1);
   29500           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   29501           0 :     if (!SWIG_IsOK(ecode2)) {
   29502           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_width_set" "', argument " "2"" of type '" "int""'");
   29503             :     } 
   29504             :     arg2 = (int)(val2);
   29505           0 :     if (arg1) (arg1)->width = arg2;
   29506           0 :     ST(argvi) = sv_newmortal();
   29507             :     
   29508             :     
   29509           0 :     XSRETURN(argvi);
   29510           0 :   fail:
   29511             :     
   29512             :     
   29513           0 :     SWIG_croak_null();
   29514             :   }
   29515             : }
   29516             : 
   29517             : 
   29518           0 : XS(_wrap_mapObj_width_get) {
   29519             :   {
   29520             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   29521           0 :     void *argp1 = 0 ;
   29522             :     int res1 = 0 ;
   29523             :     int argvi = 0;
   29524             :     int result;
   29525           0 :     dXSARGS;
   29526             :     
   29527           0 :     if ((items < 1) || (items > 1)) {
   29528           0 :       SWIG_croak("Usage: mapObj_width_get(self);");
   29529             :     }
   29530           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   29531           0 :     if (!SWIG_IsOK(res1)) {
   29532           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_width_get" "', argument " "1"" of type '" "struct mapObj *""'"); 
   29533             :     }
   29534           0 :     arg1 = (struct mapObj *)(argp1);
   29535           0 :     result = (int) ((arg1)->width);
   29536           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   29537             :     
   29538           0 :     XSRETURN(argvi);
   29539           0 :   fail:
   29540             :     
   29541           0 :     SWIG_croak_null();
   29542             :   }
   29543             : }
   29544             : 
   29545             : 
   29546           0 : XS(_wrap_mapObj_maxsize_set) {
   29547             :   {
   29548             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   29549             :     int arg2 ;
   29550           0 :     void *argp1 = 0 ;
   29551             :     int res1 = 0 ;
   29552             :     int val2 ;
   29553             :     int ecode2 = 0 ;
   29554             :     int argvi = 0;
   29555           0 :     dXSARGS;
   29556             :     
   29557           0 :     if ((items < 2) || (items > 2)) {
   29558           0 :       SWIG_croak("Usage: mapObj_maxsize_set(self,maxsize);");
   29559             :     }
   29560           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   29561           0 :     if (!SWIG_IsOK(res1)) {
   29562           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_maxsize_set" "', argument " "1"" of type '" "struct mapObj *""'"); 
   29563             :     }
   29564           0 :     arg1 = (struct mapObj *)(argp1);
   29565           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   29566           0 :     if (!SWIG_IsOK(ecode2)) {
   29567           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_maxsize_set" "', argument " "2"" of type '" "int""'");
   29568             :     } 
   29569             :     arg2 = (int)(val2);
   29570           0 :     if (arg1) (arg1)->maxsize = arg2;
   29571           0 :     ST(argvi) = sv_newmortal();
   29572             :     
   29573             :     
   29574           0 :     XSRETURN(argvi);
   29575           0 :   fail:
   29576             :     
   29577             :     
   29578           0 :     SWIG_croak_null();
   29579             :   }
   29580             : }
   29581             : 
   29582             : 
   29583           0 : XS(_wrap_mapObj_maxsize_get) {
   29584             :   {
   29585             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   29586           0 :     void *argp1 = 0 ;
   29587             :     int res1 = 0 ;
   29588             :     int argvi = 0;
   29589             :     int result;
   29590           0 :     dXSARGS;
   29591             :     
   29592           0 :     if ((items < 1) || (items > 1)) {
   29593           0 :       SWIG_croak("Usage: mapObj_maxsize_get(self);");
   29594             :     }
   29595           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   29596           0 :     if (!SWIG_IsOK(res1)) {
   29597           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_maxsize_get" "', argument " "1"" of type '" "struct mapObj *""'"); 
   29598             :     }
   29599           0 :     arg1 = (struct mapObj *)(argp1);
   29600           0 :     result = (int) ((arg1)->maxsize);
   29601           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   29602             :     
   29603           0 :     XSRETURN(argvi);
   29604           0 :   fail:
   29605             :     
   29606           0 :     SWIG_croak_null();
   29607             :   }
   29608             : }
   29609             : 
   29610             : 
   29611           0 : XS(_wrap_mapObj_refcount_get) {
   29612             :   {
   29613             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   29614           0 :     void *argp1 = 0 ;
   29615             :     int res1 = 0 ;
   29616             :     int argvi = 0;
   29617             :     int result;
   29618           0 :     dXSARGS;
   29619             :     
   29620           0 :     if ((items < 1) || (items > 1)) {
   29621           0 :       SWIG_croak("Usage: mapObj_refcount_get(self);");
   29622             :     }
   29623           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   29624           0 :     if (!SWIG_IsOK(res1)) {
   29625           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_refcount_get" "', argument " "1"" of type '" "struct mapObj *""'"); 
   29626             :     }
   29627           0 :     arg1 = (struct mapObj *)(argp1);
   29628           0 :     result = (int) ((arg1)->refcount);
   29629           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   29630             :     
   29631           0 :     XSRETURN(argvi);
   29632           0 :   fail:
   29633             :     
   29634           0 :     SWIG_croak_null();
   29635             :   }
   29636             : }
   29637             : 
   29638             : 
   29639           0 : XS(_wrap_mapObj_numlayers_get) {
   29640             :   {
   29641             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   29642           0 :     void *argp1 = 0 ;
   29643             :     int res1 = 0 ;
   29644             :     int argvi = 0;
   29645             :     int result;
   29646           0 :     dXSARGS;
   29647             :     
   29648           0 :     if ((items < 1) || (items > 1)) {
   29649           0 :       SWIG_croak("Usage: mapObj_numlayers_get(self);");
   29650             :     }
   29651           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   29652           0 :     if (!SWIG_IsOK(res1)) {
   29653           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_numlayers_get" "', argument " "1"" of type '" "struct mapObj *""'"); 
   29654             :     }
   29655           0 :     arg1 = (struct mapObj *)(argp1);
   29656           0 :     result = (int) ((arg1)->numlayers);
   29657           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   29658             :     
   29659           0 :     XSRETURN(argvi);
   29660           0 :   fail:
   29661             :     
   29662           0 :     SWIG_croak_null();
   29663             :   }
   29664             : }
   29665             : 
   29666             : 
   29667           0 : XS(_wrap_mapObj_maxlayers_get) {
   29668             :   {
   29669             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   29670           0 :     void *argp1 = 0 ;
   29671             :     int res1 = 0 ;
   29672             :     int argvi = 0;
   29673             :     int result;
   29674           0 :     dXSARGS;
   29675             :     
   29676           0 :     if ((items < 1) || (items > 1)) {
   29677           0 :       SWIG_croak("Usage: mapObj_maxlayers_get(self);");
   29678             :     }
   29679           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   29680           0 :     if (!SWIG_IsOK(res1)) {
   29681           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_maxlayers_get" "', argument " "1"" of type '" "struct mapObj *""'"); 
   29682             :     }
   29683           0 :     arg1 = (struct mapObj *)(argp1);
   29684           0 :     result = (int) ((arg1)->maxlayers);
   29685           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   29686             :     
   29687           0 :     XSRETURN(argvi);
   29688           0 :   fail:
   29689             :     
   29690           0 :     SWIG_croak_null();
   29691             :   }
   29692             : }
   29693             : 
   29694             : 
   29695           0 : XS(_wrap_mapObj_symbolset_get) {
   29696             :   {
   29697             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   29698           0 :     void *argp1 = 0 ;
   29699             :     int res1 = 0 ;
   29700             :     int argvi = 0;
   29701             :     symbolSetObj *result = 0 ;
   29702           0 :     dXSARGS;
   29703             :     
   29704           0 :     if ((items < 1) || (items > 1)) {
   29705           0 :       SWIG_croak("Usage: mapObj_symbolset_get(self);");
   29706             :     }
   29707           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   29708           0 :     if (!SWIG_IsOK(res1)) {
   29709           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_symbolset_get" "', argument " "1"" of type '" "struct mapObj *""'"); 
   29710             :     }
   29711           0 :     arg1 = (struct mapObj *)(argp1);
   29712           0 :     result = (symbolSetObj *)& ((arg1)->symbolset);
   29713           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_symbolSetObj, 0 | SWIG_SHADOW); argvi++ ;
   29714             :     
   29715           0 :     XSRETURN(argvi);
   29716           0 :   fail:
   29717             :     
   29718           0 :     SWIG_croak_null();
   29719             :   }
   29720             : }
   29721             : 
   29722             : 
   29723           0 : XS(_wrap_mapObj_fontset_get) {
   29724             :   {
   29725             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   29726           0 :     void *argp1 = 0 ;
   29727             :     int res1 = 0 ;
   29728             :     int argvi = 0;
   29729             :     fontSetObj *result = 0 ;
   29730           0 :     dXSARGS;
   29731             :     
   29732           0 :     if ((items < 1) || (items > 1)) {
   29733           0 :       SWIG_croak("Usage: mapObj_fontset_get(self);");
   29734             :     }
   29735           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   29736           0 :     if (!SWIG_IsOK(res1)) {
   29737           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_fontset_get" "', argument " "1"" of type '" "struct mapObj *""'"); 
   29738             :     }
   29739           0 :     arg1 = (struct mapObj *)(argp1);
   29740           0 :     result = (fontSetObj *)& ((arg1)->fontset);
   29741           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_fontSetObj, 0 | SWIG_SHADOW); argvi++ ;
   29742             :     
   29743           0 :     XSRETURN(argvi);
   29744           0 :   fail:
   29745             :     
   29746           0 :     SWIG_croak_null();
   29747             :   }
   29748             : }
   29749             : 
   29750             : 
   29751           0 : XS(_wrap_mapObj_labelcache_get) {
   29752             :   {
   29753             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   29754           0 :     void *argp1 = 0 ;
   29755             :     int res1 = 0 ;
   29756             :     int argvi = 0;
   29757             :     labelCacheObj *result = 0 ;
   29758           0 :     dXSARGS;
   29759             :     
   29760           0 :     if ((items < 1) || (items > 1)) {
   29761           0 :       SWIG_croak("Usage: mapObj_labelcache_get(self);");
   29762             :     }
   29763           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   29764           0 :     if (!SWIG_IsOK(res1)) {
   29765           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_labelcache_get" "', argument " "1"" of type '" "struct mapObj *""'"); 
   29766             :     }
   29767           0 :     arg1 = (struct mapObj *)(argp1);
   29768           0 :     result = (labelCacheObj *)& ((arg1)->labelcache);
   29769           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_labelCacheObj, 0 | SWIG_SHADOW); argvi++ ;
   29770             :     
   29771           0 :     XSRETURN(argvi);
   29772           0 :   fail:
   29773             :     
   29774           0 :     SWIG_croak_null();
   29775             :   }
   29776             : }
   29777             : 
   29778             : 
   29779           0 : XS(_wrap_mapObj_transparent_set) {
   29780             :   {
   29781             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   29782             :     int arg2 ;
   29783           0 :     void *argp1 = 0 ;
   29784             :     int res1 = 0 ;
   29785             :     int val2 ;
   29786             :     int ecode2 = 0 ;
   29787             :     int argvi = 0;
   29788           0 :     dXSARGS;
   29789             :     
   29790           0 :     if ((items < 2) || (items > 2)) {
   29791           0 :       SWIG_croak("Usage: mapObj_transparent_set(self,transparent);");
   29792             :     }
   29793           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   29794           0 :     if (!SWIG_IsOK(res1)) {
   29795           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_transparent_set" "', argument " "1"" of type '" "struct mapObj *""'"); 
   29796             :     }
   29797           0 :     arg1 = (struct mapObj *)(argp1);
   29798           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   29799           0 :     if (!SWIG_IsOK(ecode2)) {
   29800           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_transparent_set" "', argument " "2"" of type '" "int""'");
   29801             :     } 
   29802             :     arg2 = (int)(val2);
   29803           0 :     if (arg1) (arg1)->transparent = arg2;
   29804           0 :     ST(argvi) = sv_newmortal();
   29805             :     
   29806             :     
   29807           0 :     XSRETURN(argvi);
   29808           0 :   fail:
   29809             :     
   29810             :     
   29811           0 :     SWIG_croak_null();
   29812             :   }
   29813             : }
   29814             : 
   29815             : 
   29816           0 : XS(_wrap_mapObj_transparent_get) {
   29817             :   {
   29818             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   29819           0 :     void *argp1 = 0 ;
   29820             :     int res1 = 0 ;
   29821             :     int argvi = 0;
   29822             :     int result;
   29823           0 :     dXSARGS;
   29824             :     
   29825           0 :     if ((items < 1) || (items > 1)) {
   29826           0 :       SWIG_croak("Usage: mapObj_transparent_get(self);");
   29827             :     }
   29828           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   29829           0 :     if (!SWIG_IsOK(res1)) {
   29830           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_transparent_get" "', argument " "1"" of type '" "struct mapObj *""'"); 
   29831             :     }
   29832           0 :     arg1 = (struct mapObj *)(argp1);
   29833           0 :     result = (int) ((arg1)->transparent);
   29834           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   29835             :     
   29836           0 :     XSRETURN(argvi);
   29837           0 :   fail:
   29838             :     
   29839           0 :     SWIG_croak_null();
   29840             :   }
   29841             : }
   29842             : 
   29843             : 
   29844           0 : XS(_wrap_mapObj_interlace_set) {
   29845             :   {
   29846             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   29847             :     int arg2 ;
   29848           0 :     void *argp1 = 0 ;
   29849             :     int res1 = 0 ;
   29850             :     int val2 ;
   29851             :     int ecode2 = 0 ;
   29852             :     int argvi = 0;
   29853           0 :     dXSARGS;
   29854             :     
   29855           0 :     if ((items < 2) || (items > 2)) {
   29856           0 :       SWIG_croak("Usage: mapObj_interlace_set(self,interlace);");
   29857             :     }
   29858           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   29859           0 :     if (!SWIG_IsOK(res1)) {
   29860           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_interlace_set" "', argument " "1"" of type '" "struct mapObj *""'"); 
   29861             :     }
   29862           0 :     arg1 = (struct mapObj *)(argp1);
   29863           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   29864           0 :     if (!SWIG_IsOK(ecode2)) {
   29865           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_interlace_set" "', argument " "2"" of type '" "int""'");
   29866             :     } 
   29867             :     arg2 = (int)(val2);
   29868           0 :     if (arg1) (arg1)->interlace = arg2;
   29869           0 :     ST(argvi) = sv_newmortal();
   29870             :     
   29871             :     
   29872           0 :     XSRETURN(argvi);
   29873           0 :   fail:
   29874             :     
   29875             :     
   29876           0 :     SWIG_croak_null();
   29877             :   }
   29878             : }
   29879             : 
   29880             : 
   29881           0 : XS(_wrap_mapObj_interlace_get) {
   29882             :   {
   29883             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   29884           0 :     void *argp1 = 0 ;
   29885             :     int res1 = 0 ;
   29886             :     int argvi = 0;
   29887             :     int result;
   29888           0 :     dXSARGS;
   29889             :     
   29890           0 :     if ((items < 1) || (items > 1)) {
   29891           0 :       SWIG_croak("Usage: mapObj_interlace_get(self);");
   29892             :     }
   29893           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   29894           0 :     if (!SWIG_IsOK(res1)) {
   29895           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_interlace_get" "', argument " "1"" of type '" "struct mapObj *""'"); 
   29896             :     }
   29897           0 :     arg1 = (struct mapObj *)(argp1);
   29898           0 :     result = (int) ((arg1)->interlace);
   29899           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   29900             :     
   29901           0 :     XSRETURN(argvi);
   29902           0 :   fail:
   29903             :     
   29904           0 :     SWIG_croak_null();
   29905             :   }
   29906             : }
   29907             : 
   29908             : 
   29909           0 : XS(_wrap_mapObj_imagequality_set) {
   29910             :   {
   29911             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   29912             :     int arg2 ;
   29913           0 :     void *argp1 = 0 ;
   29914             :     int res1 = 0 ;
   29915             :     int val2 ;
   29916             :     int ecode2 = 0 ;
   29917             :     int argvi = 0;
   29918           0 :     dXSARGS;
   29919             :     
   29920           0 :     if ((items < 2) || (items > 2)) {
   29921           0 :       SWIG_croak("Usage: mapObj_imagequality_set(self,imagequality);");
   29922             :     }
   29923           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   29924           0 :     if (!SWIG_IsOK(res1)) {
   29925           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_imagequality_set" "', argument " "1"" of type '" "struct mapObj *""'"); 
   29926             :     }
   29927           0 :     arg1 = (struct mapObj *)(argp1);
   29928           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   29929           0 :     if (!SWIG_IsOK(ecode2)) {
   29930           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_imagequality_set" "', argument " "2"" of type '" "int""'");
   29931             :     } 
   29932             :     arg2 = (int)(val2);
   29933           0 :     if (arg1) (arg1)->imagequality = arg2;
   29934           0 :     ST(argvi) = sv_newmortal();
   29935             :     
   29936             :     
   29937           0 :     XSRETURN(argvi);
   29938           0 :   fail:
   29939             :     
   29940             :     
   29941           0 :     SWIG_croak_null();
   29942             :   }
   29943             : }
   29944             : 
   29945             : 
   29946           0 : XS(_wrap_mapObj_imagequality_get) {
   29947             :   {
   29948             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   29949           0 :     void *argp1 = 0 ;
   29950             :     int res1 = 0 ;
   29951             :     int argvi = 0;
   29952             :     int result;
   29953           0 :     dXSARGS;
   29954             :     
   29955           0 :     if ((items < 1) || (items > 1)) {
   29956           0 :       SWIG_croak("Usage: mapObj_imagequality_get(self);");
   29957             :     }
   29958           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   29959           0 :     if (!SWIG_IsOK(res1)) {
   29960           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_imagequality_get" "', argument " "1"" of type '" "struct mapObj *""'"); 
   29961             :     }
   29962           0 :     arg1 = (struct mapObj *)(argp1);
   29963           0 :     result = (int) ((arg1)->imagequality);
   29964           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   29965             :     
   29966           0 :     XSRETURN(argvi);
   29967           0 :   fail:
   29968             :     
   29969           0 :     SWIG_croak_null();
   29970             :   }
   29971             : }
   29972             : 
   29973             : 
   29974           0 : XS(_wrap_mapObj_extent_set) {
   29975             :   {
   29976             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   29977             :     rectObj *arg2 = (rectObj *) 0 ;
   29978           0 :     void *argp1 = 0 ;
   29979             :     int res1 = 0 ;
   29980           0 :     void *argp2 = 0 ;
   29981             :     int res2 = 0 ;
   29982             :     int argvi = 0;
   29983           0 :     dXSARGS;
   29984             :     
   29985           0 :     if ((items < 2) || (items > 2)) {
   29986           0 :       SWIG_croak("Usage: mapObj_extent_set(self,extent);");
   29987             :     }
   29988           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   29989           0 :     if (!SWIG_IsOK(res1)) {
   29990           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_extent_set" "', argument " "1"" of type '" "struct mapObj *""'"); 
   29991             :     }
   29992           0 :     arg1 = (struct mapObj *)(argp1);
   29993           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_rectObj, 0 |  0 );
   29994           0 :     if (!SWIG_IsOK(res2)) {
   29995           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_extent_set" "', argument " "2"" of type '" "rectObj *""'"); 
   29996             :     }
   29997           0 :     arg2 = (rectObj *)(argp2);
   29998           0 :     if (arg1) (arg1)->extent = *arg2;
   29999           0 :     ST(argvi) = sv_newmortal();
   30000             :     
   30001             :     
   30002           0 :     XSRETURN(argvi);
   30003           0 :   fail:
   30004             :     
   30005             :     
   30006           0 :     SWIG_croak_null();
   30007             :   }
   30008             : }
   30009             : 
   30010             : 
   30011           0 : XS(_wrap_mapObj_extent_get) {
   30012             :   {
   30013             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   30014           0 :     void *argp1 = 0 ;
   30015             :     int res1 = 0 ;
   30016             :     int argvi = 0;
   30017             :     rectObj *result = 0 ;
   30018           0 :     dXSARGS;
   30019             :     
   30020           0 :     if ((items < 1) || (items > 1)) {
   30021           0 :       SWIG_croak("Usage: mapObj_extent_get(self);");
   30022             :     }
   30023           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   30024           0 :     if (!SWIG_IsOK(res1)) {
   30025           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_extent_get" "', argument " "1"" of type '" "struct mapObj *""'"); 
   30026             :     }
   30027           0 :     arg1 = (struct mapObj *)(argp1);
   30028           0 :     result = (rectObj *)& ((arg1)->extent);
   30029           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_rectObj, 0 | SWIG_SHADOW); argvi++ ;
   30030             :     
   30031           0 :     XSRETURN(argvi);
   30032           0 :   fail:
   30033             :     
   30034           0 :     SWIG_croak_null();
   30035             :   }
   30036             : }
   30037             : 
   30038             : 
   30039           0 : XS(_wrap_mapObj_cellsize_set) {
   30040             :   {
   30041             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   30042             :     double arg2 ;
   30043           0 :     void *argp1 = 0 ;
   30044             :     int res1 = 0 ;
   30045             :     double val2 ;
   30046             :     int ecode2 = 0 ;
   30047             :     int argvi = 0;
   30048           0 :     dXSARGS;
   30049             :     
   30050           0 :     if ((items < 2) || (items > 2)) {
   30051           0 :       SWIG_croak("Usage: mapObj_cellsize_set(self,cellsize);");
   30052             :     }
   30053           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   30054           0 :     if (!SWIG_IsOK(res1)) {
   30055           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_cellsize_set" "', argument " "1"" of type '" "struct mapObj *""'"); 
   30056             :     }
   30057           0 :     arg1 = (struct mapObj *)(argp1);
   30058           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   30059           0 :     if (!SWIG_IsOK(ecode2)) {
   30060           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_cellsize_set" "', argument " "2"" of type '" "double""'");
   30061             :     } 
   30062           0 :     arg2 = (double)(val2);
   30063           0 :     if (arg1) (arg1)->cellsize = arg2;
   30064           0 :     ST(argvi) = sv_newmortal();
   30065             :     
   30066             :     
   30067           0 :     XSRETURN(argvi);
   30068           0 :   fail:
   30069             :     
   30070             :     
   30071           0 :     SWIG_croak_null();
   30072             :   }
   30073             : }
   30074             : 
   30075             : 
   30076           0 : XS(_wrap_mapObj_cellsize_get) {
   30077             :   {
   30078             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   30079           0 :     void *argp1 = 0 ;
   30080             :     int res1 = 0 ;
   30081             :     int argvi = 0;
   30082             :     double result;
   30083           0 :     dXSARGS;
   30084             :     
   30085           0 :     if ((items < 1) || (items > 1)) {
   30086           0 :       SWIG_croak("Usage: mapObj_cellsize_get(self);");
   30087             :     }
   30088           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   30089           0 :     if (!SWIG_IsOK(res1)) {
   30090           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_cellsize_get" "', argument " "1"" of type '" "struct mapObj *""'"); 
   30091             :     }
   30092           0 :     arg1 = (struct mapObj *)(argp1);
   30093           0 :     result = (double) ((arg1)->cellsize);
   30094           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   30095             :     
   30096           0 :     XSRETURN(argvi);
   30097           0 :   fail:
   30098             :     
   30099           0 :     SWIG_croak_null();
   30100             :   }
   30101             : }
   30102             : 
   30103             : 
   30104           0 : XS(_wrap_mapObj_units_set) {
   30105             :   {
   30106             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   30107             :     enum MS_UNITS arg2 ;
   30108           0 :     void *argp1 = 0 ;
   30109             :     int res1 = 0 ;
   30110             :     int val2 ;
   30111             :     int ecode2 = 0 ;
   30112             :     int argvi = 0;
   30113           0 :     dXSARGS;
   30114             :     
   30115           0 :     if ((items < 2) || (items > 2)) {
   30116           0 :       SWIG_croak("Usage: mapObj_units_set(self,units);");
   30117             :     }
   30118           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   30119           0 :     if (!SWIG_IsOK(res1)) {
   30120           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_units_set" "', argument " "1"" of type '" "struct mapObj *""'"); 
   30121             :     }
   30122           0 :     arg1 = (struct mapObj *)(argp1);
   30123           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   30124           0 :     if (!SWIG_IsOK(ecode2)) {
   30125           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_units_set" "', argument " "2"" of type '" "enum MS_UNITS""'");
   30126             :     } 
   30127             :     arg2 = (enum MS_UNITS)(val2);
   30128           0 :     if (arg1) (arg1)->units = arg2;
   30129           0 :     ST(argvi) = sv_newmortal();
   30130             :     
   30131             :     
   30132           0 :     XSRETURN(argvi);
   30133           0 :   fail:
   30134             :     
   30135             :     
   30136           0 :     SWIG_croak_null();
   30137             :   }
   30138             : }
   30139             : 
   30140             : 
   30141           0 : XS(_wrap_mapObj_units_get) {
   30142             :   {
   30143             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   30144           0 :     void *argp1 = 0 ;
   30145             :     int res1 = 0 ;
   30146             :     int argvi = 0;
   30147             :     enum MS_UNITS result;
   30148           0 :     dXSARGS;
   30149             :     
   30150           0 :     if ((items < 1) || (items > 1)) {
   30151           0 :       SWIG_croak("Usage: mapObj_units_get(self);");
   30152             :     }
   30153           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   30154           0 :     if (!SWIG_IsOK(res1)) {
   30155           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_units_get" "', argument " "1"" of type '" "struct mapObj *""'"); 
   30156             :     }
   30157           0 :     arg1 = (struct mapObj *)(argp1);
   30158           0 :     result = (enum MS_UNITS) ((arg1)->units);
   30159           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   30160             :     
   30161           0 :     XSRETURN(argvi);
   30162           0 :   fail:
   30163             :     
   30164           0 :     SWIG_croak_null();
   30165             :   }
   30166             : }
   30167             : 
   30168             : 
   30169           0 : XS(_wrap_mapObj_scaledenom_set) {
   30170             :   {
   30171             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   30172             :     double arg2 ;
   30173           0 :     void *argp1 = 0 ;
   30174             :     int res1 = 0 ;
   30175             :     double val2 ;
   30176             :     int ecode2 = 0 ;
   30177             :     int argvi = 0;
   30178           0 :     dXSARGS;
   30179             :     
   30180           0 :     if ((items < 2) || (items > 2)) {
   30181           0 :       SWIG_croak("Usage: mapObj_scaledenom_set(self,scaledenom);");
   30182             :     }
   30183           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   30184           0 :     if (!SWIG_IsOK(res1)) {
   30185           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_scaledenom_set" "', argument " "1"" of type '" "struct mapObj *""'"); 
   30186             :     }
   30187           0 :     arg1 = (struct mapObj *)(argp1);
   30188           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   30189           0 :     if (!SWIG_IsOK(ecode2)) {
   30190           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_scaledenom_set" "', argument " "2"" of type '" "double""'");
   30191             :     } 
   30192           0 :     arg2 = (double)(val2);
   30193           0 :     if (arg1) (arg1)->scaledenom = arg2;
   30194           0 :     ST(argvi) = sv_newmortal();
   30195             :     
   30196             :     
   30197           0 :     XSRETURN(argvi);
   30198           0 :   fail:
   30199             :     
   30200             :     
   30201           0 :     SWIG_croak_null();
   30202             :   }
   30203             : }
   30204             : 
   30205             : 
   30206           0 : XS(_wrap_mapObj_scaledenom_get) {
   30207             :   {
   30208             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   30209           0 :     void *argp1 = 0 ;
   30210             :     int res1 = 0 ;
   30211             :     int argvi = 0;
   30212             :     double result;
   30213           0 :     dXSARGS;
   30214             :     
   30215           0 :     if ((items < 1) || (items > 1)) {
   30216           0 :       SWIG_croak("Usage: mapObj_scaledenom_get(self);");
   30217             :     }
   30218           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   30219           0 :     if (!SWIG_IsOK(res1)) {
   30220           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_scaledenom_get" "', argument " "1"" of type '" "struct mapObj *""'"); 
   30221             :     }
   30222           0 :     arg1 = (struct mapObj *)(argp1);
   30223           0 :     result = (double) ((arg1)->scaledenom);
   30224           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   30225             :     
   30226           0 :     XSRETURN(argvi);
   30227           0 :   fail:
   30228             :     
   30229           0 :     SWIG_croak_null();
   30230             :   }
   30231             : }
   30232             : 
   30233             : 
   30234           0 : XS(_wrap_mapObj_resolution_set) {
   30235             :   {
   30236             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   30237             :     double arg2 ;
   30238           0 :     void *argp1 = 0 ;
   30239             :     int res1 = 0 ;
   30240             :     double val2 ;
   30241             :     int ecode2 = 0 ;
   30242             :     int argvi = 0;
   30243           0 :     dXSARGS;
   30244             :     
   30245           0 :     if ((items < 2) || (items > 2)) {
   30246           0 :       SWIG_croak("Usage: mapObj_resolution_set(self,resolution);");
   30247             :     }
   30248           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   30249           0 :     if (!SWIG_IsOK(res1)) {
   30250           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_resolution_set" "', argument " "1"" of type '" "struct mapObj *""'"); 
   30251             :     }
   30252           0 :     arg1 = (struct mapObj *)(argp1);
   30253           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   30254           0 :     if (!SWIG_IsOK(ecode2)) {
   30255           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_resolution_set" "', argument " "2"" of type '" "double""'");
   30256             :     } 
   30257           0 :     arg2 = (double)(val2);
   30258           0 :     if (arg1) (arg1)->resolution = arg2;
   30259           0 :     ST(argvi) = sv_newmortal();
   30260             :     
   30261             :     
   30262           0 :     XSRETURN(argvi);
   30263           0 :   fail:
   30264             :     
   30265             :     
   30266           0 :     SWIG_croak_null();
   30267             :   }
   30268             : }
   30269             : 
   30270             : 
   30271           0 : XS(_wrap_mapObj_resolution_get) {
   30272             :   {
   30273             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   30274           0 :     void *argp1 = 0 ;
   30275             :     int res1 = 0 ;
   30276             :     int argvi = 0;
   30277             :     double result;
   30278           0 :     dXSARGS;
   30279             :     
   30280           0 :     if ((items < 1) || (items > 1)) {
   30281           0 :       SWIG_croak("Usage: mapObj_resolution_get(self);");
   30282             :     }
   30283           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   30284           0 :     if (!SWIG_IsOK(res1)) {
   30285           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_resolution_get" "', argument " "1"" of type '" "struct mapObj *""'"); 
   30286             :     }
   30287           0 :     arg1 = (struct mapObj *)(argp1);
   30288           0 :     result = (double) ((arg1)->resolution);
   30289           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   30290             :     
   30291           0 :     XSRETURN(argvi);
   30292           0 :   fail:
   30293             :     
   30294           0 :     SWIG_croak_null();
   30295             :   }
   30296             : }
   30297             : 
   30298             : 
   30299           0 : XS(_wrap_mapObj_defresolution_set) {
   30300             :   {
   30301             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   30302             :     double arg2 ;
   30303           0 :     void *argp1 = 0 ;
   30304             :     int res1 = 0 ;
   30305             :     double val2 ;
   30306             :     int ecode2 = 0 ;
   30307             :     int argvi = 0;
   30308           0 :     dXSARGS;
   30309             :     
   30310           0 :     if ((items < 2) || (items > 2)) {
   30311           0 :       SWIG_croak("Usage: mapObj_defresolution_set(self,defresolution);");
   30312             :     }
   30313           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   30314           0 :     if (!SWIG_IsOK(res1)) {
   30315           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_defresolution_set" "', argument " "1"" of type '" "struct mapObj *""'"); 
   30316             :     }
   30317           0 :     arg1 = (struct mapObj *)(argp1);
   30318           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   30319           0 :     if (!SWIG_IsOK(ecode2)) {
   30320           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_defresolution_set" "', argument " "2"" of type '" "double""'");
   30321             :     } 
   30322           0 :     arg2 = (double)(val2);
   30323           0 :     if (arg1) (arg1)->defresolution = arg2;
   30324           0 :     ST(argvi) = sv_newmortal();
   30325             :     
   30326             :     
   30327           0 :     XSRETURN(argvi);
   30328           0 :   fail:
   30329             :     
   30330             :     
   30331           0 :     SWIG_croak_null();
   30332             :   }
   30333             : }
   30334             : 
   30335             : 
   30336           0 : XS(_wrap_mapObj_defresolution_get) {
   30337             :   {
   30338             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   30339           0 :     void *argp1 = 0 ;
   30340             :     int res1 = 0 ;
   30341             :     int argvi = 0;
   30342             :     double result;
   30343           0 :     dXSARGS;
   30344             :     
   30345           0 :     if ((items < 1) || (items > 1)) {
   30346           0 :       SWIG_croak("Usage: mapObj_defresolution_get(self);");
   30347             :     }
   30348           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   30349           0 :     if (!SWIG_IsOK(res1)) {
   30350           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_defresolution_get" "', argument " "1"" of type '" "struct mapObj *""'"); 
   30351             :     }
   30352           0 :     arg1 = (struct mapObj *)(argp1);
   30353           0 :     result = (double) ((arg1)->defresolution);
   30354           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   30355             :     
   30356           0 :     XSRETURN(argvi);
   30357           0 :   fail:
   30358             :     
   30359           0 :     SWIG_croak_null();
   30360             :   }
   30361             : }
   30362             : 
   30363             : 
   30364           0 : XS(_wrap_mapObj_shapepath_set) {
   30365             :   {
   30366             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   30367             :     char *arg2 = (char *) 0 ;
   30368           0 :     void *argp1 = 0 ;
   30369             :     int res1 = 0 ;
   30370             :     int res2 ;
   30371           0 :     char *buf2 = 0 ;
   30372           0 :     int alloc2 = 0 ;
   30373             :     int argvi = 0;
   30374           0 :     dXSARGS;
   30375             :     
   30376           0 :     if ((items < 2) || (items > 2)) {
   30377           0 :       SWIG_croak("Usage: mapObj_shapepath_set(self,shapepath);");
   30378             :     }
   30379           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   30380           0 :     if (!SWIG_IsOK(res1)) {
   30381           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_shapepath_set" "', argument " "1"" of type '" "struct mapObj *""'"); 
   30382             :     }
   30383           0 :     arg1 = (struct mapObj *)(argp1);
   30384           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   30385           0 :     if (!SWIG_IsOK(res2)) {
   30386           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_shapepath_set" "', argument " "2"" of type '" "char *""'");
   30387             :     }
   30388           0 :     arg2 = (char *)(buf2);
   30389             :     {
   30390           0 :       if (arg1->shapepath) free((char*)arg1->shapepath);
   30391           0 :       if (arg2) {
   30392           0 :         arg1->shapepath = (char *) malloc(strlen(arg2)+1);
   30393             :         strcpy((char*)arg1->shapepath,arg2);
   30394             :       } else {
   30395           0 :         arg1->shapepath = 0;
   30396             :       }
   30397             :     }
   30398           0 :     ST(argvi) = sv_newmortal();
   30399             :     
   30400           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   30401           0 :     XSRETURN(argvi);
   30402           0 :   fail:
   30403             :     
   30404           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   30405           0 :     SWIG_croak_null();
   30406             :   }
   30407             : }
   30408             : 
   30409             : 
   30410           0 : XS(_wrap_mapObj_shapepath_get) {
   30411             :   {
   30412             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   30413           0 :     void *argp1 = 0 ;
   30414             :     int res1 = 0 ;
   30415             :     int argvi = 0;
   30416             :     char *result = 0 ;
   30417           0 :     dXSARGS;
   30418             :     
   30419           0 :     if ((items < 1) || (items > 1)) {
   30420           0 :       SWIG_croak("Usage: mapObj_shapepath_get(self);");
   30421             :     }
   30422           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   30423           0 :     if (!SWIG_IsOK(res1)) {
   30424           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_shapepath_get" "', argument " "1"" of type '" "struct mapObj *""'"); 
   30425             :     }
   30426           0 :     arg1 = (struct mapObj *)(argp1);
   30427           0 :     result = (char *) ((arg1)->shapepath);
   30428           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   30429             :     
   30430           0 :     XSRETURN(argvi);
   30431           0 :   fail:
   30432             :     
   30433           0 :     SWIG_croak_null();
   30434             :   }
   30435             : }
   30436             : 
   30437             : 
   30438           0 : XS(_wrap_mapObj_mappath_set) {
   30439             :   {
   30440             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   30441             :     char *arg2 = (char *) 0 ;
   30442           0 :     void *argp1 = 0 ;
   30443             :     int res1 = 0 ;
   30444             :     int res2 ;
   30445           0 :     char *buf2 = 0 ;
   30446           0 :     int alloc2 = 0 ;
   30447             :     int argvi = 0;
   30448           0 :     dXSARGS;
   30449             :     
   30450           0 :     if ((items < 2) || (items > 2)) {
   30451           0 :       SWIG_croak("Usage: mapObj_mappath_set(self,mappath);");
   30452             :     }
   30453           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   30454           0 :     if (!SWIG_IsOK(res1)) {
   30455           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_mappath_set" "', argument " "1"" of type '" "struct mapObj *""'"); 
   30456             :     }
   30457           0 :     arg1 = (struct mapObj *)(argp1);
   30458           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   30459           0 :     if (!SWIG_IsOK(res2)) {
   30460           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_mappath_set" "', argument " "2"" of type '" "char *""'");
   30461             :     }
   30462           0 :     arg2 = (char *)(buf2);
   30463             :     {
   30464           0 :       if (arg1->mappath) free((char*)arg1->mappath);
   30465           0 :       if (arg2) {
   30466           0 :         arg1->mappath = (char *) malloc(strlen(arg2)+1);
   30467             :         strcpy((char*)arg1->mappath,arg2);
   30468             :       } else {
   30469           0 :         arg1->mappath = 0;
   30470             :       }
   30471             :     }
   30472           0 :     ST(argvi) = sv_newmortal();
   30473             :     
   30474           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   30475           0 :     XSRETURN(argvi);
   30476           0 :   fail:
   30477             :     
   30478           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   30479           0 :     SWIG_croak_null();
   30480             :   }
   30481             : }
   30482             : 
   30483             : 
   30484           0 : XS(_wrap_mapObj_mappath_get) {
   30485             :   {
   30486             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   30487           0 :     void *argp1 = 0 ;
   30488             :     int res1 = 0 ;
   30489             :     int argvi = 0;
   30490             :     char *result = 0 ;
   30491           0 :     dXSARGS;
   30492             :     
   30493           0 :     if ((items < 1) || (items > 1)) {
   30494           0 :       SWIG_croak("Usage: mapObj_mappath_get(self);");
   30495             :     }
   30496           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   30497           0 :     if (!SWIG_IsOK(res1)) {
   30498           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_mappath_get" "', argument " "1"" of type '" "struct mapObj *""'"); 
   30499             :     }
   30500           0 :     arg1 = (struct mapObj *)(argp1);
   30501           0 :     result = (char *) ((arg1)->mappath);
   30502           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   30503             :     
   30504           0 :     XSRETURN(argvi);
   30505           0 :   fail:
   30506             :     
   30507           0 :     SWIG_croak_null();
   30508             :   }
   30509             : }
   30510             : 
   30511             : 
   30512           0 : XS(_wrap_mapObj_sldurl_set) {
   30513             :   {
   30514             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   30515             :     char *arg2 = (char *) 0 ;
   30516           0 :     void *argp1 = 0 ;
   30517             :     int res1 = 0 ;
   30518             :     int res2 ;
   30519           0 :     char *buf2 = 0 ;
   30520           0 :     int alloc2 = 0 ;
   30521             :     int argvi = 0;
   30522           0 :     dXSARGS;
   30523             :     
   30524           0 :     if ((items < 2) || (items > 2)) {
   30525           0 :       SWIG_croak("Usage: mapObj_sldurl_set(self,sldurl);");
   30526             :     }
   30527           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   30528           0 :     if (!SWIG_IsOK(res1)) {
   30529           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_sldurl_set" "', argument " "1"" of type '" "struct mapObj *""'"); 
   30530             :     }
   30531           0 :     arg1 = (struct mapObj *)(argp1);
   30532           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   30533           0 :     if (!SWIG_IsOK(res2)) {
   30534           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_sldurl_set" "', argument " "2"" of type '" "char *""'");
   30535             :     }
   30536           0 :     arg2 = (char *)(buf2);
   30537             :     {
   30538           0 :       if (arg1->sldurl) free((char*)arg1->sldurl);
   30539           0 :       if (arg2) {
   30540           0 :         arg1->sldurl = (char *) malloc(strlen(arg2)+1);
   30541             :         strcpy((char*)arg1->sldurl,arg2);
   30542             :       } else {
   30543           0 :         arg1->sldurl = 0;
   30544             :       }
   30545             :     }
   30546           0 :     ST(argvi) = sv_newmortal();
   30547             :     
   30548           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   30549           0 :     XSRETURN(argvi);
   30550           0 :   fail:
   30551             :     
   30552           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   30553           0 :     SWIG_croak_null();
   30554             :   }
   30555             : }
   30556             : 
   30557             : 
   30558           0 : XS(_wrap_mapObj_sldurl_get) {
   30559             :   {
   30560             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   30561           0 :     void *argp1 = 0 ;
   30562             :     int res1 = 0 ;
   30563             :     int argvi = 0;
   30564             :     char *result = 0 ;
   30565           0 :     dXSARGS;
   30566             :     
   30567           0 :     if ((items < 1) || (items > 1)) {
   30568           0 :       SWIG_croak("Usage: mapObj_sldurl_get(self);");
   30569             :     }
   30570           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   30571           0 :     if (!SWIG_IsOK(res1)) {
   30572           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_sldurl_get" "', argument " "1"" of type '" "struct mapObj *""'"); 
   30573             :     }
   30574           0 :     arg1 = (struct mapObj *)(argp1);
   30575           0 :     result = (char *) ((arg1)->sldurl);
   30576           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   30577             :     
   30578           0 :     XSRETURN(argvi);
   30579           0 :   fail:
   30580             :     
   30581           0 :     SWIG_croak_null();
   30582             :   }
   30583             : }
   30584             : 
   30585             : 
   30586           0 : XS(_wrap_mapObj_imagecolor_set) {
   30587             :   {
   30588             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   30589             :     colorObj *arg2 = (colorObj *) 0 ;
   30590           0 :     void *argp1 = 0 ;
   30591             :     int res1 = 0 ;
   30592           0 :     void *argp2 = 0 ;
   30593             :     int res2 = 0 ;
   30594             :     int argvi = 0;
   30595           0 :     dXSARGS;
   30596             :     
   30597           0 :     if ((items < 2) || (items > 2)) {
   30598           0 :       SWIG_croak("Usage: mapObj_imagecolor_set(self,imagecolor);");
   30599             :     }
   30600           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   30601           0 :     if (!SWIG_IsOK(res1)) {
   30602           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_imagecolor_set" "', argument " "1"" of type '" "struct mapObj *""'"); 
   30603             :     }
   30604           0 :     arg1 = (struct mapObj *)(argp1);
   30605           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_colorObj, 0 |  0 );
   30606           0 :     if (!SWIG_IsOK(res2)) {
   30607           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_imagecolor_set" "', argument " "2"" of type '" "colorObj *""'"); 
   30608             :     }
   30609           0 :     arg2 = (colorObj *)(argp2);
   30610           0 :     if (arg1) (arg1)->imagecolor = *arg2;
   30611           0 :     ST(argvi) = sv_newmortal();
   30612             :     
   30613             :     
   30614           0 :     XSRETURN(argvi);
   30615           0 :   fail:
   30616             :     
   30617             :     
   30618           0 :     SWIG_croak_null();
   30619             :   }
   30620             : }
   30621             : 
   30622             : 
   30623           0 : XS(_wrap_mapObj_imagecolor_get) {
   30624             :   {
   30625             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   30626           0 :     void *argp1 = 0 ;
   30627             :     int res1 = 0 ;
   30628             :     int argvi = 0;
   30629             :     colorObj *result = 0 ;
   30630           0 :     dXSARGS;
   30631             :     
   30632           0 :     if ((items < 1) || (items > 1)) {
   30633           0 :       SWIG_croak("Usage: mapObj_imagecolor_get(self);");
   30634             :     }
   30635           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   30636           0 :     if (!SWIG_IsOK(res1)) {
   30637           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_imagecolor_get" "', argument " "1"" of type '" "struct mapObj *""'"); 
   30638             :     }
   30639           0 :     arg1 = (struct mapObj *)(argp1);
   30640           0 :     result = (colorObj *)& ((arg1)->imagecolor);
   30641           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_colorObj, 0 | SWIG_SHADOW); argvi++ ;
   30642             :     
   30643           0 :     XSRETURN(argvi);
   30644           0 :   fail:
   30645             :     
   30646           0 :     SWIG_croak_null();
   30647             :   }
   30648             : }
   30649             : 
   30650             : 
   30651           0 : XS(_wrap_mapObj_numoutputformats_get) {
   30652             :   {
   30653             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   30654           0 :     void *argp1 = 0 ;
   30655             :     int res1 = 0 ;
   30656             :     int argvi = 0;
   30657             :     int result;
   30658           0 :     dXSARGS;
   30659             :     
   30660           0 :     if ((items < 1) || (items > 1)) {
   30661           0 :       SWIG_croak("Usage: mapObj_numoutputformats_get(self);");
   30662             :     }
   30663           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   30664           0 :     if (!SWIG_IsOK(res1)) {
   30665           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_numoutputformats_get" "', argument " "1"" of type '" "struct mapObj *""'"); 
   30666             :     }
   30667           0 :     arg1 = (struct mapObj *)(argp1);
   30668           0 :     result = (int) ((arg1)->numoutputformats);
   30669           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   30670             :     
   30671           0 :     XSRETURN(argvi);
   30672           0 :   fail:
   30673             :     
   30674           0 :     SWIG_croak_null();
   30675             :   }
   30676             : }
   30677             : 
   30678             : 
   30679           0 : XS(_wrap_mapObj_outputformat_get) {
   30680             :   {
   30681             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   30682           0 :     void *argp1 = 0 ;
   30683             :     int res1 = 0 ;
   30684             :     int argvi = 0;
   30685             :     outputFormatObj *result = 0 ;
   30686           0 :     dXSARGS;
   30687             :     
   30688           0 :     if ((items < 1) || (items > 1)) {
   30689           0 :       SWIG_croak("Usage: mapObj_outputformat_get(self);");
   30690             :     }
   30691           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   30692           0 :     if (!SWIG_IsOK(res1)) {
   30693           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_outputformat_get" "', argument " "1"" of type '" "struct mapObj *""'"); 
   30694             :     }
   30695           0 :     arg1 = (struct mapObj *)(argp1);
   30696           0 :     result = (outputFormatObj *) ((arg1)->outputformat);
   30697           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_outputFormatObj, 0 | SWIG_SHADOW); argvi++ ;
   30698             :     
   30699           0 :     XSRETURN(argvi);
   30700           0 :   fail:
   30701             :     
   30702           0 :     SWIG_croak_null();
   30703             :   }
   30704             : }
   30705             : 
   30706             : 
   30707           0 : XS(_wrap_mapObj_imagetype_get) {
   30708             :   {
   30709             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   30710           0 :     void *argp1 = 0 ;
   30711             :     int res1 = 0 ;
   30712             :     int argvi = 0;
   30713             :     char *result = 0 ;
   30714           0 :     dXSARGS;
   30715             :     
   30716           0 :     if ((items < 1) || (items > 1)) {
   30717           0 :       SWIG_croak("Usage: mapObj_imagetype_get(self);");
   30718             :     }
   30719           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   30720           0 :     if (!SWIG_IsOK(res1)) {
   30721           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_imagetype_get" "', argument " "1"" of type '" "struct mapObj *""'"); 
   30722             :     }
   30723           0 :     arg1 = (struct mapObj *)(argp1);
   30724           0 :     result = (char *) ((arg1)->imagetype);
   30725           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   30726             :     
   30727           0 :     XSRETURN(argvi);
   30728           0 :   fail:
   30729             :     
   30730           0 :     SWIG_croak_null();
   30731             :   }
   30732             : }
   30733             : 
   30734             : 
   30735           0 : XS(_wrap_mapObj_reference_get) {
   30736             :   {
   30737             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   30738           0 :     void *argp1 = 0 ;
   30739             :     int res1 = 0 ;
   30740             :     int argvi = 0;
   30741             :     referenceMapObj *result = 0 ;
   30742           0 :     dXSARGS;
   30743             :     
   30744           0 :     if ((items < 1) || (items > 1)) {
   30745           0 :       SWIG_croak("Usage: mapObj_reference_get(self);");
   30746             :     }
   30747           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   30748           0 :     if (!SWIG_IsOK(res1)) {
   30749           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_reference_get" "', argument " "1"" of type '" "struct mapObj *""'"); 
   30750             :     }
   30751           0 :     arg1 = (struct mapObj *)(argp1);
   30752           0 :     result = (referenceMapObj *)& ((arg1)->reference);
   30753           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_referenceMapObj, 0 | SWIG_SHADOW); argvi++ ;
   30754             :     
   30755           0 :     XSRETURN(argvi);
   30756           0 :   fail:
   30757             :     
   30758           0 :     SWIG_croak_null();
   30759             :   }
   30760             : }
   30761             : 
   30762             : 
   30763           0 : XS(_wrap_mapObj_scalebar_get) {
   30764             :   {
   30765             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   30766           0 :     void *argp1 = 0 ;
   30767             :     int res1 = 0 ;
   30768             :     int argvi = 0;
   30769             :     scalebarObj *result = 0 ;
   30770           0 :     dXSARGS;
   30771             :     
   30772           0 :     if ((items < 1) || (items > 1)) {
   30773           0 :       SWIG_croak("Usage: mapObj_scalebar_get(self);");
   30774             :     }
   30775           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   30776           0 :     if (!SWIG_IsOK(res1)) {
   30777           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_scalebar_get" "', argument " "1"" of type '" "struct mapObj *""'"); 
   30778             :     }
   30779           0 :     arg1 = (struct mapObj *)(argp1);
   30780           0 :     result = (scalebarObj *)& ((arg1)->scalebar);
   30781           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_scalebarObj, 0 | SWIG_SHADOW); argvi++ ;
   30782             :     
   30783           0 :     XSRETURN(argvi);
   30784           0 :   fail:
   30785             :     
   30786           0 :     SWIG_croak_null();
   30787             :   }
   30788             : }
   30789             : 
   30790             : 
   30791           0 : XS(_wrap_mapObj_legend_get) {
   30792             :   {
   30793             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   30794           0 :     void *argp1 = 0 ;
   30795             :     int res1 = 0 ;
   30796             :     int argvi = 0;
   30797             :     legendObj *result = 0 ;
   30798           0 :     dXSARGS;
   30799             :     
   30800           0 :     if ((items < 1) || (items > 1)) {
   30801           0 :       SWIG_croak("Usage: mapObj_legend_get(self);");
   30802             :     }
   30803           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   30804           0 :     if (!SWIG_IsOK(res1)) {
   30805           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_legend_get" "', argument " "1"" of type '" "struct mapObj *""'"); 
   30806             :     }
   30807           0 :     arg1 = (struct mapObj *)(argp1);
   30808           0 :     result = (legendObj *)& ((arg1)->legend);
   30809           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_legendObj, 0 | SWIG_SHADOW); argvi++ ;
   30810             :     
   30811           0 :     XSRETURN(argvi);
   30812           0 :   fail:
   30813             :     
   30814           0 :     SWIG_croak_null();
   30815             :   }
   30816             : }
   30817             : 
   30818             : 
   30819           0 : XS(_wrap_mapObj_querymap_get) {
   30820             :   {
   30821             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   30822           0 :     void *argp1 = 0 ;
   30823             :     int res1 = 0 ;
   30824             :     int argvi = 0;
   30825             :     queryMapObj *result = 0 ;
   30826           0 :     dXSARGS;
   30827             :     
   30828           0 :     if ((items < 1) || (items > 1)) {
   30829           0 :       SWIG_croak("Usage: mapObj_querymap_get(self);");
   30830             :     }
   30831           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   30832           0 :     if (!SWIG_IsOK(res1)) {
   30833           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_querymap_get" "', argument " "1"" of type '" "struct mapObj *""'"); 
   30834             :     }
   30835           0 :     arg1 = (struct mapObj *)(argp1);
   30836           0 :     result = (queryMapObj *)& ((arg1)->querymap);
   30837           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_queryMapObj, 0 | SWIG_SHADOW); argvi++ ;
   30838             :     
   30839           0 :     XSRETURN(argvi);
   30840           0 :   fail:
   30841             :     
   30842           0 :     SWIG_croak_null();
   30843             :   }
   30844             : }
   30845             : 
   30846             : 
   30847           0 : XS(_wrap_mapObj_web_get) {
   30848             :   {
   30849             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   30850           0 :     void *argp1 = 0 ;
   30851             :     int res1 = 0 ;
   30852             :     int argvi = 0;
   30853             :     webObj *result = 0 ;
   30854           0 :     dXSARGS;
   30855             :     
   30856           0 :     if ((items < 1) || (items > 1)) {
   30857           0 :       SWIG_croak("Usage: mapObj_web_get(self);");
   30858             :     }
   30859           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   30860           0 :     if (!SWIG_IsOK(res1)) {
   30861           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_web_get" "', argument " "1"" of type '" "struct mapObj *""'"); 
   30862             :     }
   30863           0 :     arg1 = (struct mapObj *)(argp1);
   30864           0 :     result = (webObj *)& ((arg1)->web);
   30865           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_webObj, 0 | SWIG_SHADOW); argvi++ ;
   30866             :     
   30867           0 :     XSRETURN(argvi);
   30868           0 :   fail:
   30869             :     
   30870           0 :     SWIG_croak_null();
   30871             :   }
   30872             : }
   30873             : 
   30874             : 
   30875           0 : XS(_wrap_mapObj_layerorder_set) {
   30876             :   {
   30877             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   30878             :     int *arg2 = (int *) 0 ;
   30879           0 :     void *argp1 = 0 ;
   30880             :     int res1 = 0 ;
   30881           0 :     void *argp2 = 0 ;
   30882             :     int res2 = 0 ;
   30883             :     int argvi = 0;
   30884           0 :     dXSARGS;
   30885             :     
   30886           0 :     if ((items < 2) || (items > 2)) {
   30887           0 :       SWIG_croak("Usage: mapObj_layerorder_set(self,layerorder);");
   30888             :     }
   30889           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   30890           0 :     if (!SWIG_IsOK(res1)) {
   30891           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_layerorder_set" "', argument " "1"" of type '" "struct mapObj *""'"); 
   30892             :     }
   30893           0 :     arg1 = (struct mapObj *)(argp1);
   30894           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_int, SWIG_POINTER_DISOWN |  0 );
   30895           0 :     if (!SWIG_IsOK(res2)) {
   30896           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_layerorder_set" "', argument " "2"" of type '" "int *""'"); 
   30897             :     }
   30898           0 :     arg2 = (int *)(argp2);
   30899           0 :     if (arg1) (arg1)->layerorder = arg2;
   30900           0 :     ST(argvi) = sv_newmortal();
   30901             :     
   30902             :     
   30903           0 :     XSRETURN(argvi);
   30904           0 :   fail:
   30905             :     
   30906             :     
   30907           0 :     SWIG_croak_null();
   30908             :   }
   30909             : }
   30910             : 
   30911             : 
   30912           0 : XS(_wrap_mapObj_layerorder_get) {
   30913             :   {
   30914             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   30915           0 :     void *argp1 = 0 ;
   30916             :     int res1 = 0 ;
   30917             :     int argvi = 0;
   30918             :     int *result = 0 ;
   30919           0 :     dXSARGS;
   30920             :     
   30921           0 :     if ((items < 1) || (items > 1)) {
   30922           0 :       SWIG_croak("Usage: mapObj_layerorder_get(self);");
   30923             :     }
   30924           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   30925           0 :     if (!SWIG_IsOK(res1)) {
   30926           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_layerorder_get" "', argument " "1"" of type '" "struct mapObj *""'"); 
   30927             :     }
   30928           0 :     arg1 = (struct mapObj *)(argp1);
   30929           0 :     result = (int *) ((arg1)->layerorder);
   30930           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int, 0 | 0); argvi++ ;
   30931             :     
   30932           0 :     XSRETURN(argvi);
   30933           0 :   fail:
   30934             :     
   30935           0 :     SWIG_croak_null();
   30936             :   }
   30937             : }
   30938             : 
   30939             : 
   30940           0 : XS(_wrap_mapObj_debug_set) {
   30941             :   {
   30942             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   30943             :     int arg2 ;
   30944           0 :     void *argp1 = 0 ;
   30945             :     int res1 = 0 ;
   30946             :     int val2 ;
   30947             :     int ecode2 = 0 ;
   30948             :     int argvi = 0;
   30949           0 :     dXSARGS;
   30950             :     
   30951           0 :     if ((items < 2) || (items > 2)) {
   30952           0 :       SWIG_croak("Usage: mapObj_debug_set(self,debug);");
   30953             :     }
   30954           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   30955           0 :     if (!SWIG_IsOK(res1)) {
   30956           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_debug_set" "', argument " "1"" of type '" "struct mapObj *""'"); 
   30957             :     }
   30958           0 :     arg1 = (struct mapObj *)(argp1);
   30959           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   30960           0 :     if (!SWIG_IsOK(ecode2)) {
   30961           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_debug_set" "', argument " "2"" of type '" "int""'");
   30962             :     } 
   30963             :     arg2 = (int)(val2);
   30964           0 :     if (arg1) (arg1)->debug = arg2;
   30965           0 :     ST(argvi) = sv_newmortal();
   30966             :     
   30967             :     
   30968           0 :     XSRETURN(argvi);
   30969           0 :   fail:
   30970             :     
   30971             :     
   30972           0 :     SWIG_croak_null();
   30973             :   }
   30974             : }
   30975             : 
   30976             : 
   30977           0 : XS(_wrap_mapObj_debug_get) {
   30978             :   {
   30979             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   30980           0 :     void *argp1 = 0 ;
   30981             :     int res1 = 0 ;
   30982             :     int argvi = 0;
   30983             :     int result;
   30984           0 :     dXSARGS;
   30985             :     
   30986           0 :     if ((items < 1) || (items > 1)) {
   30987           0 :       SWIG_croak("Usage: mapObj_debug_get(self);");
   30988             :     }
   30989           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   30990           0 :     if (!SWIG_IsOK(res1)) {
   30991           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_debug_get" "', argument " "1"" of type '" "struct mapObj *""'"); 
   30992             :     }
   30993           0 :     arg1 = (struct mapObj *)(argp1);
   30994           0 :     result = (int) ((arg1)->debug);
   30995           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   30996             :     
   30997           0 :     XSRETURN(argvi);
   30998           0 :   fail:
   30999             :     
   31000           0 :     SWIG_croak_null();
   31001             :   }
   31002             : }
   31003             : 
   31004             : 
   31005           0 : XS(_wrap_mapObj_datapattern_set) {
   31006             :   {
   31007             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   31008             :     char *arg2 = (char *) 0 ;
   31009           0 :     void *argp1 = 0 ;
   31010             :     int res1 = 0 ;
   31011             :     int res2 ;
   31012           0 :     char *buf2 = 0 ;
   31013           0 :     int alloc2 = 0 ;
   31014             :     int argvi = 0;
   31015           0 :     dXSARGS;
   31016             :     
   31017           0 :     if ((items < 2) || (items > 2)) {
   31018           0 :       SWIG_croak("Usage: mapObj_datapattern_set(self,datapattern);");
   31019             :     }
   31020           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   31021           0 :     if (!SWIG_IsOK(res1)) {
   31022           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_datapattern_set" "', argument " "1"" of type '" "struct mapObj *""'"); 
   31023             :     }
   31024           0 :     arg1 = (struct mapObj *)(argp1);
   31025           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   31026           0 :     if (!SWIG_IsOK(res2)) {
   31027           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_datapattern_set" "', argument " "2"" of type '" "char *""'");
   31028             :     }
   31029           0 :     arg2 = (char *)(buf2);
   31030             :     {
   31031           0 :       if (arg1->datapattern) free((char*)arg1->datapattern);
   31032           0 :       if (arg2) {
   31033           0 :         arg1->datapattern = (char *) malloc(strlen(arg2)+1);
   31034             :         strcpy((char*)arg1->datapattern,arg2);
   31035             :       } else {
   31036           0 :         arg1->datapattern = 0;
   31037             :       }
   31038             :     }
   31039           0 :     ST(argvi) = sv_newmortal();
   31040             :     
   31041           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   31042           0 :     XSRETURN(argvi);
   31043           0 :   fail:
   31044             :     
   31045           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   31046           0 :     SWIG_croak_null();
   31047             :   }
   31048             : }
   31049             : 
   31050             : 
   31051           0 : XS(_wrap_mapObj_datapattern_get) {
   31052             :   {
   31053             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   31054           0 :     void *argp1 = 0 ;
   31055             :     int res1 = 0 ;
   31056             :     int argvi = 0;
   31057             :     char *result = 0 ;
   31058           0 :     dXSARGS;
   31059             :     
   31060           0 :     if ((items < 1) || (items > 1)) {
   31061           0 :       SWIG_croak("Usage: mapObj_datapattern_get(self);");
   31062             :     }
   31063           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   31064           0 :     if (!SWIG_IsOK(res1)) {
   31065           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_datapattern_get" "', argument " "1"" of type '" "struct mapObj *""'"); 
   31066             :     }
   31067           0 :     arg1 = (struct mapObj *)(argp1);
   31068           0 :     result = (char *) ((arg1)->datapattern);
   31069           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   31070             :     
   31071           0 :     XSRETURN(argvi);
   31072           0 :   fail:
   31073             :     
   31074           0 :     SWIG_croak_null();
   31075             :   }
   31076             : }
   31077             : 
   31078             : 
   31079           0 : XS(_wrap_mapObj_templatepattern_set) {
   31080             :   {
   31081             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   31082             :     char *arg2 = (char *) 0 ;
   31083           0 :     void *argp1 = 0 ;
   31084             :     int res1 = 0 ;
   31085             :     int res2 ;
   31086           0 :     char *buf2 = 0 ;
   31087           0 :     int alloc2 = 0 ;
   31088             :     int argvi = 0;
   31089           0 :     dXSARGS;
   31090             :     
   31091           0 :     if ((items < 2) || (items > 2)) {
   31092           0 :       SWIG_croak("Usage: mapObj_templatepattern_set(self,templatepattern);");
   31093             :     }
   31094           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   31095           0 :     if (!SWIG_IsOK(res1)) {
   31096           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_templatepattern_set" "', argument " "1"" of type '" "struct mapObj *""'"); 
   31097             :     }
   31098           0 :     arg1 = (struct mapObj *)(argp1);
   31099           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   31100           0 :     if (!SWIG_IsOK(res2)) {
   31101           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_templatepattern_set" "', argument " "2"" of type '" "char *""'");
   31102             :     }
   31103           0 :     arg2 = (char *)(buf2);
   31104             :     {
   31105           0 :       if (arg1->templatepattern) free((char*)arg1->templatepattern);
   31106           0 :       if (arg2) {
   31107           0 :         arg1->templatepattern = (char *) malloc(strlen(arg2)+1);
   31108             :         strcpy((char*)arg1->templatepattern,arg2);
   31109             :       } else {
   31110           0 :         arg1->templatepattern = 0;
   31111             :       }
   31112             :     }
   31113           0 :     ST(argvi) = sv_newmortal();
   31114             :     
   31115           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   31116           0 :     XSRETURN(argvi);
   31117           0 :   fail:
   31118             :     
   31119           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   31120           0 :     SWIG_croak_null();
   31121             :   }
   31122             : }
   31123             : 
   31124             : 
   31125           0 : XS(_wrap_mapObj_templatepattern_get) {
   31126             :   {
   31127             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   31128           0 :     void *argp1 = 0 ;
   31129             :     int res1 = 0 ;
   31130             :     int argvi = 0;
   31131             :     char *result = 0 ;
   31132           0 :     dXSARGS;
   31133             :     
   31134           0 :     if ((items < 1) || (items > 1)) {
   31135           0 :       SWIG_croak("Usage: mapObj_templatepattern_get(self);");
   31136             :     }
   31137           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   31138           0 :     if (!SWIG_IsOK(res1)) {
   31139           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_templatepattern_get" "', argument " "1"" of type '" "struct mapObj *""'"); 
   31140             :     }
   31141           0 :     arg1 = (struct mapObj *)(argp1);
   31142           0 :     result = (char *) ((arg1)->templatepattern);
   31143           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   31144             :     
   31145           0 :     XSRETURN(argvi);
   31146           0 :   fail:
   31147             :     
   31148           0 :     SWIG_croak_null();
   31149             :   }
   31150             : }
   31151             : 
   31152             : 
   31153           0 : XS(_wrap_mapObj_configoptions_get) {
   31154             :   {
   31155             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   31156           0 :     void *argp1 = 0 ;
   31157             :     int res1 = 0 ;
   31158             :     int argvi = 0;
   31159             :     hashTableObj *result = 0 ;
   31160           0 :     dXSARGS;
   31161             :     
   31162           0 :     if ((items < 1) || (items > 1)) {
   31163           0 :       SWIG_croak("Usage: mapObj_configoptions_get(self);");
   31164             :     }
   31165           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   31166           0 :     if (!SWIG_IsOK(res1)) {
   31167           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_configoptions_get" "', argument " "1"" of type '" "struct mapObj *""'"); 
   31168             :     }
   31169           0 :     arg1 = (struct mapObj *)(argp1);
   31170           0 :     result = (hashTableObj *)& ((arg1)->configoptions);
   31171           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_hashTableObj, 0 | SWIG_SHADOW); argvi++ ;
   31172             :     
   31173           0 :     XSRETURN(argvi);
   31174           0 :   fail:
   31175             :     
   31176           0 :     SWIG_croak_null();
   31177             :   }
   31178             : }
   31179             : 
   31180             : 
   31181           1 : XS(_wrap_new_mapObj) {
   31182             :   {
   31183             :     char *arg1 = (char *) "" ;
   31184             :     int res1 ;
   31185           1 :     char *buf1 = 0 ;
   31186           1 :     int alloc1 = 0 ;
   31187             :     int argvi = 0;
   31188             :     struct mapObj *result = 0 ;
   31189           1 :     dXSARGS;
   31190             :     
   31191           1 :     if ((items < 0) || (items > 1)) {
   31192           0 :       SWIG_croak("Usage: new_mapObj(filename);");
   31193             :     }
   31194           1 :     if (items > 0) {
   31195           1 :       res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
   31196           1 :       if (!SWIG_IsOK(res1)) {
   31197           0 :         SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_mapObj" "', argument " "1"" of type '" "char *""'");
   31198             :       }
   31199           1 :       arg1 = (char *)(buf1);
   31200             :     }
   31201           1 :     result = (struct mapObj *)new_mapObj(arg1);
   31202           1 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mapObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   31203           1 :     if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
   31204           1 :     XSRETURN(argvi);
   31205           0 :   fail:
   31206           0 :     if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
   31207           0 :     SWIG_croak_null();
   31208             :   }
   31209             : }
   31210             : 
   31211             : 
   31212           1 : XS(_wrap_delete_mapObj) {
   31213             :   {
   31214             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   31215           1 :     void *argp1 = 0 ;
   31216             :     int res1 = 0 ;
   31217             :     int argvi = 0;
   31218           1 :     dXSARGS;
   31219             :     
   31220           1 :     if ((items < 1) || (items > 1)) {
   31221           0 :       SWIG_croak("Usage: delete_mapObj(self);");
   31222             :     }
   31223           1 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, SWIG_POINTER_DISOWN |  0 );
   31224           1 :     if (!SWIG_IsOK(res1)) {
   31225           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_mapObj" "', argument " "1"" of type '" "struct mapObj *""'"); 
   31226             :     }
   31227           1 :     arg1 = (struct mapObj *)(argp1);
   31228             :     delete_mapObj(arg1);
   31229           1 :     ST(argvi) = sv_newmortal();
   31230             :     
   31231           1 :     XSRETURN(argvi);
   31232           0 :   fail:
   31233             :     
   31234           0 :     SWIG_croak_null();
   31235             :   }
   31236             : }
   31237             : 
   31238             : 
   31239           0 : XS(_wrap_mapObj_clone) {
   31240             :   {
   31241             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   31242           0 :     void *argp1 = 0 ;
   31243             :     int res1 = 0 ;
   31244             :     int argvi = 0;
   31245             :     mapObj *result = 0 ;
   31246           0 :     dXSARGS;
   31247             :     
   31248           0 :     if ((items < 1) || (items > 1)) {
   31249           0 :       SWIG_croak("Usage: mapObj_clone(self);");
   31250             :     }
   31251           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   31252           0 :     if (!SWIG_IsOK(res1)) {
   31253           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_clone" "', argument " "1"" of type '" "struct mapObj *""'"); 
   31254             :     }
   31255           0 :     arg1 = (struct mapObj *)(argp1);
   31256           0 :     result = (mapObj *)mapObj_clone(arg1);
   31257           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mapObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   31258             :     
   31259           0 :     XSRETURN(argvi);
   31260           0 :   fail:
   31261             :     
   31262           0 :     SWIG_croak_null();
   31263             :   }
   31264             : }
   31265             : 
   31266             : 
   31267           1 : XS(_wrap_mapObj_insertLayer) {
   31268             :   {
   31269             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   31270             :     layerObj *arg2 = (layerObj *) 0 ;
   31271             :     int arg3 = (int) -1 ;
   31272           1 :     void *argp1 = 0 ;
   31273             :     int res1 = 0 ;
   31274           1 :     void *argp2 = 0 ;
   31275             :     int res2 = 0 ;
   31276             :     int val3 ;
   31277             :     int ecode3 = 0 ;
   31278             :     int argvi = 0;
   31279             :     int result;
   31280           1 :     dXSARGS;
   31281             :     
   31282           1 :     if ((items < 2) || (items > 3)) {
   31283           0 :       SWIG_croak("Usage: mapObj_insertLayer(self,layer,index);");
   31284             :     }
   31285           1 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   31286           1 :     if (!SWIG_IsOK(res1)) {
   31287           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_insertLayer" "', argument " "1"" of type '" "struct mapObj *""'"); 
   31288             :     }
   31289           1 :     arg1 = (struct mapObj *)(argp1);
   31290           1 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_layerObj, 0 |  0 );
   31291           1 :     if (!SWIG_IsOK(res2)) {
   31292           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_insertLayer" "', argument " "2"" of type '" "layerObj *""'"); 
   31293             :     }
   31294           1 :     arg2 = (layerObj *)(argp2);
   31295           1 :     if (items > 2) {
   31296           0 :       ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
   31297           0 :       if (!SWIG_IsOK(ecode3)) {
   31298           0 :         SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "mapObj_insertLayer" "', argument " "3"" of type '" "int""'");
   31299             :       } 
   31300             :       arg3 = (int)(val3);
   31301             :     }
   31302             :     result = (int)mapObj_insertLayer(arg1,arg2,arg3);
   31303           1 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   31304             :     
   31305             :     
   31306             :     
   31307           1 :     XSRETURN(argvi);
   31308           0 :   fail:
   31309             :     
   31310             :     
   31311             :     
   31312           0 :     SWIG_croak_null();
   31313             :   }
   31314             : }
   31315             : 
   31316             : 
   31317           0 : XS(_wrap_mapObj_removeLayer) {
   31318             :   {
   31319             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   31320             :     int arg2 ;
   31321           0 :     void *argp1 = 0 ;
   31322             :     int res1 = 0 ;
   31323             :     int val2 ;
   31324             :     int ecode2 = 0 ;
   31325             :     int argvi = 0;
   31326             :     layerObj *result = 0 ;
   31327           0 :     dXSARGS;
   31328             :     
   31329           0 :     if ((items < 2) || (items > 2)) {
   31330           0 :       SWIG_croak("Usage: mapObj_removeLayer(self,index);");
   31331             :     }
   31332           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   31333           0 :     if (!SWIG_IsOK(res1)) {
   31334           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_removeLayer" "', argument " "1"" of type '" "struct mapObj *""'"); 
   31335             :     }
   31336           0 :     arg1 = (struct mapObj *)(argp1);
   31337           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   31338           0 :     if (!SWIG_IsOK(ecode2)) {
   31339           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_removeLayer" "', argument " "2"" of type '" "int""'");
   31340             :     } 
   31341             :     arg2 = (int)(val2);
   31342             :     result = (layerObj *)mapObj_removeLayer(arg1,arg2);
   31343           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_layerObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   31344             :     
   31345             :     
   31346           0 :     XSRETURN(argvi);
   31347           0 :   fail:
   31348             :     
   31349             :     
   31350           0 :     SWIG_croak_null();
   31351             :   }
   31352             : }
   31353             : 
   31354             : 
   31355           0 : XS(_wrap_mapObj_setExtent) {
   31356             :   {
   31357             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   31358             :     double arg2 ;
   31359             :     double arg3 ;
   31360             :     double arg4 ;
   31361             :     double arg5 ;
   31362           0 :     void *argp1 = 0 ;
   31363             :     int res1 = 0 ;
   31364             :     double val2 ;
   31365             :     int ecode2 = 0 ;
   31366             :     double val3 ;
   31367             :     int ecode3 = 0 ;
   31368             :     double val4 ;
   31369             :     int ecode4 = 0 ;
   31370             :     double val5 ;
   31371             :     int ecode5 = 0 ;
   31372             :     int argvi = 0;
   31373             :     int result;
   31374           0 :     dXSARGS;
   31375             :     
   31376           0 :     if ((items < 5) || (items > 5)) {
   31377           0 :       SWIG_croak("Usage: mapObj_setExtent(self,minx,miny,maxx,maxy);");
   31378             :     }
   31379           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   31380           0 :     if (!SWIG_IsOK(res1)) {
   31381           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_setExtent" "', argument " "1"" of type '" "struct mapObj *""'"); 
   31382             :     }
   31383           0 :     arg1 = (struct mapObj *)(argp1);
   31384           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   31385           0 :     if (!SWIG_IsOK(ecode2)) {
   31386           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_setExtent" "', argument " "2"" of type '" "double""'");
   31387             :     } 
   31388           0 :     arg2 = (double)(val2);
   31389           0 :     ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
   31390           0 :     if (!SWIG_IsOK(ecode3)) {
   31391           0 :       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "mapObj_setExtent" "', argument " "3"" of type '" "double""'");
   31392             :     } 
   31393           0 :     arg3 = (double)(val3);
   31394           0 :     ecode4 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
   31395           0 :     if (!SWIG_IsOK(ecode4)) {
   31396           0 :       SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "mapObj_setExtent" "', argument " "4"" of type '" "double""'");
   31397             :     } 
   31398           0 :     arg4 = (double)(val4);
   31399           0 :     ecode5 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
   31400           0 :     if (!SWIG_IsOK(ecode5)) {
   31401           0 :       SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "mapObj_setExtent" "', argument " "5"" of type '" "double""'");
   31402             :     } 
   31403           0 :     arg5 = (double)(val5);
   31404             :     result = (int)mapObj_setExtent(arg1,arg2,arg3,arg4,arg5);
   31405           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   31406             :     
   31407             :     
   31408             :     
   31409             :     
   31410             :     
   31411           0 :     XSRETURN(argvi);
   31412           0 :   fail:
   31413             :     
   31414             :     
   31415             :     
   31416             :     
   31417             :     
   31418           0 :     SWIG_croak_null();
   31419             :   }
   31420             : }
   31421             : 
   31422             : 
   31423           0 : XS(_wrap_mapObj_offsetExtent) {
   31424             :   {
   31425             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   31426             :     double arg2 ;
   31427             :     double arg3 ;
   31428           0 :     void *argp1 = 0 ;
   31429             :     int res1 = 0 ;
   31430             :     double val2 ;
   31431             :     int ecode2 = 0 ;
   31432             :     double val3 ;
   31433             :     int ecode3 = 0 ;
   31434             :     int argvi = 0;
   31435             :     int result;
   31436           0 :     dXSARGS;
   31437             :     
   31438           0 :     if ((items < 3) || (items > 3)) {
   31439           0 :       SWIG_croak("Usage: mapObj_offsetExtent(self,x,y);");
   31440             :     }
   31441           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   31442           0 :     if (!SWIG_IsOK(res1)) {
   31443           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_offsetExtent" "', argument " "1"" of type '" "struct mapObj *""'"); 
   31444             :     }
   31445           0 :     arg1 = (struct mapObj *)(argp1);
   31446           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   31447           0 :     if (!SWIG_IsOK(ecode2)) {
   31448           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_offsetExtent" "', argument " "2"" of type '" "double""'");
   31449             :     } 
   31450           0 :     arg2 = (double)(val2);
   31451           0 :     ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
   31452           0 :     if (!SWIG_IsOK(ecode3)) {
   31453           0 :       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "mapObj_offsetExtent" "', argument " "3"" of type '" "double""'");
   31454             :     } 
   31455           0 :     arg3 = (double)(val3);
   31456             :     result = (int)mapObj_offsetExtent(arg1,arg2,arg3);
   31457           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   31458             :     
   31459             :     
   31460             :     
   31461           0 :     XSRETURN(argvi);
   31462           0 :   fail:
   31463             :     
   31464             :     
   31465             :     
   31466           0 :     SWIG_croak_null();
   31467             :   }
   31468             : }
   31469             : 
   31470             : 
   31471           0 : XS(_wrap_mapObj_scaleExtent) {
   31472             :   {
   31473             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   31474             :     double arg2 ;
   31475             :     double arg3 ;
   31476             :     double arg4 ;
   31477           0 :     void *argp1 = 0 ;
   31478             :     int res1 = 0 ;
   31479             :     double val2 ;
   31480             :     int ecode2 = 0 ;
   31481             :     double val3 ;
   31482             :     int ecode3 = 0 ;
   31483             :     double val4 ;
   31484             :     int ecode4 = 0 ;
   31485             :     int argvi = 0;
   31486             :     int result;
   31487           0 :     dXSARGS;
   31488             :     
   31489           0 :     if ((items < 4) || (items > 4)) {
   31490           0 :       SWIG_croak("Usage: mapObj_scaleExtent(self,zoomfactor,minscaledenom,maxscaledenom);");
   31491             :     }
   31492           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   31493           0 :     if (!SWIG_IsOK(res1)) {
   31494           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_scaleExtent" "', argument " "1"" of type '" "struct mapObj *""'"); 
   31495             :     }
   31496           0 :     arg1 = (struct mapObj *)(argp1);
   31497           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   31498           0 :     if (!SWIG_IsOK(ecode2)) {
   31499           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_scaleExtent" "', argument " "2"" of type '" "double""'");
   31500             :     } 
   31501           0 :     arg2 = (double)(val2);
   31502           0 :     ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
   31503           0 :     if (!SWIG_IsOK(ecode3)) {
   31504           0 :       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "mapObj_scaleExtent" "', argument " "3"" of type '" "double""'");
   31505             :     } 
   31506           0 :     arg3 = (double)(val3);
   31507           0 :     ecode4 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
   31508           0 :     if (!SWIG_IsOK(ecode4)) {
   31509           0 :       SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "mapObj_scaleExtent" "', argument " "4"" of type '" "double""'");
   31510             :     } 
   31511           0 :     arg4 = (double)(val4);
   31512             :     result = (int)mapObj_scaleExtent(arg1,arg2,arg3,arg4);
   31513           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   31514             :     
   31515             :     
   31516             :     
   31517             :     
   31518           0 :     XSRETURN(argvi);
   31519           0 :   fail:
   31520             :     
   31521             :     
   31522             :     
   31523             :     
   31524           0 :     SWIG_croak_null();
   31525             :   }
   31526             : }
   31527             : 
   31528             : 
   31529           0 : XS(_wrap_mapObj_setCenter) {
   31530             :   {
   31531             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   31532             :     pointObj *arg2 = (pointObj *) 0 ;
   31533           0 :     void *argp1 = 0 ;
   31534             :     int res1 = 0 ;
   31535           0 :     void *argp2 = 0 ;
   31536             :     int res2 = 0 ;
   31537             :     int argvi = 0;
   31538             :     int result;
   31539           0 :     dXSARGS;
   31540             :     
   31541           0 :     if ((items < 2) || (items > 2)) {
   31542           0 :       SWIG_croak("Usage: mapObj_setCenter(self,center);");
   31543             :     }
   31544           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   31545           0 :     if (!SWIG_IsOK(res1)) {
   31546           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_setCenter" "', argument " "1"" of type '" "struct mapObj *""'"); 
   31547             :     }
   31548           0 :     arg1 = (struct mapObj *)(argp1);
   31549           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_pointObj, 0 |  0 );
   31550           0 :     if (!SWIG_IsOK(res2)) {
   31551           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_setCenter" "', argument " "2"" of type '" "pointObj *""'"); 
   31552             :     }
   31553           0 :     arg2 = (pointObj *)(argp2);
   31554             :     result = (int)mapObj_setCenter(arg1,arg2);
   31555           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   31556             :     
   31557             :     
   31558           0 :     XSRETURN(argvi);
   31559           0 :   fail:
   31560             :     
   31561             :     
   31562           0 :     SWIG_croak_null();
   31563             :   }
   31564             : }
   31565             : 
   31566             : 
   31567           0 : XS(_wrap_mapObj_setSize) {
   31568             :   {
   31569             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   31570             :     int arg2 ;
   31571             :     int arg3 ;
   31572           0 :     void *argp1 = 0 ;
   31573             :     int res1 = 0 ;
   31574             :     int val2 ;
   31575             :     int ecode2 = 0 ;
   31576             :     int val3 ;
   31577             :     int ecode3 = 0 ;
   31578             :     int argvi = 0;
   31579             :     int result;
   31580           0 :     dXSARGS;
   31581             :     
   31582           0 :     if ((items < 3) || (items > 3)) {
   31583           0 :       SWIG_croak("Usage: mapObj_setSize(self,width,height);");
   31584             :     }
   31585           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   31586           0 :     if (!SWIG_IsOK(res1)) {
   31587           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_setSize" "', argument " "1"" of type '" "struct mapObj *""'"); 
   31588             :     }
   31589           0 :     arg1 = (struct mapObj *)(argp1);
   31590           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   31591           0 :     if (!SWIG_IsOK(ecode2)) {
   31592           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_setSize" "', argument " "2"" of type '" "int""'");
   31593             :     } 
   31594             :     arg2 = (int)(val2);
   31595           0 :     ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
   31596           0 :     if (!SWIG_IsOK(ecode3)) {
   31597           0 :       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "mapObj_setSize" "', argument " "3"" of type '" "int""'");
   31598             :     } 
   31599             :     arg3 = (int)(val3);
   31600             :     result = (int)mapObj_setSize(arg1,arg2,arg3);
   31601           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   31602             :     
   31603             :     
   31604             :     
   31605           0 :     XSRETURN(argvi);
   31606           0 :   fail:
   31607             :     
   31608             :     
   31609             :     
   31610           0 :     SWIG_croak_null();
   31611             :   }
   31612             : }
   31613             : 
   31614             : 
   31615           0 : XS(_wrap_mapObj_pixelToGeoref) {
   31616             :   {
   31617             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   31618             :     double arg2 ;
   31619             :     double arg3 ;
   31620             :     pointObj *arg4 = (pointObj *) 0 ;
   31621           0 :     void *argp1 = 0 ;
   31622             :     int res1 = 0 ;
   31623             :     double val2 ;
   31624             :     int ecode2 = 0 ;
   31625             :     double val3 ;
   31626             :     int ecode3 = 0 ;
   31627           0 :     void *argp4 = 0 ;
   31628             :     int res4 = 0 ;
   31629             :     int argvi = 0;
   31630           0 :     dXSARGS;
   31631             :     
   31632           0 :     if ((items < 4) || (items > 4)) {
   31633           0 :       SWIG_croak("Usage: mapObj_pixelToGeoref(self,pixPosX,pixPosY,geoPos);");
   31634             :     }
   31635           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   31636           0 :     if (!SWIG_IsOK(res1)) {
   31637           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_pixelToGeoref" "', argument " "1"" of type '" "struct mapObj *""'"); 
   31638             :     }
   31639           0 :     arg1 = (struct mapObj *)(argp1);
   31640           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   31641           0 :     if (!SWIG_IsOK(ecode2)) {
   31642           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_pixelToGeoref" "', argument " "2"" of type '" "double""'");
   31643             :     } 
   31644           0 :     arg2 = (double)(val2);
   31645           0 :     ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
   31646           0 :     if (!SWIG_IsOK(ecode3)) {
   31647           0 :       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "mapObj_pixelToGeoref" "', argument " "3"" of type '" "double""'");
   31648             :     } 
   31649           0 :     arg3 = (double)(val3);
   31650           0 :     res4 = SWIG_ConvertPtr(ST(3), &argp4,SWIGTYPE_p_pointObj, 0 |  0 );
   31651           0 :     if (!SWIG_IsOK(res4)) {
   31652           0 :       SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "mapObj_pixelToGeoref" "', argument " "4"" of type '" "pointObj *""'"); 
   31653             :     }
   31654           0 :     arg4 = (pointObj *)(argp4);
   31655             :     mapObj_pixelToGeoref(arg1,arg2,arg3,arg4);
   31656           0 :     ST(argvi) = sv_newmortal();
   31657             :     
   31658             :     
   31659             :     
   31660             :     
   31661           0 :     XSRETURN(argvi);
   31662           0 :   fail:
   31663             :     
   31664             :     
   31665             :     
   31666             :     
   31667           0 :     SWIG_croak_null();
   31668             :   }
   31669             : }
   31670             : 
   31671             : 
   31672           0 : XS(_wrap_mapObj_getRotation) {
   31673             :   {
   31674             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   31675           0 :     void *argp1 = 0 ;
   31676             :     int res1 = 0 ;
   31677             :     int argvi = 0;
   31678             :     double result;
   31679           0 :     dXSARGS;
   31680             :     
   31681           0 :     if ((items < 1) || (items > 1)) {
   31682           0 :       SWIG_croak("Usage: mapObj_getRotation(self);");
   31683             :     }
   31684           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   31685           0 :     if (!SWIG_IsOK(res1)) {
   31686           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_getRotation" "', argument " "1"" of type '" "struct mapObj *""'"); 
   31687             :     }
   31688           0 :     arg1 = (struct mapObj *)(argp1);
   31689           0 :     result = (double)mapObj_getRotation(arg1);
   31690           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   31691             :     
   31692           0 :     XSRETURN(argvi);
   31693           0 :   fail:
   31694             :     
   31695           0 :     SWIG_croak_null();
   31696             :   }
   31697             : }
   31698             : 
   31699             : 
   31700           0 : XS(_wrap_mapObj_setRotation) {
   31701             :   {
   31702             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   31703             :     double arg2 ;
   31704           0 :     void *argp1 = 0 ;
   31705             :     int res1 = 0 ;
   31706             :     double val2 ;
   31707             :     int ecode2 = 0 ;
   31708             :     int argvi = 0;
   31709             :     int result;
   31710           0 :     dXSARGS;
   31711             :     
   31712           0 :     if ((items < 2) || (items > 2)) {
   31713           0 :       SWIG_croak("Usage: mapObj_setRotation(self,rotation_angle);");
   31714             :     }
   31715           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   31716           0 :     if (!SWIG_IsOK(res1)) {
   31717           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_setRotation" "', argument " "1"" of type '" "struct mapObj *""'"); 
   31718             :     }
   31719           0 :     arg1 = (struct mapObj *)(argp1);
   31720           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   31721           0 :     if (!SWIG_IsOK(ecode2)) {
   31722           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_setRotation" "', argument " "2"" of type '" "double""'");
   31723             :     } 
   31724           0 :     arg2 = (double)(val2);
   31725             :     result = (int)mapObj_setRotation(arg1,arg2);
   31726           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   31727             :     
   31728             :     
   31729           0 :     XSRETURN(argvi);
   31730           0 :   fail:
   31731             :     
   31732             :     
   31733           0 :     SWIG_croak_null();
   31734             :   }
   31735             : }
   31736             : 
   31737             : 
   31738           1 : XS(_wrap_mapObj_getLayer) {
   31739             :   {
   31740             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   31741             :     int arg2 ;
   31742           1 :     void *argp1 = 0 ;
   31743             :     int res1 = 0 ;
   31744             :     int val2 ;
   31745             :     int ecode2 = 0 ;
   31746             :     int argvi = 0;
   31747             :     layerObj *result = 0 ;
   31748           1 :     dXSARGS;
   31749             :     
   31750           1 :     if ((items < 2) || (items > 2)) {
   31751           0 :       SWIG_croak("Usage: mapObj_getLayer(self,i);");
   31752             :     }
   31753           1 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   31754           1 :     if (!SWIG_IsOK(res1)) {
   31755           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_getLayer" "', argument " "1"" of type '" "struct mapObj *""'"); 
   31756             :     }
   31757           1 :     arg1 = (struct mapObj *)(argp1);
   31758           1 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   31759           1 :     if (!SWIG_IsOK(ecode2)) {
   31760           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_getLayer" "', argument " "2"" of type '" "int""'");
   31761             :     } 
   31762             :     arg2 = (int)(val2);
   31763           1 :     result = (layerObj *)mapObj_getLayer(arg1,arg2);
   31764           1 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_layerObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   31765             :     
   31766             :     
   31767           1 :     XSRETURN(argvi);
   31768           0 :   fail:
   31769             :     
   31770             :     
   31771           0 :     SWIG_croak_null();
   31772             :   }
   31773             : }
   31774             : 
   31775             : 
   31776           1 : XS(_wrap_mapObj_getLayerByName) {
   31777             :   {
   31778             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   31779             :     char *arg2 = (char *) 0 ;
   31780           1 :     void *argp1 = 0 ;
   31781             :     int res1 = 0 ;
   31782             :     int res2 ;
   31783           1 :     char *buf2 = 0 ;
   31784           1 :     int alloc2 = 0 ;
   31785             :     int argvi = 0;
   31786             :     layerObj *result = 0 ;
   31787           1 :     dXSARGS;
   31788             :     
   31789           1 :     if ((items < 2) || (items > 2)) {
   31790           0 :       SWIG_croak("Usage: mapObj_getLayerByName(self,name);");
   31791             :     }
   31792           1 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   31793           1 :     if (!SWIG_IsOK(res1)) {
   31794           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_getLayerByName" "', argument " "1"" of type '" "struct mapObj *""'"); 
   31795             :     }
   31796           1 :     arg1 = (struct mapObj *)(argp1);
   31797           1 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   31798           1 :     if (!SWIG_IsOK(res2)) {
   31799           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_getLayerByName" "', argument " "2"" of type '" "char *""'");
   31800             :     }
   31801           1 :     arg2 = (char *)(buf2);
   31802           1 :     result = (layerObj *)mapObj_getLayerByName(arg1,arg2);
   31803           1 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_layerObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   31804             :     
   31805           1 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   31806           1 :     XSRETURN(argvi);
   31807           0 :   fail:
   31808             :     
   31809           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   31810           0 :     SWIG_croak_null();
   31811             :   }
   31812             : }
   31813             : 
   31814             : 
   31815           0 : XS(_wrap_mapObj_getSymbolByName) {
   31816             :   {
   31817             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   31818             :     char *arg2 = (char *) 0 ;
   31819           0 :     void *argp1 = 0 ;
   31820             :     int res1 = 0 ;
   31821             :     int res2 ;
   31822           0 :     char *buf2 = 0 ;
   31823           0 :     int alloc2 = 0 ;
   31824             :     int argvi = 0;
   31825             :     int result;
   31826           0 :     dXSARGS;
   31827             :     
   31828           0 :     if ((items < 2) || (items > 2)) {
   31829           0 :       SWIG_croak("Usage: mapObj_getSymbolByName(self,name);");
   31830             :     }
   31831           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   31832           0 :     if (!SWIG_IsOK(res1)) {
   31833           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_getSymbolByName" "', argument " "1"" of type '" "struct mapObj *""'"); 
   31834             :     }
   31835           0 :     arg1 = (struct mapObj *)(argp1);
   31836           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   31837           0 :     if (!SWIG_IsOK(res2)) {
   31838           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_getSymbolByName" "', argument " "2"" of type '" "char *""'");
   31839             :     }
   31840           0 :     arg2 = (char *)(buf2);
   31841             :     result = (int)mapObj_getSymbolByName(arg1,arg2);
   31842           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   31843             :     
   31844           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   31845           0 :     XSRETURN(argvi);
   31846           0 :   fail:
   31847             :     
   31848           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   31849           0 :     SWIG_croak_null();
   31850             :   }
   31851             : }
   31852             : 
   31853             : 
   31854           0 : XS(_wrap_mapObj_prepareQuery) {
   31855             :   {
   31856             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   31857           0 :     void *argp1 = 0 ;
   31858             :     int res1 = 0 ;
   31859             :     int argvi = 0;
   31860           0 :     dXSARGS;
   31861             :     
   31862           0 :     if ((items < 1) || (items > 1)) {
   31863           0 :       SWIG_croak("Usage: mapObj_prepareQuery(self);");
   31864             :     }
   31865           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   31866           0 :     if (!SWIG_IsOK(res1)) {
   31867           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_prepareQuery" "', argument " "1"" of type '" "struct mapObj *""'"); 
   31868             :     }
   31869           0 :     arg1 = (struct mapObj *)(argp1);
   31870           0 :     mapObj_prepareQuery(arg1);
   31871           0 :     ST(argvi) = sv_newmortal();
   31872             :     
   31873           0 :     XSRETURN(argvi);
   31874           0 :   fail:
   31875             :     
   31876           0 :     SWIG_croak_null();
   31877             :   }
   31878             : }
   31879             : 
   31880             : 
   31881           0 : XS(_wrap_mapObj_prepareImage) {
   31882             :   {
   31883             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   31884           0 :     void *argp1 = 0 ;
   31885             :     int res1 = 0 ;
   31886             :     int argvi = 0;
   31887             :     imageObj *result = 0 ;
   31888           0 :     dXSARGS;
   31889             :     
   31890           0 :     if ((items < 1) || (items > 1)) {
   31891           0 :       SWIG_croak("Usage: mapObj_prepareImage(self);");
   31892             :     }
   31893           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   31894           0 :     if (!SWIG_IsOK(res1)) {
   31895           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_prepareImage" "', argument " "1"" of type '" "struct mapObj *""'"); 
   31896             :     }
   31897           0 :     arg1 = (struct mapObj *)(argp1);
   31898             :     result = (imageObj *)mapObj_prepareImage(arg1);
   31899           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_imageObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   31900             :     
   31901           0 :     XSRETURN(argvi);
   31902           0 :   fail:
   31903             :     
   31904           0 :     SWIG_croak_null();
   31905             :   }
   31906             : }
   31907             : 
   31908             : 
   31909           0 : XS(_wrap_mapObj_setImageType) {
   31910             :   {
   31911             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   31912             :     char *arg2 = (char *) 0 ;
   31913           0 :     void *argp1 = 0 ;
   31914             :     int res1 = 0 ;
   31915             :     int res2 ;
   31916           0 :     char *buf2 = 0 ;
   31917           0 :     int alloc2 = 0 ;
   31918             :     int argvi = 0;
   31919           0 :     dXSARGS;
   31920             :     
   31921           0 :     if ((items < 2) || (items > 2)) {
   31922           0 :       SWIG_croak("Usage: mapObj_setImageType(self,imagetype);");
   31923             :     }
   31924           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   31925           0 :     if (!SWIG_IsOK(res1)) {
   31926           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_setImageType" "', argument " "1"" of type '" "struct mapObj *""'"); 
   31927             :     }
   31928           0 :     arg1 = (struct mapObj *)(argp1);
   31929           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   31930           0 :     if (!SWIG_IsOK(res2)) {
   31931           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_setImageType" "', argument " "2"" of type '" "char *""'");
   31932             :     }
   31933           0 :     arg2 = (char *)(buf2);
   31934           0 :     mapObj_setImageType(arg1,arg2);
   31935           0 :     ST(argvi) = sv_newmortal();
   31936             :     
   31937           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   31938           0 :     XSRETURN(argvi);
   31939           0 :   fail:
   31940             :     
   31941           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   31942           0 :     SWIG_croak_null();
   31943             :   }
   31944             : }
   31945             : 
   31946             : 
   31947           0 : XS(_wrap_mapObj_selectOutputFormat) {
   31948             :   {
   31949             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   31950             :     char *arg2 = (char *) 0 ;
   31951           0 :     void *argp1 = 0 ;
   31952             :     int res1 = 0 ;
   31953             :     int res2 ;
   31954           0 :     char *buf2 = 0 ;
   31955           0 :     int alloc2 = 0 ;
   31956             :     int argvi = 0;
   31957           0 :     dXSARGS;
   31958             :     
   31959           0 :     if ((items < 2) || (items > 2)) {
   31960           0 :       SWIG_croak("Usage: mapObj_selectOutputFormat(self,imagetype);");
   31961             :     }
   31962           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   31963           0 :     if (!SWIG_IsOK(res1)) {
   31964           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_selectOutputFormat" "', argument " "1"" of type '" "struct mapObj *""'"); 
   31965             :     }
   31966           0 :     arg1 = (struct mapObj *)(argp1);
   31967           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   31968           0 :     if (!SWIG_IsOK(res2)) {
   31969           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_selectOutputFormat" "', argument " "2"" of type '" "char *""'");
   31970             :     }
   31971           0 :     arg2 = (char *)(buf2);
   31972           0 :     mapObj_selectOutputFormat(arg1,arg2);
   31973           0 :     ST(argvi) = sv_newmortal();
   31974             :     
   31975           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   31976           0 :     XSRETURN(argvi);
   31977           0 :   fail:
   31978             :     
   31979           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   31980           0 :     SWIG_croak_null();
   31981             :   }
   31982             : }
   31983             : 
   31984             : 
   31985           0 : XS(_wrap_mapObj_getOutputFormat) {
   31986             :   {
   31987             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   31988             :     int arg2 ;
   31989           0 :     void *argp1 = 0 ;
   31990             :     int res1 = 0 ;
   31991             :     int val2 ;
   31992             :     int ecode2 = 0 ;
   31993             :     int argvi = 0;
   31994             :     outputFormatObj *result = 0 ;
   31995           0 :     dXSARGS;
   31996             :     
   31997           0 :     if ((items < 2) || (items > 2)) {
   31998           0 :       SWIG_croak("Usage: mapObj_getOutputFormat(self,i);");
   31999             :     }
   32000           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   32001           0 :     if (!SWIG_IsOK(res1)) {
   32002           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_getOutputFormat" "', argument " "1"" of type '" "struct mapObj *""'"); 
   32003             :     }
   32004           0 :     arg1 = (struct mapObj *)(argp1);
   32005           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   32006           0 :     if (!SWIG_IsOK(ecode2)) {
   32007           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_getOutputFormat" "', argument " "2"" of type '" "int""'");
   32008             :     } 
   32009             :     arg2 = (int)(val2);
   32010           0 :     result = (outputFormatObj *)mapObj_getOutputFormat(arg1,arg2);
   32011           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_outputFormatObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   32012             :     
   32013             :     
   32014           0 :     XSRETURN(argvi);
   32015           0 :   fail:
   32016             :     
   32017             :     
   32018           0 :     SWIG_croak_null();
   32019             :   }
   32020             : }
   32021             : 
   32022             : 
   32023           0 : XS(_wrap_mapObj_setOutputFormat) {
   32024             :   {
   32025             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   32026             :     outputFormatObj *arg2 = (outputFormatObj *) 0 ;
   32027           0 :     void *argp1 = 0 ;
   32028             :     int res1 = 0 ;
   32029           0 :     void *argp2 = 0 ;
   32030             :     int res2 = 0 ;
   32031             :     int argvi = 0;
   32032           0 :     dXSARGS;
   32033             :     
   32034           0 :     if ((items < 2) || (items > 2)) {
   32035           0 :       SWIG_croak("Usage: mapObj_setOutputFormat(self,format);");
   32036             :     }
   32037           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   32038           0 :     if (!SWIG_IsOK(res1)) {
   32039           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_setOutputFormat" "', argument " "1"" of type '" "struct mapObj *""'"); 
   32040             :     }
   32041           0 :     arg1 = (struct mapObj *)(argp1);
   32042           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_outputFormatObj, 0 |  0 );
   32043           0 :     if (!SWIG_IsOK(res2)) {
   32044           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_setOutputFormat" "', argument " "2"" of type '" "outputFormatObj *""'"); 
   32045             :     }
   32046           0 :     arg2 = (outputFormatObj *)(argp2);
   32047             :     mapObj_setOutputFormat(arg1,arg2);
   32048           0 :     ST(argvi) = sv_newmortal();
   32049             :     
   32050             :     
   32051           0 :     XSRETURN(argvi);
   32052           0 :   fail:
   32053             :     
   32054             :     
   32055           0 :     SWIG_croak_null();
   32056             :   }
   32057             : }
   32058             : 
   32059             : 
   32060           0 : XS(_wrap_mapObj_draw) {
   32061             :   {
   32062             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   32063           0 :     void *argp1 = 0 ;
   32064             :     int res1 = 0 ;
   32065             :     int argvi = 0;
   32066             :     imageObj *result = 0 ;
   32067           0 :     dXSARGS;
   32068             :     
   32069           0 :     if ((items < 1) || (items > 1)) {
   32070           0 :       SWIG_croak("Usage: mapObj_draw(self);");
   32071             :     }
   32072           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   32073           0 :     if (!SWIG_IsOK(res1)) {
   32074           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_draw" "', argument " "1"" of type '" "struct mapObj *""'"); 
   32075             :     }
   32076           0 :     arg1 = (struct mapObj *)(argp1);
   32077             :     result = (imageObj *)mapObj_draw(arg1);
   32078           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_imageObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   32079             :     
   32080           0 :     XSRETURN(argvi);
   32081           0 :   fail:
   32082             :     
   32083           0 :     SWIG_croak_null();
   32084             :   }
   32085             : }
   32086             : 
   32087             : 
   32088           0 : XS(_wrap_mapObj_drawQuery) {
   32089             :   {
   32090             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   32091           0 :     void *argp1 = 0 ;
   32092             :     int res1 = 0 ;
   32093             :     int argvi = 0;
   32094             :     imageObj *result = 0 ;
   32095           0 :     dXSARGS;
   32096             :     
   32097           0 :     if ((items < 1) || (items > 1)) {
   32098           0 :       SWIG_croak("Usage: mapObj_drawQuery(self);");
   32099             :     }
   32100           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   32101           0 :     if (!SWIG_IsOK(res1)) {
   32102           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_drawQuery" "', argument " "1"" of type '" "struct mapObj *""'"); 
   32103             :     }
   32104           0 :     arg1 = (struct mapObj *)(argp1);
   32105             :     result = (imageObj *)mapObj_drawQuery(arg1);
   32106           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_imageObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   32107             :     
   32108           0 :     XSRETURN(argvi);
   32109           0 :   fail:
   32110             :     
   32111           0 :     SWIG_croak_null();
   32112             :   }
   32113             : }
   32114             : 
   32115             : 
   32116           0 : XS(_wrap_mapObj_drawLegend) {
   32117             :   {
   32118             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   32119           0 :     void *argp1 = 0 ;
   32120             :     int res1 = 0 ;
   32121             :     int argvi = 0;
   32122             :     imageObj *result = 0 ;
   32123           0 :     dXSARGS;
   32124             :     
   32125           0 :     if ((items < 1) || (items > 1)) {
   32126           0 :       SWIG_croak("Usage: mapObj_drawLegend(self);");
   32127             :     }
   32128           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   32129           0 :     if (!SWIG_IsOK(res1)) {
   32130           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_drawLegend" "', argument " "1"" of type '" "struct mapObj *""'"); 
   32131             :     }
   32132           0 :     arg1 = (struct mapObj *)(argp1);
   32133             :     result = (imageObj *)mapObj_drawLegend(arg1);
   32134           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_imageObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   32135             :     
   32136           0 :     XSRETURN(argvi);
   32137           0 :   fail:
   32138             :     
   32139           0 :     SWIG_croak_null();
   32140             :   }
   32141             : }
   32142             : 
   32143             : 
   32144           0 : XS(_wrap_mapObj_drawScalebar) {
   32145             :   {
   32146             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   32147           0 :     void *argp1 = 0 ;
   32148             :     int res1 = 0 ;
   32149             :     int argvi = 0;
   32150             :     imageObj *result = 0 ;
   32151           0 :     dXSARGS;
   32152             :     
   32153           0 :     if ((items < 1) || (items > 1)) {
   32154           0 :       SWIG_croak("Usage: mapObj_drawScalebar(self);");
   32155             :     }
   32156           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   32157           0 :     if (!SWIG_IsOK(res1)) {
   32158           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_drawScalebar" "', argument " "1"" of type '" "struct mapObj *""'"); 
   32159             :     }
   32160           0 :     arg1 = (struct mapObj *)(argp1);
   32161             :     result = (imageObj *)mapObj_drawScalebar(arg1);
   32162           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_imageObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   32163             :     
   32164           0 :     XSRETURN(argvi);
   32165           0 :   fail:
   32166             :     
   32167           0 :     SWIG_croak_null();
   32168             :   }
   32169             : }
   32170             : 
   32171             : 
   32172           0 : XS(_wrap_mapObj_drawReferenceMap) {
   32173             :   {
   32174             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   32175           0 :     void *argp1 = 0 ;
   32176             :     int res1 = 0 ;
   32177             :     int argvi = 0;
   32178             :     imageObj *result = 0 ;
   32179           0 :     dXSARGS;
   32180             :     
   32181           0 :     if ((items < 1) || (items > 1)) {
   32182           0 :       SWIG_croak("Usage: mapObj_drawReferenceMap(self);");
   32183             :     }
   32184           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   32185           0 :     if (!SWIG_IsOK(res1)) {
   32186           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_drawReferenceMap" "', argument " "1"" of type '" "struct mapObj *""'"); 
   32187             :     }
   32188           0 :     arg1 = (struct mapObj *)(argp1);
   32189             :     result = (imageObj *)mapObj_drawReferenceMap(arg1);
   32190           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_imageObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   32191             :     
   32192           0 :     XSRETURN(argvi);
   32193           0 :   fail:
   32194             :     
   32195           0 :     SWIG_croak_null();
   32196             :   }
   32197             : }
   32198             : 
   32199             : 
   32200           0 : XS(_wrap_mapObj_embedScalebar) {
   32201             :   {
   32202             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   32203             :     imageObj *arg2 = (imageObj *) 0 ;
   32204           0 :     void *argp1 = 0 ;
   32205             :     int res1 = 0 ;
   32206           0 :     void *argp2 = 0 ;
   32207             :     int res2 = 0 ;
   32208             :     int argvi = 0;
   32209             :     int result;
   32210           0 :     dXSARGS;
   32211             :     
   32212           0 :     if ((items < 2) || (items > 2)) {
   32213           0 :       SWIG_croak("Usage: mapObj_embedScalebar(self,image);");
   32214             :     }
   32215           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   32216           0 :     if (!SWIG_IsOK(res1)) {
   32217           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_embedScalebar" "', argument " "1"" of type '" "struct mapObj *""'"); 
   32218             :     }
   32219           0 :     arg1 = (struct mapObj *)(argp1);
   32220           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_imageObj, 0 |  0 );
   32221           0 :     if (!SWIG_IsOK(res2)) {
   32222           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_embedScalebar" "', argument " "2"" of type '" "imageObj *""'"); 
   32223             :     }
   32224           0 :     arg2 = (imageObj *)(argp2);
   32225             :     result = (int)mapObj_embedScalebar(arg1,arg2);
   32226           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   32227             :     
   32228             :     
   32229           0 :     XSRETURN(argvi);
   32230           0 :   fail:
   32231             :     
   32232             :     
   32233           0 :     SWIG_croak_null();
   32234             :   }
   32235             : }
   32236             : 
   32237             : 
   32238           0 : XS(_wrap_mapObj_embedLegend) {
   32239             :   {
   32240             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   32241             :     imageObj *arg2 = (imageObj *) 0 ;
   32242           0 :     void *argp1 = 0 ;
   32243             :     int res1 = 0 ;
   32244           0 :     void *argp2 = 0 ;
   32245             :     int res2 = 0 ;
   32246             :     int argvi = 0;
   32247             :     int result;
   32248           0 :     dXSARGS;
   32249             :     
   32250           0 :     if ((items < 2) || (items > 2)) {
   32251           0 :       SWIG_croak("Usage: mapObj_embedLegend(self,image);");
   32252             :     }
   32253           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   32254           0 :     if (!SWIG_IsOK(res1)) {
   32255           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_embedLegend" "', argument " "1"" of type '" "struct mapObj *""'"); 
   32256             :     }
   32257           0 :     arg1 = (struct mapObj *)(argp1);
   32258           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_imageObj, 0 |  0 );
   32259           0 :     if (!SWIG_IsOK(res2)) {
   32260           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_embedLegend" "', argument " "2"" of type '" "imageObj *""'"); 
   32261             :     }
   32262           0 :     arg2 = (imageObj *)(argp2);
   32263             :     result = (int)mapObj_embedLegend(arg1,arg2);
   32264           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   32265             :     
   32266             :     
   32267           0 :     XSRETURN(argvi);
   32268           0 :   fail:
   32269             :     
   32270             :     
   32271           0 :     SWIG_croak_null();
   32272             :   }
   32273             : }
   32274             : 
   32275             : 
   32276           0 : XS(_wrap_mapObj_drawLabelCache) {
   32277             :   {
   32278             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   32279             :     imageObj *arg2 = (imageObj *) 0 ;
   32280           0 :     void *argp1 = 0 ;
   32281             :     int res1 = 0 ;
   32282           0 :     void *argp2 = 0 ;
   32283             :     int res2 = 0 ;
   32284             :     int argvi = 0;
   32285             :     int result;
   32286           0 :     dXSARGS;
   32287             :     
   32288           0 :     if ((items < 2) || (items > 2)) {
   32289           0 :       SWIG_croak("Usage: mapObj_drawLabelCache(self,image);");
   32290             :     }
   32291           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   32292           0 :     if (!SWIG_IsOK(res1)) {
   32293           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_drawLabelCache" "', argument " "1"" of type '" "struct mapObj *""'"); 
   32294             :     }
   32295           0 :     arg1 = (struct mapObj *)(argp1);
   32296           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_imageObj, 0 |  0 );
   32297           0 :     if (!SWIG_IsOK(res2)) {
   32298           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_drawLabelCache" "', argument " "2"" of type '" "imageObj *""'"); 
   32299             :     }
   32300           0 :     arg2 = (imageObj *)(argp2);
   32301             :     result = (int)mapObj_drawLabelCache(arg1,arg2);
   32302           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   32303             :     
   32304             :     
   32305           0 :     XSRETURN(argvi);
   32306           0 :   fail:
   32307             :     
   32308             :     
   32309           0 :     SWIG_croak_null();
   32310             :   }
   32311             : }
   32312             : 
   32313             : 
   32314           0 : XS(_wrap_mapObj_queryByFilter) {
   32315             :   {
   32316             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   32317             :     char *arg2 = (char *) 0 ;
   32318           0 :     void *argp1 = 0 ;
   32319             :     int res1 = 0 ;
   32320             :     int res2 ;
   32321           0 :     char *buf2 = 0 ;
   32322           0 :     int alloc2 = 0 ;
   32323             :     int argvi = 0;
   32324             :     int result;
   32325           0 :     dXSARGS;
   32326             :     
   32327           0 :     if ((items < 2) || (items > 2)) {
   32328           0 :       SWIG_croak("Usage: mapObj_queryByFilter(self,string);");
   32329             :     }
   32330           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   32331           0 :     if (!SWIG_IsOK(res1)) {
   32332           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_queryByFilter" "', argument " "1"" of type '" "struct mapObj *""'"); 
   32333             :     }
   32334           0 :     arg1 = (struct mapObj *)(argp1);
   32335           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   32336           0 :     if (!SWIG_IsOK(res2)) {
   32337           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_queryByFilter" "', argument " "2"" of type '" "char *""'");
   32338             :     }
   32339           0 :     arg2 = (char *)(buf2);
   32340           0 :     result = (int)mapObj_queryByFilter(arg1,arg2);
   32341           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   32342             :     
   32343           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   32344           0 :     XSRETURN(argvi);
   32345           0 :   fail:
   32346             :     
   32347           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   32348           0 :     SWIG_croak_null();
   32349             :   }
   32350             : }
   32351             : 
   32352             : 
   32353           0 : XS(_wrap_mapObj_queryByPoint) {
   32354             :   {
   32355             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   32356             :     pointObj *arg2 = (pointObj *) 0 ;
   32357             :     int arg3 ;
   32358             :     double arg4 ;
   32359           0 :     void *argp1 = 0 ;
   32360             :     int res1 = 0 ;
   32361           0 :     void *argp2 = 0 ;
   32362             :     int res2 = 0 ;
   32363             :     int val3 ;
   32364             :     int ecode3 = 0 ;
   32365             :     double val4 ;
   32366             :     int ecode4 = 0 ;
   32367             :     int argvi = 0;
   32368             :     int result;
   32369           0 :     dXSARGS;
   32370             :     
   32371           0 :     if ((items < 4) || (items > 4)) {
   32372           0 :       SWIG_croak("Usage: mapObj_queryByPoint(self,point,mode,buffer);");
   32373             :     }
   32374           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   32375           0 :     if (!SWIG_IsOK(res1)) {
   32376           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_queryByPoint" "', argument " "1"" of type '" "struct mapObj *""'"); 
   32377             :     }
   32378           0 :     arg1 = (struct mapObj *)(argp1);
   32379           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_pointObj, 0 |  0 );
   32380           0 :     if (!SWIG_IsOK(res2)) {
   32381           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_queryByPoint" "', argument " "2"" of type '" "pointObj *""'"); 
   32382             :     }
   32383           0 :     arg2 = (pointObj *)(argp2);
   32384           0 :     ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
   32385           0 :     if (!SWIG_IsOK(ecode3)) {
   32386           0 :       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "mapObj_queryByPoint" "', argument " "3"" of type '" "int""'");
   32387             :     } 
   32388             :     arg3 = (int)(val3);
   32389           0 :     ecode4 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
   32390           0 :     if (!SWIG_IsOK(ecode4)) {
   32391           0 :       SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "mapObj_queryByPoint" "', argument " "4"" of type '" "double""'");
   32392             :     } 
   32393           0 :     arg4 = (double)(val4);
   32394             :     result = (int)mapObj_queryByPoint(arg1,arg2,arg3,arg4);
   32395           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   32396             :     
   32397             :     
   32398             :     
   32399             :     
   32400           0 :     XSRETURN(argvi);
   32401           0 :   fail:
   32402             :     
   32403             :     
   32404             :     
   32405             :     
   32406           0 :     SWIG_croak_null();
   32407             :   }
   32408             : }
   32409             : 
   32410             : 
   32411           0 : XS(_wrap_mapObj_queryByRect) {
   32412             :   {
   32413             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   32414             :     rectObj arg2 ;
   32415           0 :     void *argp1 = 0 ;
   32416             :     int res1 = 0 ;
   32417             :     void *argp2 ;
   32418             :     int res2 = 0 ;
   32419             :     int argvi = 0;
   32420             :     int result;
   32421           0 :     dXSARGS;
   32422             :     
   32423           0 :     if ((items < 2) || (items > 2)) {
   32424           0 :       SWIG_croak("Usage: mapObj_queryByRect(self,rect);");
   32425             :     }
   32426           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   32427           0 :     if (!SWIG_IsOK(res1)) {
   32428           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_queryByRect" "', argument " "1"" of type '" "struct mapObj *""'"); 
   32429             :     }
   32430           0 :     arg1 = (struct mapObj *)(argp1);
   32431             :     {
   32432           0 :       res2 = SWIG_ConvertPtr(ST(1), &argp2, SWIGTYPE_p_rectObj,  0 );
   32433           0 :       if (!SWIG_IsOK(res2)) {
   32434           0 :         SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_queryByRect" "', argument " "2"" of type '" "rectObj""'"); 
   32435             :       }  
   32436           0 :       if (!argp2) {
   32437           0 :         SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "mapObj_queryByRect" "', argument " "2"" of type '" "rectObj""'");
   32438             :       } else {
   32439           0 :         arg2 = *((rectObj *)(argp2));
   32440             :       }
   32441             :     }
   32442             :     result = (int)mapObj_queryByRect(arg1,arg2);
   32443           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   32444             :     
   32445           0 :     XSRETURN(argvi);
   32446           0 :   fail:
   32447             :     
   32448           0 :     SWIG_croak_null();
   32449             :   }
   32450             : }
   32451             : 
   32452             : 
   32453           0 : XS(_wrap_mapObj_queryByFeatures) {
   32454             :   {
   32455             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   32456             :     int arg2 ;
   32457           0 :     void *argp1 = 0 ;
   32458             :     int res1 = 0 ;
   32459             :     int val2 ;
   32460             :     int ecode2 = 0 ;
   32461             :     int argvi = 0;
   32462             :     int result;
   32463           0 :     dXSARGS;
   32464             :     
   32465           0 :     if ((items < 2) || (items > 2)) {
   32466           0 :       SWIG_croak("Usage: mapObj_queryByFeatures(self,slayer);");
   32467             :     }
   32468           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   32469           0 :     if (!SWIG_IsOK(res1)) {
   32470           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_queryByFeatures" "', argument " "1"" of type '" "struct mapObj *""'"); 
   32471             :     }
   32472           0 :     arg1 = (struct mapObj *)(argp1);
   32473           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   32474           0 :     if (!SWIG_IsOK(ecode2)) {
   32475           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_queryByFeatures" "', argument " "2"" of type '" "int""'");
   32476             :     } 
   32477             :     arg2 = (int)(val2);
   32478             :     result = (int)mapObj_queryByFeatures(arg1,arg2);
   32479           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   32480             :     
   32481             :     
   32482           0 :     XSRETURN(argvi);
   32483           0 :   fail:
   32484             :     
   32485             :     
   32486           0 :     SWIG_croak_null();
   32487             :   }
   32488             : }
   32489             : 
   32490             : 
   32491           0 : XS(_wrap_mapObj_queryByShape) {
   32492             :   {
   32493             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   32494             :     shapeObj *arg2 = (shapeObj *) 0 ;
   32495           0 :     void *argp1 = 0 ;
   32496             :     int res1 = 0 ;
   32497           0 :     void *argp2 = 0 ;
   32498             :     int res2 = 0 ;
   32499             :     int argvi = 0;
   32500             :     int result;
   32501           0 :     dXSARGS;
   32502             :     
   32503           0 :     if ((items < 2) || (items > 2)) {
   32504           0 :       SWIG_croak("Usage: mapObj_queryByShape(self,shape);");
   32505             :     }
   32506           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   32507           0 :     if (!SWIG_IsOK(res1)) {
   32508           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_queryByShape" "', argument " "1"" of type '" "struct mapObj *""'"); 
   32509             :     }
   32510           0 :     arg1 = (struct mapObj *)(argp1);
   32511           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_shapeObj, 0 |  0 );
   32512           0 :     if (!SWIG_IsOK(res2)) {
   32513           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_queryByShape" "', argument " "2"" of type '" "shapeObj *""'"); 
   32514             :     }
   32515           0 :     arg2 = (shapeObj *)(argp2);
   32516           0 :     result = (int)mapObj_queryByShape(arg1,arg2);
   32517           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   32518             :     
   32519             :     
   32520           0 :     XSRETURN(argvi);
   32521           0 :   fail:
   32522             :     
   32523             :     
   32524           0 :     SWIG_croak_null();
   32525             :   }
   32526             : }
   32527             : 
   32528             : 
   32529           0 : XS(_wrap_mapObj_setWKTProjection) {
   32530             :   {
   32531             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   32532             :     char *arg2 = (char *) 0 ;
   32533           0 :     void *argp1 = 0 ;
   32534             :     int res1 = 0 ;
   32535             :     int res2 ;
   32536           0 :     char *buf2 = 0 ;
   32537           0 :     int alloc2 = 0 ;
   32538             :     int argvi = 0;
   32539             :     int result;
   32540           0 :     dXSARGS;
   32541             :     
   32542           0 :     if ((items < 2) || (items > 2)) {
   32543           0 :       SWIG_croak("Usage: mapObj_setWKTProjection(self,wkt);");
   32544             :     }
   32545           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   32546           0 :     if (!SWIG_IsOK(res1)) {
   32547           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_setWKTProjection" "', argument " "1"" of type '" "struct mapObj *""'"); 
   32548             :     }
   32549           0 :     arg1 = (struct mapObj *)(argp1);
   32550           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   32551           0 :     if (!SWIG_IsOK(res2)) {
   32552           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_setWKTProjection" "', argument " "2"" of type '" "char *""'");
   32553             :     }
   32554           0 :     arg2 = (char *)(buf2);
   32555             :     result = (int)mapObj_setWKTProjection(arg1,arg2);
   32556           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   32557             :     
   32558           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   32559           0 :     XSRETURN(argvi);
   32560           0 :   fail:
   32561             :     
   32562           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   32563           0 :     SWIG_croak_null();
   32564             :   }
   32565             : }
   32566             : 
   32567             : 
   32568           0 : XS(_wrap_mapObj_getProjection) {
   32569             :   {
   32570             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   32571           0 :     void *argp1 = 0 ;
   32572             :     int res1 = 0 ;
   32573             :     int argvi = 0;
   32574             :     char *result = 0 ;
   32575           0 :     dXSARGS;
   32576             :     
   32577           0 :     if ((items < 1) || (items > 1)) {
   32578           0 :       SWIG_croak("Usage: mapObj_getProjection(self);");
   32579             :     }
   32580           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   32581           0 :     if (!SWIG_IsOK(res1)) {
   32582           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_getProjection" "', argument " "1"" of type '" "struct mapObj *""'"); 
   32583             :     }
   32584           0 :     arg1 = (struct mapObj *)(argp1);
   32585             :     result = (char *)mapObj_getProjection(arg1);
   32586           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   32587             :     
   32588           0 :     free((char*)result);
   32589           0 :     XSRETURN(argvi);
   32590           0 :   fail:
   32591             :     
   32592           0 :     SWIG_croak_null();
   32593             :   }
   32594             : }
   32595             : 
   32596             : 
   32597           0 : XS(_wrap_mapObj_setProjection) {
   32598             :   {
   32599             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   32600             :     char *arg2 = (char *) 0 ;
   32601           0 :     void *argp1 = 0 ;
   32602             :     int res1 = 0 ;
   32603             :     int res2 ;
   32604           0 :     char *buf2 = 0 ;
   32605           0 :     int alloc2 = 0 ;
   32606             :     int argvi = 0;
   32607             :     int result;
   32608           0 :     dXSARGS;
   32609             :     
   32610           0 :     if ((items < 2) || (items > 2)) {
   32611           0 :       SWIG_croak("Usage: mapObj_setProjection(self,proj4);");
   32612             :     }
   32613           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   32614           0 :     if (!SWIG_IsOK(res1)) {
   32615           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_setProjection" "', argument " "1"" of type '" "struct mapObj *""'"); 
   32616             :     }
   32617           0 :     arg1 = (struct mapObj *)(argp1);
   32618           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   32619           0 :     if (!SWIG_IsOK(res2)) {
   32620           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_setProjection" "', argument " "2"" of type '" "char *""'");
   32621             :     }
   32622           0 :     arg2 = (char *)(buf2);
   32623             :     result = (int)mapObj_setProjection(arg1,arg2);
   32624           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   32625             :     
   32626           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   32627           0 :     XSRETURN(argvi);
   32628           0 :   fail:
   32629             :     
   32630           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   32631           0 :     SWIG_croak_null();
   32632             :   }
   32633             : }
   32634             : 
   32635             : 
   32636           0 : XS(_wrap_mapObj_save) {
   32637             :   {
   32638             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   32639             :     char *arg2 = (char *) 0 ;
   32640           0 :     void *argp1 = 0 ;
   32641             :     int res1 = 0 ;
   32642             :     int res2 ;
   32643           0 :     char *buf2 = 0 ;
   32644           0 :     int alloc2 = 0 ;
   32645             :     int argvi = 0;
   32646             :     int result;
   32647           0 :     dXSARGS;
   32648             :     
   32649           0 :     if ((items < 2) || (items > 2)) {
   32650           0 :       SWIG_croak("Usage: mapObj_save(self,filename);");
   32651             :     }
   32652           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   32653           0 :     if (!SWIG_IsOK(res1)) {
   32654           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_save" "', argument " "1"" of type '" "struct mapObj *""'"); 
   32655             :     }
   32656           0 :     arg1 = (struct mapObj *)(argp1);
   32657           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   32658           0 :     if (!SWIG_IsOK(res2)) {
   32659           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_save" "', argument " "2"" of type '" "char *""'");
   32660             :     }
   32661           0 :     arg2 = (char *)(buf2);
   32662             :     result = (int)mapObj_save(arg1,arg2);
   32663           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   32664             :     
   32665           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   32666           0 :     XSRETURN(argvi);
   32667           0 :   fail:
   32668             :     
   32669           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   32670           0 :     SWIG_croak_null();
   32671             :   }
   32672             : }
   32673             : 
   32674             : 
   32675           0 : XS(_wrap_mapObj_saveQuery) {
   32676             :   {
   32677             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   32678             :     char *arg2 = (char *) 0 ;
   32679             :     int arg3 = (int) 0 ;
   32680           0 :     void *argp1 = 0 ;
   32681             :     int res1 = 0 ;
   32682             :     int res2 ;
   32683           0 :     char *buf2 = 0 ;
   32684           0 :     int alloc2 = 0 ;
   32685             :     int val3 ;
   32686             :     int ecode3 = 0 ;
   32687             :     int argvi = 0;
   32688             :     int result;
   32689           0 :     dXSARGS;
   32690             :     
   32691           0 :     if ((items < 2) || (items > 3)) {
   32692           0 :       SWIG_croak("Usage: mapObj_saveQuery(self,filename,results);");
   32693             :     }
   32694           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   32695           0 :     if (!SWIG_IsOK(res1)) {
   32696           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_saveQuery" "', argument " "1"" of type '" "struct mapObj *""'"); 
   32697             :     }
   32698           0 :     arg1 = (struct mapObj *)(argp1);
   32699           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   32700           0 :     if (!SWIG_IsOK(res2)) {
   32701           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_saveQuery" "', argument " "2"" of type '" "char *""'");
   32702             :     }
   32703           0 :     arg2 = (char *)(buf2);
   32704           0 :     if (items > 2) {
   32705           0 :       ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
   32706           0 :       if (!SWIG_IsOK(ecode3)) {
   32707           0 :         SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "mapObj_saveQuery" "', argument " "3"" of type '" "int""'");
   32708             :       } 
   32709             :       arg3 = (int)(val3);
   32710             :     }
   32711             :     result = (int)mapObj_saveQuery(arg1,arg2,arg3);
   32712           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   32713             :     
   32714           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   32715             :     
   32716           0 :     XSRETURN(argvi);
   32717           0 :   fail:
   32718             :     
   32719           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   32720             :     
   32721           0 :     SWIG_croak_null();
   32722             :   }
   32723             : }
   32724             : 
   32725             : 
   32726           0 : XS(_wrap_mapObj_loadQuery) {
   32727             :   {
   32728             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   32729             :     char *arg2 = (char *) 0 ;
   32730           0 :     void *argp1 = 0 ;
   32731             :     int res1 = 0 ;
   32732             :     int res2 ;
   32733           0 :     char *buf2 = 0 ;
   32734           0 :     int alloc2 = 0 ;
   32735             :     int argvi = 0;
   32736             :     int result;
   32737           0 :     dXSARGS;
   32738             :     
   32739           0 :     if ((items < 2) || (items > 2)) {
   32740           0 :       SWIG_croak("Usage: mapObj_loadQuery(self,filename);");
   32741             :     }
   32742           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   32743           0 :     if (!SWIG_IsOK(res1)) {
   32744           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_loadQuery" "', argument " "1"" of type '" "struct mapObj *""'"); 
   32745             :     }
   32746           0 :     arg1 = (struct mapObj *)(argp1);
   32747           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   32748           0 :     if (!SWIG_IsOK(res2)) {
   32749           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_loadQuery" "', argument " "2"" of type '" "char *""'");
   32750             :     }
   32751           0 :     arg2 = (char *)(buf2);
   32752             :     result = (int)mapObj_loadQuery(arg1,arg2);
   32753           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   32754             :     
   32755           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   32756           0 :     XSRETURN(argvi);
   32757           0 :   fail:
   32758             :     
   32759           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   32760           0 :     SWIG_croak_null();
   32761             :   }
   32762             : }
   32763             : 
   32764             : 
   32765           0 : XS(_wrap_mapObj_freeQuery) {
   32766             :   {
   32767             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   32768             :     int arg2 = (int) -1 ;
   32769           0 :     void *argp1 = 0 ;
   32770             :     int res1 = 0 ;
   32771             :     int val2 ;
   32772             :     int ecode2 = 0 ;
   32773             :     int argvi = 0;
   32774           0 :     dXSARGS;
   32775             :     
   32776           0 :     if ((items < 1) || (items > 2)) {
   32777           0 :       SWIG_croak("Usage: mapObj_freeQuery(self,qlayer);");
   32778             :     }
   32779           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   32780           0 :     if (!SWIG_IsOK(res1)) {
   32781           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_freeQuery" "', argument " "1"" of type '" "struct mapObj *""'"); 
   32782             :     }
   32783           0 :     arg1 = (struct mapObj *)(argp1);
   32784           0 :     if (items > 1) {
   32785           0 :       ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   32786           0 :       if (!SWIG_IsOK(ecode2)) {
   32787           0 :         SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_freeQuery" "', argument " "2"" of type '" "int""'");
   32788             :       } 
   32789             :       arg2 = (int)(val2);
   32790             :     }
   32791             :     mapObj_freeQuery(arg1,arg2);
   32792           0 :     ST(argvi) = sv_newmortal();
   32793             :     
   32794             :     
   32795           0 :     XSRETURN(argvi);
   32796           0 :   fail:
   32797             :     
   32798             :     
   32799           0 :     SWIG_croak_null();
   32800             :   }
   32801             : }
   32802             : 
   32803             : 
   32804           0 : XS(_wrap_mapObj_saveQueryAsGML) {
   32805             :   {
   32806             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   32807             :     char *arg2 = (char *) 0 ;
   32808             :     char *arg3 = (char *) "GOMF" ;
   32809           0 :     void *argp1 = 0 ;
   32810             :     int res1 = 0 ;
   32811             :     int res2 ;
   32812           0 :     char *buf2 = 0 ;
   32813           0 :     int alloc2 = 0 ;
   32814             :     int res3 ;
   32815           0 :     char *buf3 = 0 ;
   32816           0 :     int alloc3 = 0 ;
   32817             :     int argvi = 0;
   32818             :     int result;
   32819           0 :     dXSARGS;
   32820             :     
   32821           0 :     if ((items < 2) || (items > 3)) {
   32822           0 :       SWIG_croak("Usage: mapObj_saveQueryAsGML(self,filename,ns);");
   32823             :     }
   32824           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   32825           0 :     if (!SWIG_IsOK(res1)) {
   32826           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_saveQueryAsGML" "', argument " "1"" of type '" "struct mapObj *""'"); 
   32827             :     }
   32828           0 :     arg1 = (struct mapObj *)(argp1);
   32829           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   32830           0 :     if (!SWIG_IsOK(res2)) {
   32831           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_saveQueryAsGML" "', argument " "2"" of type '" "char *""'");
   32832             :     }
   32833           0 :     arg2 = (char *)(buf2);
   32834           0 :     if (items > 2) {
   32835           0 :       res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
   32836           0 :       if (!SWIG_IsOK(res3)) {
   32837           0 :         SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "mapObj_saveQueryAsGML" "', argument " "3"" of type '" "char const *""'");
   32838             :       }
   32839           0 :       arg3 = (char *)(buf3);
   32840             :     }
   32841             :     result = (int)mapObj_saveQueryAsGML(arg1,arg2,(char const *)arg3);
   32842           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   32843             :     
   32844           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   32845           0 :     if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
   32846           0 :     XSRETURN(argvi);
   32847           0 :   fail:
   32848             :     
   32849           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   32850           0 :     if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
   32851           0 :     SWIG_croak_null();
   32852             :   }
   32853             : }
   32854             : 
   32855             : 
   32856           0 : XS(_wrap_mapObj_getMetaData) {
   32857             :   {
   32858             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   32859             :     char *arg2 = (char *) 0 ;
   32860           0 :     void *argp1 = 0 ;
   32861             :     int res1 = 0 ;
   32862             :     int res2 ;
   32863           0 :     char *buf2 = 0 ;
   32864           0 :     int alloc2 = 0 ;
   32865             :     int argvi = 0;
   32866             :     char *result = 0 ;
   32867           0 :     dXSARGS;
   32868             :     
   32869           0 :     if ((items < 2) || (items > 2)) {
   32870           0 :       SWIG_croak("Usage: mapObj_getMetaData(self,name);");
   32871             :     }
   32872           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   32873           0 :     if (!SWIG_IsOK(res1)) {
   32874           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_getMetaData" "', argument " "1"" of type '" "struct mapObj *""'"); 
   32875             :     }
   32876           0 :     arg1 = (struct mapObj *)(argp1);
   32877           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   32878           0 :     if (!SWIG_IsOK(res2)) {
   32879           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_getMetaData" "', argument " "2"" of type '" "char *""'");
   32880             :     }
   32881           0 :     arg2 = (char *)(buf2);
   32882           0 :     result = (char *)mapObj_getMetaData(arg1,arg2);
   32883           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   32884             :     
   32885           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   32886           0 :     XSRETURN(argvi);
   32887           0 :   fail:
   32888             :     
   32889           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   32890           0 :     SWIG_croak_null();
   32891             :   }
   32892             : }
   32893             : 
   32894             : 
   32895           0 : XS(_wrap_mapObj_setMetaData) {
   32896             :   {
   32897             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   32898             :     char *arg2 = (char *) 0 ;
   32899             :     char *arg3 = (char *) 0 ;
   32900           0 :     void *argp1 = 0 ;
   32901             :     int res1 = 0 ;
   32902             :     int res2 ;
   32903           0 :     char *buf2 = 0 ;
   32904           0 :     int alloc2 = 0 ;
   32905             :     int res3 ;
   32906           0 :     char *buf3 = 0 ;
   32907           0 :     int alloc3 = 0 ;
   32908             :     int argvi = 0;
   32909             :     int result;
   32910           0 :     dXSARGS;
   32911             :     
   32912           0 :     if ((items < 3) || (items > 3)) {
   32913           0 :       SWIG_croak("Usage: mapObj_setMetaData(self,name,value);");
   32914             :     }
   32915           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   32916           0 :     if (!SWIG_IsOK(res1)) {
   32917           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_setMetaData" "', argument " "1"" of type '" "struct mapObj *""'"); 
   32918             :     }
   32919           0 :     arg1 = (struct mapObj *)(argp1);
   32920           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   32921           0 :     if (!SWIG_IsOK(res2)) {
   32922           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_setMetaData" "', argument " "2"" of type '" "char *""'");
   32923             :     }
   32924           0 :     arg2 = (char *)(buf2);
   32925           0 :     res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
   32926           0 :     if (!SWIG_IsOK(res3)) {
   32927           0 :       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "mapObj_setMetaData" "', argument " "3"" of type '" "char *""'");
   32928             :     }
   32929           0 :     arg3 = (char *)(buf3);
   32930             :     result = (int)mapObj_setMetaData(arg1,arg2,arg3);
   32931           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   32932             :     
   32933           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   32934           0 :     if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
   32935           0 :     XSRETURN(argvi);
   32936           0 :   fail:
   32937             :     
   32938           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   32939           0 :     if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
   32940           0 :     SWIG_croak_null();
   32941             :   }
   32942             : }
   32943             : 
   32944             : 
   32945           0 : XS(_wrap_mapObj_removeMetaData) {
   32946             :   {
   32947             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   32948             :     char *arg2 = (char *) 0 ;
   32949           0 :     void *argp1 = 0 ;
   32950             :     int res1 = 0 ;
   32951             :     int res2 ;
   32952           0 :     char *buf2 = 0 ;
   32953           0 :     int alloc2 = 0 ;
   32954             :     int argvi = 0;
   32955             :     int result;
   32956           0 :     dXSARGS;
   32957             :     
   32958           0 :     if ((items < 2) || (items > 2)) {
   32959           0 :       SWIG_croak("Usage: mapObj_removeMetaData(self,name);");
   32960             :     }
   32961           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   32962           0 :     if (!SWIG_IsOK(res1)) {
   32963           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_removeMetaData" "', argument " "1"" of type '" "struct mapObj *""'"); 
   32964             :     }
   32965           0 :     arg1 = (struct mapObj *)(argp1);
   32966           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   32967           0 :     if (!SWIG_IsOK(res2)) {
   32968           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_removeMetaData" "', argument " "2"" of type '" "char *""'");
   32969             :     }
   32970           0 :     arg2 = (char *)(buf2);
   32971             :     result = (int)mapObj_removeMetaData(arg1,arg2);
   32972           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   32973             :     
   32974           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   32975           0 :     XSRETURN(argvi);
   32976           0 :   fail:
   32977             :     
   32978           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   32979           0 :     SWIG_croak_null();
   32980             :   }
   32981             : }
   32982             : 
   32983             : 
   32984           0 : XS(_wrap_mapObj_getFirstMetaDataKey) {
   32985             :   {
   32986             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   32987           0 :     void *argp1 = 0 ;
   32988             :     int res1 = 0 ;
   32989             :     int argvi = 0;
   32990             :     char *result = 0 ;
   32991           0 :     dXSARGS;
   32992             :     
   32993           0 :     if ((items < 1) || (items > 1)) {
   32994           0 :       SWIG_croak("Usage: mapObj_getFirstMetaDataKey(self);");
   32995             :     }
   32996           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   32997           0 :     if (!SWIG_IsOK(res1)) {
   32998           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_getFirstMetaDataKey" "', argument " "1"" of type '" "struct mapObj *""'"); 
   32999             :     }
   33000           0 :     arg1 = (struct mapObj *)(argp1);
   33001             :     result = (char *)mapObj_getFirstMetaDataKey(arg1);
   33002           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   33003             :     
   33004           0 :     XSRETURN(argvi);
   33005           0 :   fail:
   33006             :     
   33007           0 :     SWIG_croak_null();
   33008             :   }
   33009             : }
   33010             : 
   33011             : 
   33012           0 : XS(_wrap_mapObj_getNextMetaDataKey) {
   33013             :   {
   33014             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   33015             :     char *arg2 = (char *) 0 ;
   33016           0 :     void *argp1 = 0 ;
   33017             :     int res1 = 0 ;
   33018             :     int res2 ;
   33019           0 :     char *buf2 = 0 ;
   33020           0 :     int alloc2 = 0 ;
   33021             :     int argvi = 0;
   33022             :     char *result = 0 ;
   33023           0 :     dXSARGS;
   33024             :     
   33025           0 :     if ((items < 2) || (items > 2)) {
   33026           0 :       SWIG_croak("Usage: mapObj_getNextMetaDataKey(self,lastkey);");
   33027             :     }
   33028           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   33029           0 :     if (!SWIG_IsOK(res1)) {
   33030           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_getNextMetaDataKey" "', argument " "1"" of type '" "struct mapObj *""'"); 
   33031             :     }
   33032           0 :     arg1 = (struct mapObj *)(argp1);
   33033           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   33034           0 :     if (!SWIG_IsOK(res2)) {
   33035           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_getNextMetaDataKey" "', argument " "2"" of type '" "char *""'");
   33036             :     }
   33037           0 :     arg2 = (char *)(buf2);
   33038             :     result = (char *)mapObj_getNextMetaDataKey(arg1,arg2);
   33039           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   33040             :     
   33041           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   33042           0 :     XSRETURN(argvi);
   33043           0 :   fail:
   33044             :     
   33045           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   33046           0 :     SWIG_croak_null();
   33047             :   }
   33048             : }
   33049             : 
   33050             : 
   33051           0 : XS(_wrap_mapObj_setSymbolSet) {
   33052             :   {
   33053             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   33054             :     char *arg2 = (char *) 0 ;
   33055           0 :     void *argp1 = 0 ;
   33056             :     int res1 = 0 ;
   33057             :     int res2 ;
   33058           0 :     char *buf2 = 0 ;
   33059           0 :     int alloc2 = 0 ;
   33060             :     int argvi = 0;
   33061             :     int result;
   33062           0 :     dXSARGS;
   33063             :     
   33064           0 :     if ((items < 2) || (items > 2)) {
   33065           0 :       SWIG_croak("Usage: mapObj_setSymbolSet(self,szFileName);");
   33066             :     }
   33067           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   33068           0 :     if (!SWIG_IsOK(res1)) {
   33069           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_setSymbolSet" "', argument " "1"" of type '" "struct mapObj *""'"); 
   33070             :     }
   33071           0 :     arg1 = (struct mapObj *)(argp1);
   33072           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   33073           0 :     if (!SWIG_IsOK(res2)) {
   33074           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_setSymbolSet" "', argument " "2"" of type '" "char *""'");
   33075             :     }
   33076           0 :     arg2 = (char *)(buf2);
   33077           0 :     result = (int)mapObj_setSymbolSet(arg1,arg2);
   33078           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   33079             :     
   33080           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   33081           0 :     XSRETURN(argvi);
   33082           0 :   fail:
   33083             :     
   33084           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   33085           0 :     SWIG_croak_null();
   33086             :   }
   33087             : }
   33088             : 
   33089             : 
   33090           0 : XS(_wrap_mapObj_getNumSymbols) {
   33091             :   {
   33092             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   33093           0 :     void *argp1 = 0 ;
   33094             :     int res1 = 0 ;
   33095             :     int argvi = 0;
   33096             :     int result;
   33097           0 :     dXSARGS;
   33098             :     
   33099           0 :     if ((items < 1) || (items > 1)) {
   33100           0 :       SWIG_croak("Usage: mapObj_getNumSymbols(self);");
   33101             :     }
   33102           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   33103           0 :     if (!SWIG_IsOK(res1)) {
   33104           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_getNumSymbols" "', argument " "1"" of type '" "struct mapObj *""'"); 
   33105             :     }
   33106           0 :     arg1 = (struct mapObj *)(argp1);
   33107           0 :     result = (int)mapObj_getNumSymbols(arg1);
   33108           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   33109             :     
   33110           0 :     XSRETURN(argvi);
   33111           0 :   fail:
   33112             :     
   33113           0 :     SWIG_croak_null();
   33114             :   }
   33115             : }
   33116             : 
   33117             : 
   33118           0 : XS(_wrap_mapObj_setFontSet) {
   33119             :   {
   33120             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   33121             :     char *arg2 = (char *) 0 ;
   33122           0 :     void *argp1 = 0 ;
   33123             :     int res1 = 0 ;
   33124             :     int res2 ;
   33125           0 :     char *buf2 = 0 ;
   33126           0 :     int alloc2 = 0 ;
   33127             :     int argvi = 0;
   33128             :     int result;
   33129           0 :     dXSARGS;
   33130             :     
   33131           0 :     if ((items < 2) || (items > 2)) {
   33132           0 :       SWIG_croak("Usage: mapObj_setFontSet(self,filename);");
   33133             :     }
   33134           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   33135           0 :     if (!SWIG_IsOK(res1)) {
   33136           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_setFontSet" "', argument " "1"" of type '" "struct mapObj *""'"); 
   33137             :     }
   33138           0 :     arg1 = (struct mapObj *)(argp1);
   33139           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   33140           0 :     if (!SWIG_IsOK(res2)) {
   33141           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_setFontSet" "', argument " "2"" of type '" "char *""'");
   33142             :     }
   33143           0 :     arg2 = (char *)(buf2);
   33144           0 :     result = (int)mapObj_setFontSet(arg1,arg2);
   33145           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   33146             :     
   33147           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   33148           0 :     XSRETURN(argvi);
   33149           0 :   fail:
   33150             :     
   33151           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   33152           0 :     SWIG_croak_null();
   33153             :   }
   33154             : }
   33155             : 
   33156             : 
   33157           0 : XS(_wrap_mapObj_saveMapContext) {
   33158             :   {
   33159             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   33160             :     char *arg2 = (char *) 0 ;
   33161           0 :     void *argp1 = 0 ;
   33162             :     int res1 = 0 ;
   33163             :     int res2 ;
   33164           0 :     char *buf2 = 0 ;
   33165           0 :     int alloc2 = 0 ;
   33166             :     int argvi = 0;
   33167             :     int result;
   33168           0 :     dXSARGS;
   33169             :     
   33170           0 :     if ((items < 2) || (items > 2)) {
   33171           0 :       SWIG_croak("Usage: mapObj_saveMapContext(self,szFileName);");
   33172             :     }
   33173           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   33174           0 :     if (!SWIG_IsOK(res1)) {
   33175           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_saveMapContext" "', argument " "1"" of type '" "struct mapObj *""'"); 
   33176             :     }
   33177           0 :     arg1 = (struct mapObj *)(argp1);
   33178           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   33179           0 :     if (!SWIG_IsOK(res2)) {
   33180           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_saveMapContext" "', argument " "2"" of type '" "char *""'");
   33181             :     }
   33182           0 :     arg2 = (char *)(buf2);
   33183             :     result = (int)mapObj_saveMapContext(arg1,arg2);
   33184           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   33185             :     
   33186           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   33187           0 :     XSRETURN(argvi);
   33188           0 :   fail:
   33189             :     
   33190           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   33191           0 :     SWIG_croak_null();
   33192             :   }
   33193             : }
   33194             : 
   33195             : 
   33196           0 : XS(_wrap_mapObj_loadMapContext) {
   33197             :   {
   33198             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   33199             :     char *arg2 = (char *) 0 ;
   33200             :     int arg3 = (int) 0 ;
   33201           0 :     void *argp1 = 0 ;
   33202             :     int res1 = 0 ;
   33203             :     int res2 ;
   33204           0 :     char *buf2 = 0 ;
   33205           0 :     int alloc2 = 0 ;
   33206             :     int val3 ;
   33207             :     int ecode3 = 0 ;
   33208             :     int argvi = 0;
   33209             :     int result;
   33210           0 :     dXSARGS;
   33211             :     
   33212           0 :     if ((items < 2) || (items > 3)) {
   33213           0 :       SWIG_croak("Usage: mapObj_loadMapContext(self,szFileName,useUniqueNames);");
   33214             :     }
   33215           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   33216           0 :     if (!SWIG_IsOK(res1)) {
   33217           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_loadMapContext" "', argument " "1"" of type '" "struct mapObj *""'"); 
   33218             :     }
   33219           0 :     arg1 = (struct mapObj *)(argp1);
   33220           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   33221           0 :     if (!SWIG_IsOK(res2)) {
   33222           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_loadMapContext" "', argument " "2"" of type '" "char *""'");
   33223             :     }
   33224           0 :     arg2 = (char *)(buf2);
   33225           0 :     if (items > 2) {
   33226           0 :       ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
   33227           0 :       if (!SWIG_IsOK(ecode3)) {
   33228           0 :         SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "mapObj_loadMapContext" "', argument " "3"" of type '" "int""'");
   33229             :       } 
   33230             :       arg3 = (int)(val3);
   33231             :     }
   33232             :     result = (int)mapObj_loadMapContext(arg1,arg2,arg3);
   33233           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   33234             :     
   33235           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   33236             :     
   33237           0 :     XSRETURN(argvi);
   33238           0 :   fail:
   33239             :     
   33240           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   33241             :     
   33242           0 :     SWIG_croak_null();
   33243             :   }
   33244             : }
   33245             : 
   33246             : 
   33247           0 : XS(_wrap_mapObj_moveLayerUp) {
   33248             :   {
   33249             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   33250             :     int arg2 ;
   33251           0 :     void *argp1 = 0 ;
   33252             :     int res1 = 0 ;
   33253             :     int val2 ;
   33254             :     int ecode2 = 0 ;
   33255             :     int argvi = 0;
   33256             :     int result;
   33257           0 :     dXSARGS;
   33258             :     
   33259           0 :     if ((items < 2) || (items > 2)) {
   33260           0 :       SWIG_croak("Usage: mapObj_moveLayerUp(self,layerindex);");
   33261             :     }
   33262           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   33263           0 :     if (!SWIG_IsOK(res1)) {
   33264           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_moveLayerUp" "', argument " "1"" of type '" "struct mapObj *""'"); 
   33265             :     }
   33266           0 :     arg1 = (struct mapObj *)(argp1);
   33267           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   33268           0 :     if (!SWIG_IsOK(ecode2)) {
   33269           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_moveLayerUp" "', argument " "2"" of type '" "int""'");
   33270             :     } 
   33271             :     arg2 = (int)(val2);
   33272             :     result = (int)mapObj_moveLayerUp(arg1,arg2);
   33273           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   33274             :     
   33275             :     
   33276           0 :     XSRETURN(argvi);
   33277           0 :   fail:
   33278             :     
   33279             :     
   33280           0 :     SWIG_croak_null();
   33281             :   }
   33282             : }
   33283             : 
   33284             : 
   33285           0 : XS(_wrap_mapObj_moveLayerDown) {
   33286             :   {
   33287             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   33288             :     int arg2 ;
   33289           0 :     void *argp1 = 0 ;
   33290             :     int res1 = 0 ;
   33291             :     int val2 ;
   33292             :     int ecode2 = 0 ;
   33293             :     int argvi = 0;
   33294             :     int result;
   33295           0 :     dXSARGS;
   33296             :     
   33297           0 :     if ((items < 2) || (items > 2)) {
   33298           0 :       SWIG_croak("Usage: mapObj_moveLayerDown(self,layerindex);");
   33299             :     }
   33300           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   33301           0 :     if (!SWIG_IsOK(res1)) {
   33302           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_moveLayerDown" "', argument " "1"" of type '" "struct mapObj *""'"); 
   33303             :     }
   33304           0 :     arg1 = (struct mapObj *)(argp1);
   33305           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   33306           0 :     if (!SWIG_IsOK(ecode2)) {
   33307           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_moveLayerDown" "', argument " "2"" of type '" "int""'");
   33308             :     } 
   33309             :     arg2 = (int)(val2);
   33310             :     result = (int)mapObj_moveLayerDown(arg1,arg2);
   33311           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   33312             :     
   33313             :     
   33314           0 :     XSRETURN(argvi);
   33315           0 :   fail:
   33316             :     
   33317             :     
   33318           0 :     SWIG_croak_null();
   33319             :   }
   33320             : }
   33321             : 
   33322             : 
   33323           0 : XS(_wrap_mapObj_getLayersDrawingOrder) {
   33324             :   {
   33325             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   33326           0 :     void *argp1 = 0 ;
   33327             :     int res1 = 0 ;
   33328             :     int argvi = 0;
   33329             :     intarray *result = 0 ;
   33330           0 :     dXSARGS;
   33331             :     
   33332           0 :     if ((items < 1) || (items > 1)) {
   33333           0 :       SWIG_croak("Usage: mapObj_getLayersDrawingOrder(self);");
   33334             :     }
   33335           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   33336           0 :     if (!SWIG_IsOK(res1)) {
   33337           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_getLayersDrawingOrder" "', argument " "1"" of type '" "struct mapObj *""'"); 
   33338             :     }
   33339           0 :     arg1 = (struct mapObj *)(argp1);
   33340           0 :     result = (intarray *)mapObj_getLayersDrawingOrder(arg1);
   33341           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_intarray, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   33342             :     
   33343           0 :     XSRETURN(argvi);
   33344           0 :   fail:
   33345             :     
   33346           0 :     SWIG_croak_null();
   33347             :   }
   33348             : }
   33349             : 
   33350             : 
   33351           0 : XS(_wrap_mapObj_setLayersDrawingOrder) {
   33352             :   {
   33353             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   33354             :     int *arg2 = (int *) 0 ;
   33355           0 :     void *argp1 = 0 ;
   33356             :     int res1 = 0 ;
   33357           0 :     void *argp2 = 0 ;
   33358             :     int res2 = 0 ;
   33359             :     int argvi = 0;
   33360             :     int result;
   33361           0 :     dXSARGS;
   33362             :     
   33363           0 :     if ((items < 2) || (items > 2)) {
   33364           0 :       SWIG_croak("Usage: mapObj_setLayersDrawingOrder(self,panIndexes);");
   33365             :     }
   33366           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   33367           0 :     if (!SWIG_IsOK(res1)) {
   33368           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_setLayersDrawingOrder" "', argument " "1"" of type '" "struct mapObj *""'"); 
   33369             :     }
   33370           0 :     arg1 = (struct mapObj *)(argp1);
   33371           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_int, 0 |  0 );
   33372           0 :     if (!SWIG_IsOK(res2)) {
   33373           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_setLayersDrawingOrder" "', argument " "2"" of type '" "int *""'"); 
   33374             :     }
   33375           0 :     arg2 = (int *)(argp2);
   33376             :     result = (int)mapObj_setLayersDrawingOrder(arg1,arg2);
   33377           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   33378             :     
   33379             :     
   33380           0 :     XSRETURN(argvi);
   33381           0 :   fail:
   33382             :     
   33383             :     
   33384           0 :     SWIG_croak_null();
   33385             :   }
   33386             : }
   33387             : 
   33388             : 
   33389           0 : XS(_wrap_mapObj_setConfigOption) {
   33390             :   {
   33391             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   33392             :     char *arg2 = (char *) 0 ;
   33393             :     char *arg3 = (char *) 0 ;
   33394           0 :     void *argp1 = 0 ;
   33395             :     int res1 = 0 ;
   33396             :     int res2 ;
   33397           0 :     char *buf2 = 0 ;
   33398           0 :     int alloc2 = 0 ;
   33399             :     int res3 ;
   33400           0 :     char *buf3 = 0 ;
   33401           0 :     int alloc3 = 0 ;
   33402             :     int argvi = 0;
   33403           0 :     dXSARGS;
   33404             :     
   33405           0 :     if ((items < 3) || (items > 3)) {
   33406           0 :       SWIG_croak("Usage: mapObj_setConfigOption(self,key,value);");
   33407             :     }
   33408           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   33409           0 :     if (!SWIG_IsOK(res1)) {
   33410           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_setConfigOption" "', argument " "1"" of type '" "struct mapObj *""'"); 
   33411             :     }
   33412           0 :     arg1 = (struct mapObj *)(argp1);
   33413           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   33414           0 :     if (!SWIG_IsOK(res2)) {
   33415           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_setConfigOption" "', argument " "2"" of type '" "char *""'");
   33416             :     }
   33417           0 :     arg2 = (char *)(buf2);
   33418           0 :     res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
   33419           0 :     if (!SWIG_IsOK(res3)) {
   33420           0 :       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "mapObj_setConfigOption" "', argument " "3"" of type '" "char *""'");
   33421             :     }
   33422           0 :     arg3 = (char *)(buf3);
   33423             :     mapObj_setConfigOption(arg1,arg2,arg3);
   33424           0 :     ST(argvi) = sv_newmortal();
   33425             :     
   33426           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   33427           0 :     if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
   33428           0 :     XSRETURN(argvi);
   33429           0 :   fail:
   33430             :     
   33431           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   33432           0 :     if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
   33433           0 :     SWIG_croak_null();
   33434             :   }
   33435             : }
   33436             : 
   33437             : 
   33438           0 : XS(_wrap_mapObj_getConfigOption) {
   33439             :   {
   33440             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   33441             :     char *arg2 = (char *) 0 ;
   33442           0 :     void *argp1 = 0 ;
   33443             :     int res1 = 0 ;
   33444             :     int res2 ;
   33445           0 :     char *buf2 = 0 ;
   33446           0 :     int alloc2 = 0 ;
   33447             :     int argvi = 0;
   33448             :     char *result = 0 ;
   33449           0 :     dXSARGS;
   33450             :     
   33451           0 :     if ((items < 2) || (items > 2)) {
   33452           0 :       SWIG_croak("Usage: mapObj_getConfigOption(self,key);");
   33453             :     }
   33454           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   33455           0 :     if (!SWIG_IsOK(res1)) {
   33456           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_getConfigOption" "', argument " "1"" of type '" "struct mapObj *""'"); 
   33457             :     }
   33458           0 :     arg1 = (struct mapObj *)(argp1);
   33459           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   33460           0 :     if (!SWIG_IsOK(res2)) {
   33461           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_getConfigOption" "', argument " "2"" of type '" "char *""'");
   33462             :     }
   33463           0 :     arg2 = (char *)(buf2);
   33464             :     result = (char *)mapObj_getConfigOption(arg1,arg2);
   33465           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   33466             :     
   33467           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   33468           0 :     XSRETURN(argvi);
   33469           0 :   fail:
   33470             :     
   33471           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   33472           0 :     SWIG_croak_null();
   33473             :   }
   33474             : }
   33475             : 
   33476             : 
   33477           0 : XS(_wrap_mapObj_applyConfigOptions) {
   33478             :   {
   33479             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   33480           0 :     void *argp1 = 0 ;
   33481             :     int res1 = 0 ;
   33482             :     int argvi = 0;
   33483           0 :     dXSARGS;
   33484             :     
   33485           0 :     if ((items < 1) || (items > 1)) {
   33486           0 :       SWIG_croak("Usage: mapObj_applyConfigOptions(self);");
   33487             :     }
   33488           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   33489           0 :     if (!SWIG_IsOK(res1)) {
   33490           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_applyConfigOptions" "', argument " "1"" of type '" "struct mapObj *""'"); 
   33491             :     }
   33492           0 :     arg1 = (struct mapObj *)(argp1);
   33493             :     mapObj_applyConfigOptions(arg1);
   33494           0 :     ST(argvi) = sv_newmortal();
   33495             :     
   33496           0 :     XSRETURN(argvi);
   33497           0 :   fail:
   33498             :     
   33499           0 :     SWIG_croak_null();
   33500             :   }
   33501             : }
   33502             : 
   33503             : 
   33504           0 : XS(_wrap_mapObj_applySLD) {
   33505             :   {
   33506             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   33507             :     char *arg2 = (char *) 0 ;
   33508           0 :     void *argp1 = 0 ;
   33509             :     int res1 = 0 ;
   33510             :     int res2 ;
   33511           0 :     char *buf2 = 0 ;
   33512           0 :     int alloc2 = 0 ;
   33513             :     int argvi = 0;
   33514             :     int result;
   33515           0 :     dXSARGS;
   33516             :     
   33517           0 :     if ((items < 2) || (items > 2)) {
   33518           0 :       SWIG_croak("Usage: mapObj_applySLD(self,sld);");
   33519             :     }
   33520           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   33521           0 :     if (!SWIG_IsOK(res1)) {
   33522           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_applySLD" "', argument " "1"" of type '" "struct mapObj *""'"); 
   33523             :     }
   33524           0 :     arg1 = (struct mapObj *)(argp1);
   33525           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   33526           0 :     if (!SWIG_IsOK(res2)) {
   33527           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_applySLD" "', argument " "2"" of type '" "char *""'");
   33528             :     }
   33529           0 :     arg2 = (char *)(buf2);
   33530             :     result = (int)mapObj_applySLD(arg1,arg2);
   33531           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   33532             :     
   33533           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   33534           0 :     XSRETURN(argvi);
   33535           0 :   fail:
   33536             :     
   33537           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   33538           0 :     SWIG_croak_null();
   33539             :   }
   33540             : }
   33541             : 
   33542             : 
   33543           0 : XS(_wrap_mapObj_applySLDURL) {
   33544             :   {
   33545             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   33546             :     char *arg2 = (char *) 0 ;
   33547           0 :     void *argp1 = 0 ;
   33548             :     int res1 = 0 ;
   33549             :     int res2 ;
   33550           0 :     char *buf2 = 0 ;
   33551           0 :     int alloc2 = 0 ;
   33552             :     int argvi = 0;
   33553             :     int result;
   33554           0 :     dXSARGS;
   33555             :     
   33556           0 :     if ((items < 2) || (items > 2)) {
   33557           0 :       SWIG_croak("Usage: mapObj_applySLDURL(self,sld);");
   33558             :     }
   33559           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   33560           0 :     if (!SWIG_IsOK(res1)) {
   33561           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_applySLDURL" "', argument " "1"" of type '" "struct mapObj *""'"); 
   33562             :     }
   33563           0 :     arg1 = (struct mapObj *)(argp1);
   33564           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   33565           0 :     if (!SWIG_IsOK(res2)) {
   33566           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_applySLDURL" "', argument " "2"" of type '" "char *""'");
   33567             :     }
   33568           0 :     arg2 = (char *)(buf2);
   33569             :     result = (int)mapObj_applySLDURL(arg1,arg2);
   33570           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   33571             :     
   33572           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   33573           0 :     XSRETURN(argvi);
   33574           0 :   fail:
   33575             :     
   33576           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   33577           0 :     SWIG_croak_null();
   33578             :   }
   33579             : }
   33580             : 
   33581             : 
   33582           0 : XS(_wrap_mapObj_generateSLD) {
   33583             :   {
   33584             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   33585             :     char *arg2 = (char *) NULL ;
   33586           0 :     void *argp1 = 0 ;
   33587             :     int res1 = 0 ;
   33588             :     int res2 ;
   33589           0 :     char *buf2 = 0 ;
   33590           0 :     int alloc2 = 0 ;
   33591             :     int argvi = 0;
   33592             :     char *result = 0 ;
   33593           0 :     dXSARGS;
   33594             :     
   33595           0 :     if ((items < 1) || (items > 2)) {
   33596           0 :       SWIG_croak("Usage: mapObj_generateSLD(self,sldVersion);");
   33597             :     }
   33598           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   33599           0 :     if (!SWIG_IsOK(res1)) {
   33600           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_generateSLD" "', argument " "1"" of type '" "struct mapObj *""'"); 
   33601             :     }
   33602           0 :     arg1 = (struct mapObj *)(argp1);
   33603           0 :     if (items > 1) {
   33604           0 :       res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   33605           0 :       if (!SWIG_IsOK(res2)) {
   33606           0 :         SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_generateSLD" "', argument " "2"" of type '" "char *""'");
   33607             :       }
   33608           0 :       arg2 = (char *)(buf2);
   33609             :     }
   33610             :     result = (char *)mapObj_generateSLD(arg1,arg2);
   33611           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   33612             :     
   33613           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   33614           0 :     free((char*)result);
   33615           0 :     XSRETURN(argvi);
   33616           0 :   fail:
   33617             :     
   33618           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   33619           0 :     SWIG_croak_null();
   33620             :   }
   33621             : }
   33622             : 
   33623             : 
   33624           0 : XS(_wrap_mapObj_processTemplate) {
   33625             :   {
   33626             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   33627             :     int arg2 ;
   33628             :     char **arg3 = (char **) 0 ;
   33629             :     char **arg4 = (char **) 0 ;
   33630             :     int arg5 ;
   33631           0 :     void *argp1 = 0 ;
   33632             :     int res1 = 0 ;
   33633             :     int val2 ;
   33634             :     int ecode2 = 0 ;
   33635           0 :     void *argp3 = 0 ;
   33636             :     int res3 = 0 ;
   33637           0 :     void *argp4 = 0 ;
   33638             :     int res4 = 0 ;
   33639             :     int val5 ;
   33640             :     int ecode5 = 0 ;
   33641             :     int argvi = 0;
   33642             :     char *result = 0 ;
   33643           0 :     dXSARGS;
   33644             :     
   33645           0 :     if ((items < 5) || (items > 5)) {
   33646           0 :       SWIG_croak("Usage: mapObj_processTemplate(self,bGenerateImages,names,values,numentries);");
   33647             :     }
   33648           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   33649           0 :     if (!SWIG_IsOK(res1)) {
   33650           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_processTemplate" "', argument " "1"" of type '" "struct mapObj *""'"); 
   33651             :     }
   33652           0 :     arg1 = (struct mapObj *)(argp1);
   33653           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   33654           0 :     if (!SWIG_IsOK(ecode2)) {
   33655           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_processTemplate" "', argument " "2"" of type '" "int""'");
   33656             :     } 
   33657             :     arg2 = (int)(val2);
   33658           0 :     res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_p_char, 0 |  0 );
   33659           0 :     if (!SWIG_IsOK(res3)) {
   33660           0 :       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "mapObj_processTemplate" "', argument " "3"" of type '" "char **""'"); 
   33661             :     }
   33662           0 :     arg3 = (char **)(argp3);
   33663           0 :     res4 = SWIG_ConvertPtr(ST(3), &argp4,SWIGTYPE_p_p_char, 0 |  0 );
   33664           0 :     if (!SWIG_IsOK(res4)) {
   33665           0 :       SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "mapObj_processTemplate" "', argument " "4"" of type '" "char **""'"); 
   33666             :     }
   33667           0 :     arg4 = (char **)(argp4);
   33668           0 :     ecode5 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
   33669           0 :     if (!SWIG_IsOK(ecode5)) {
   33670           0 :       SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "mapObj_processTemplate" "', argument " "5"" of type '" "int""'");
   33671             :     } 
   33672             :     arg5 = (int)(val5);
   33673             :     result = (char *)mapObj_processTemplate(arg1,arg2,arg3,arg4,arg5);
   33674           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   33675             :     
   33676             :     
   33677             :     
   33678             :     
   33679             :     
   33680           0 :     free((char*)result);
   33681           0 :     XSRETURN(argvi);
   33682           0 :   fail:
   33683             :     
   33684             :     
   33685             :     
   33686             :     
   33687             :     
   33688           0 :     SWIG_croak_null();
   33689             :   }
   33690             : }
   33691             : 
   33692             : 
   33693           0 : XS(_wrap_mapObj_processLegendTemplate) {
   33694             :   {
   33695             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   33696             :     char **arg2 = (char **) 0 ;
   33697             :     char **arg3 = (char **) 0 ;
   33698             :     int arg4 ;
   33699           0 :     void *argp1 = 0 ;
   33700             :     int res1 = 0 ;
   33701           0 :     void *argp2 = 0 ;
   33702             :     int res2 = 0 ;
   33703           0 :     void *argp3 = 0 ;
   33704             :     int res3 = 0 ;
   33705             :     int val4 ;
   33706             :     int ecode4 = 0 ;
   33707             :     int argvi = 0;
   33708             :     char *result = 0 ;
   33709           0 :     dXSARGS;
   33710             :     
   33711           0 :     if ((items < 4) || (items > 4)) {
   33712           0 :       SWIG_croak("Usage: mapObj_processLegendTemplate(self,names,values,numentries);");
   33713             :     }
   33714           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   33715           0 :     if (!SWIG_IsOK(res1)) {
   33716           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_processLegendTemplate" "', argument " "1"" of type '" "struct mapObj *""'"); 
   33717             :     }
   33718           0 :     arg1 = (struct mapObj *)(argp1);
   33719           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_p_char, 0 |  0 );
   33720           0 :     if (!SWIG_IsOK(res2)) {
   33721           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_processLegendTemplate" "', argument " "2"" of type '" "char **""'"); 
   33722             :     }
   33723           0 :     arg2 = (char **)(argp2);
   33724           0 :     res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_p_char, 0 |  0 );
   33725           0 :     if (!SWIG_IsOK(res3)) {
   33726           0 :       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "mapObj_processLegendTemplate" "', argument " "3"" of type '" "char **""'"); 
   33727             :     }
   33728           0 :     arg3 = (char **)(argp3);
   33729           0 :     ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
   33730           0 :     if (!SWIG_IsOK(ecode4)) {
   33731           0 :       SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "mapObj_processLegendTemplate" "', argument " "4"" of type '" "int""'");
   33732             :     } 
   33733             :     arg4 = (int)(val4);
   33734             :     result = (char *)mapObj_processLegendTemplate(arg1,arg2,arg3,arg4);
   33735           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   33736             :     
   33737             :     
   33738             :     
   33739             :     
   33740           0 :     free((char*)result);
   33741           0 :     XSRETURN(argvi);
   33742           0 :   fail:
   33743             :     
   33744             :     
   33745             :     
   33746             :     
   33747           0 :     SWIG_croak_null();
   33748             :   }
   33749             : }
   33750             : 
   33751             : 
   33752           0 : XS(_wrap_mapObj_processQueryTemplate) {
   33753             :   {
   33754             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   33755             :     char **arg2 = (char **) 0 ;
   33756             :     char **arg3 = (char **) 0 ;
   33757             :     int arg4 ;
   33758           0 :     void *argp1 = 0 ;
   33759             :     int res1 = 0 ;
   33760           0 :     void *argp2 = 0 ;
   33761             :     int res2 = 0 ;
   33762           0 :     void *argp3 = 0 ;
   33763             :     int res3 = 0 ;
   33764             :     int val4 ;
   33765             :     int ecode4 = 0 ;
   33766             :     int argvi = 0;
   33767             :     char *result = 0 ;
   33768           0 :     dXSARGS;
   33769             :     
   33770           0 :     if ((items < 4) || (items > 4)) {
   33771           0 :       SWIG_croak("Usage: mapObj_processQueryTemplate(self,names,values,numentries);");
   33772             :     }
   33773           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   33774           0 :     if (!SWIG_IsOK(res1)) {
   33775           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_processQueryTemplate" "', argument " "1"" of type '" "struct mapObj *""'"); 
   33776             :     }
   33777           0 :     arg1 = (struct mapObj *)(argp1);
   33778           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_p_char, 0 |  0 );
   33779           0 :     if (!SWIG_IsOK(res2)) {
   33780           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_processQueryTemplate" "', argument " "2"" of type '" "char **""'"); 
   33781             :     }
   33782           0 :     arg2 = (char **)(argp2);
   33783           0 :     res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_p_char, 0 |  0 );
   33784           0 :     if (!SWIG_IsOK(res3)) {
   33785           0 :       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "mapObj_processQueryTemplate" "', argument " "3"" of type '" "char **""'"); 
   33786             :     }
   33787           0 :     arg3 = (char **)(argp3);
   33788           0 :     ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
   33789           0 :     if (!SWIG_IsOK(ecode4)) {
   33790           0 :       SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "mapObj_processQueryTemplate" "', argument " "4"" of type '" "int""'");
   33791             :     } 
   33792             :     arg4 = (int)(val4);
   33793             :     result = (char *)mapObj_processQueryTemplate(arg1,arg2,arg3,arg4);
   33794           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   33795             :     
   33796             :     
   33797             :     
   33798             :     
   33799           0 :     free((char*)result);
   33800           0 :     XSRETURN(argvi);
   33801           0 :   fail:
   33802             :     
   33803             :     
   33804             :     
   33805             :     
   33806           0 :     SWIG_croak_null();
   33807             :   }
   33808             : }
   33809             : 
   33810             : 
   33811           0 : XS(_wrap_mapObj_getOutputFormatByName) {
   33812             :   {
   33813             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   33814             :     char *arg2 = (char *) 0 ;
   33815           0 :     void *argp1 = 0 ;
   33816             :     int res1 = 0 ;
   33817             :     int res2 ;
   33818           0 :     char *buf2 = 0 ;
   33819           0 :     int alloc2 = 0 ;
   33820             :     int argvi = 0;
   33821             :     outputFormatObj *result = 0 ;
   33822           0 :     dXSARGS;
   33823             :     
   33824           0 :     if ((items < 2) || (items > 2)) {
   33825           0 :       SWIG_croak("Usage: mapObj_getOutputFormatByName(self,name);");
   33826             :     }
   33827           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   33828           0 :     if (!SWIG_IsOK(res1)) {
   33829           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_getOutputFormatByName" "', argument " "1"" of type '" "struct mapObj *""'"); 
   33830             :     }
   33831           0 :     arg1 = (struct mapObj *)(argp1);
   33832           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   33833           0 :     if (!SWIG_IsOK(res2)) {
   33834           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_getOutputFormatByName" "', argument " "2"" of type '" "char *""'");
   33835             :     }
   33836           0 :     arg2 = (char *)(buf2);
   33837             :     result = (outputFormatObj *)mapObj_getOutputFormatByName(arg1,arg2);
   33838           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_outputFormatObj, 0 | SWIG_SHADOW); argvi++ ;
   33839             :     
   33840           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   33841           0 :     XSRETURN(argvi);
   33842           0 :   fail:
   33843             :     
   33844           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   33845           0 :     SWIG_croak_null();
   33846             :   }
   33847             : }
   33848             : 
   33849             : 
   33850           0 : XS(_wrap_mapObj_appendOutputFormat) {
   33851             :   {
   33852             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   33853             :     outputFormatObj *arg2 = (outputFormatObj *) 0 ;
   33854           0 :     void *argp1 = 0 ;
   33855             :     int res1 = 0 ;
   33856           0 :     void *argp2 = 0 ;
   33857             :     int res2 = 0 ;
   33858             :     int argvi = 0;
   33859             :     int result;
   33860           0 :     dXSARGS;
   33861             :     
   33862           0 :     if ((items < 2) || (items > 2)) {
   33863           0 :       SWIG_croak("Usage: mapObj_appendOutputFormat(self,format);");
   33864             :     }
   33865           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   33866           0 :     if (!SWIG_IsOK(res1)) {
   33867           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_appendOutputFormat" "', argument " "1"" of type '" "struct mapObj *""'"); 
   33868             :     }
   33869           0 :     arg1 = (struct mapObj *)(argp1);
   33870           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_outputFormatObj, 0 |  0 );
   33871           0 :     if (!SWIG_IsOK(res2)) {
   33872           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_appendOutputFormat" "', argument " "2"" of type '" "outputFormatObj *""'"); 
   33873             :     }
   33874           0 :     arg2 = (outputFormatObj *)(argp2);
   33875             :     result = (int)mapObj_appendOutputFormat(arg1,arg2);
   33876           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   33877             :     
   33878             :     
   33879           0 :     XSRETURN(argvi);
   33880           0 :   fail:
   33881             :     
   33882             :     
   33883           0 :     SWIG_croak_null();
   33884             :   }
   33885             : }
   33886             : 
   33887             : 
   33888           0 : XS(_wrap_mapObj_removeOutputFormat) {
   33889             :   {
   33890             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   33891             :     char *arg2 = (char *) 0 ;
   33892           0 :     void *argp1 = 0 ;
   33893             :     int res1 = 0 ;
   33894             :     int res2 ;
   33895           0 :     char *buf2 = 0 ;
   33896           0 :     int alloc2 = 0 ;
   33897             :     int argvi = 0;
   33898             :     int result;
   33899           0 :     dXSARGS;
   33900             :     
   33901           0 :     if ((items < 2) || (items > 2)) {
   33902           0 :       SWIG_croak("Usage: mapObj_removeOutputFormat(self,name);");
   33903             :     }
   33904           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   33905           0 :     if (!SWIG_IsOK(res1)) {
   33906           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_removeOutputFormat" "', argument " "1"" of type '" "struct mapObj *""'"); 
   33907             :     }
   33908           0 :     arg1 = (struct mapObj *)(argp1);
   33909           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   33910           0 :     if (!SWIG_IsOK(res2)) {
   33911           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_removeOutputFormat" "', argument " "2"" of type '" "char *""'");
   33912             :     }
   33913           0 :     arg2 = (char *)(buf2);
   33914             :     result = (int)mapObj_removeOutputFormat(arg1,arg2);
   33915           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   33916             :     
   33917           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   33918           0 :     XSRETURN(argvi);
   33919           0 :   fail:
   33920             :     
   33921           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   33922           0 :     SWIG_croak_null();
   33923             :   }
   33924             : }
   33925             : 
   33926             : 
   33927           0 : XS(_wrap_mapObj_loadOWSParameters) {
   33928             :   {
   33929             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   33930             :     cgiRequestObj *arg2 = (cgiRequestObj *) 0 ;
   33931             :     char *arg3 = (char *) "1.1.1" ;
   33932           0 :     void *argp1 = 0 ;
   33933             :     int res1 = 0 ;
   33934           0 :     void *argp2 = 0 ;
   33935             :     int res2 = 0 ;
   33936             :     int res3 ;
   33937           0 :     char *buf3 = 0 ;
   33938           0 :     int alloc3 = 0 ;
   33939             :     int argvi = 0;
   33940             :     int result;
   33941           0 :     dXSARGS;
   33942             :     
   33943           0 :     if ((items < 2) || (items > 3)) {
   33944           0 :       SWIG_croak("Usage: mapObj_loadOWSParameters(self,request,wmtver_string);");
   33945             :     }
   33946           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   33947           0 :     if (!SWIG_IsOK(res1)) {
   33948           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_loadOWSParameters" "', argument " "1"" of type '" "struct mapObj *""'"); 
   33949             :     }
   33950           0 :     arg1 = (struct mapObj *)(argp1);
   33951           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_cgiRequestObj, 0 |  0 );
   33952           0 :     if (!SWIG_IsOK(res2)) {
   33953           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_loadOWSParameters" "', argument " "2"" of type '" "cgiRequestObj *""'"); 
   33954             :     }
   33955           0 :     arg2 = (cgiRequestObj *)(argp2);
   33956           0 :     if (items > 2) {
   33957           0 :       res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
   33958           0 :       if (!SWIG_IsOK(res3)) {
   33959           0 :         SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "mapObj_loadOWSParameters" "', argument " "3"" of type '" "char *""'");
   33960             :       }
   33961           0 :       arg3 = (char *)(buf3);
   33962             :     }
   33963             :     result = (int)mapObj_loadOWSParameters(arg1,arg2,arg3);
   33964           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   33965             :     
   33966             :     
   33967           0 :     if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
   33968           0 :     XSRETURN(argvi);
   33969           0 :   fail:
   33970             :     
   33971             :     
   33972           0 :     if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
   33973           0 :     SWIG_croak_null();
   33974             :   }
   33975             : }
   33976             : 
   33977             : 
   33978           1 : XS(_wrap_mapObj_OWSDispatch) {
   33979             :   {
   33980             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   33981             :     cgiRequestObj *arg2 = (cgiRequestObj *) 0 ;
   33982           1 :     void *argp1 = 0 ;
   33983             :     int res1 = 0 ;
   33984           1 :     void *argp2 = 0 ;
   33985             :     int res2 = 0 ;
   33986             :     int argvi = 0;
   33987             :     int result;
   33988           1 :     dXSARGS;
   33989             :     
   33990           1 :     if ((items < 2) || (items > 2)) {
   33991           0 :       SWIG_croak("Usage: mapObj_OWSDispatch(self,req);");
   33992             :     }
   33993           1 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   33994           1 :     if (!SWIG_IsOK(res1)) {
   33995           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_OWSDispatch" "', argument " "1"" of type '" "struct mapObj *""'"); 
   33996             :     }
   33997           1 :     arg1 = (struct mapObj *)(argp1);
   33998           1 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_cgiRequestObj, 0 |  0 );
   33999           1 :     if (!SWIG_IsOK(res2)) {
   34000           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_OWSDispatch" "', argument " "2"" of type '" "cgiRequestObj *""'"); 
   34001             :     }
   34002           1 :     arg2 = (cgiRequestObj *)(argp2);
   34003             :     result = (int)mapObj_OWSDispatch(arg1,arg2);
   34004           1 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   34005             :     
   34006             :     
   34007           1 :     XSRETURN(argvi);
   34008           0 :   fail:
   34009             :     
   34010             :     
   34011           0 :     SWIG_croak_null();
   34012             :   }
   34013             : }
   34014             : 
   34015             : 
   34016           0 : XS(_wrap_mapObj_convertToString) {
   34017             :   {
   34018             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   34019           0 :     void *argp1 = 0 ;
   34020             :     int res1 = 0 ;
   34021             :     int argvi = 0;
   34022             :     char *result = 0 ;
   34023           0 :     dXSARGS;
   34024             :     
   34025           0 :     if ((items < 1) || (items > 1)) {
   34026           0 :       SWIG_croak("Usage: mapObj_convertToString(self);");
   34027             :     }
   34028           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   34029           0 :     if (!SWIG_IsOK(res1)) {
   34030           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_convertToString" "', argument " "1"" of type '" "struct mapObj *""'"); 
   34031             :     }
   34032           0 :     arg1 = (struct mapObj *)(argp1);
   34033             :     result = (char *)mapObj_convertToString(arg1);
   34034           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   34035             :     
   34036           0 :     free((char*)result);
   34037           0 :     XSRETURN(argvi);
   34038           0 :   fail:
   34039             :     
   34040           0 :     SWIG_croak_null();
   34041             :   }
   34042             : }
   34043             : 
   34044             : 
   34045           0 : XS(_wrap_mapObj_applyDefaultSubstitutions) {
   34046             :   {
   34047             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   34048           0 :     void *argp1 = 0 ;
   34049             :     int res1 = 0 ;
   34050             :     int argvi = 0;
   34051           0 :     dXSARGS;
   34052             :     
   34053           0 :     if ((items < 1) || (items > 1)) {
   34054           0 :       SWIG_croak("Usage: mapObj_applyDefaultSubstitutions(self);");
   34055             :     }
   34056           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   34057           0 :     if (!SWIG_IsOK(res1)) {
   34058           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_applyDefaultSubstitutions" "', argument " "1"" of type '" "struct mapObj *""'"); 
   34059             :     }
   34060           0 :     arg1 = (struct mapObj *)(argp1);
   34061             :     mapObj_applyDefaultSubstitutions(arg1);
   34062           0 :     ST(argvi) = sv_newmortal();
   34063             :     
   34064           0 :     XSRETURN(argvi);
   34065           0 :   fail:
   34066             :     
   34067           0 :     SWIG_croak_null();
   34068             :   }
   34069             : }
   34070             : 
   34071             : 
   34072           0 : XS(_wrap_mapObj_applySubstitutions) {
   34073             :   {
   34074             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   34075             :     char **arg2 = (char **) 0 ;
   34076             :     char **arg3 = (char **) 0 ;
   34077             :     int arg4 ;
   34078           0 :     void *argp1 = 0 ;
   34079             :     int res1 = 0 ;
   34080           0 :     void *argp2 = 0 ;
   34081             :     int res2 = 0 ;
   34082           0 :     void *argp3 = 0 ;
   34083             :     int res3 = 0 ;
   34084             :     int val4 ;
   34085             :     int ecode4 = 0 ;
   34086             :     int argvi = 0;
   34087           0 :     dXSARGS;
   34088             :     
   34089           0 :     if ((items < 4) || (items > 4)) {
   34090           0 :       SWIG_croak("Usage: mapObj_applySubstitutions(self,names,values,npairs);");
   34091             :     }
   34092           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   34093           0 :     if (!SWIG_IsOK(res1)) {
   34094           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_applySubstitutions" "', argument " "1"" of type '" "struct mapObj *""'"); 
   34095             :     }
   34096           0 :     arg1 = (struct mapObj *)(argp1);
   34097           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_p_char, 0 |  0 );
   34098           0 :     if (!SWIG_IsOK(res2)) {
   34099           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_applySubstitutions" "', argument " "2"" of type '" "char **""'"); 
   34100             :     }
   34101           0 :     arg2 = (char **)(argp2);
   34102           0 :     res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_p_char, 0 |  0 );
   34103           0 :     if (!SWIG_IsOK(res3)) {
   34104           0 :       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "mapObj_applySubstitutions" "', argument " "3"" of type '" "char **""'"); 
   34105             :     }
   34106           0 :     arg3 = (char **)(argp3);
   34107           0 :     ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
   34108           0 :     if (!SWIG_IsOK(ecode4)) {
   34109           0 :       SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "mapObj_applySubstitutions" "', argument " "4"" of type '" "int""'");
   34110             :     } 
   34111             :     arg4 = (int)(val4);
   34112             :     mapObj_applySubstitutions(arg1,arg2,arg3,arg4);
   34113           0 :     ST(argvi) = sv_newmortal();
   34114             :     
   34115             :     
   34116             :     
   34117             :     
   34118           0 :     XSRETURN(argvi);
   34119           0 :   fail:
   34120             :     
   34121             :     
   34122             :     
   34123             :     
   34124           0 :     SWIG_croak_null();
   34125             :   }
   34126             : }
   34127             : 
   34128             : 
   34129           0 : XS(_wrap_mapObj_zoomPoint) {
   34130             :   {
   34131             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   34132             :     int arg2 ;
   34133             :     pointObj *arg3 = (pointObj *) 0 ;
   34134             :     int arg4 ;
   34135             :     int arg5 ;
   34136             :     rectObj *arg6 = (rectObj *) 0 ;
   34137             :     rectObj *arg7 = (rectObj *) 0 ;
   34138           0 :     void *argp1 = 0 ;
   34139             :     int res1 = 0 ;
   34140             :     int val2 ;
   34141             :     int ecode2 = 0 ;
   34142           0 :     void *argp3 = 0 ;
   34143             :     int res3 = 0 ;
   34144             :     int val4 ;
   34145             :     int ecode4 = 0 ;
   34146             :     int val5 ;
   34147             :     int ecode5 = 0 ;
   34148           0 :     void *argp6 = 0 ;
   34149             :     int res6 = 0 ;
   34150           0 :     void *argp7 = 0 ;
   34151             :     int res7 = 0 ;
   34152             :     int argvi = 0;
   34153             :     int result;
   34154           0 :     dXSARGS;
   34155             :     
   34156           0 :     if ((items < 7) || (items > 7)) {
   34157           0 :       SWIG_croak("Usage: mapObj_zoomPoint(self,zoomfactor,poPixPos,width,height,poGeorefExt,poMaxGeorefExt);");
   34158             :     }
   34159           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   34160           0 :     if (!SWIG_IsOK(res1)) {
   34161           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_zoomPoint" "', argument " "1"" of type '" "struct mapObj *""'"); 
   34162             :     }
   34163           0 :     arg1 = (struct mapObj *)(argp1);
   34164           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   34165           0 :     if (!SWIG_IsOK(ecode2)) {
   34166           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_zoomPoint" "', argument " "2"" of type '" "int""'");
   34167             :     } 
   34168             :     arg2 = (int)(val2);
   34169           0 :     res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_pointObj, 0 |  0 );
   34170           0 :     if (!SWIG_IsOK(res3)) {
   34171           0 :       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "mapObj_zoomPoint" "', argument " "3"" of type '" "pointObj *""'"); 
   34172             :     }
   34173           0 :     arg3 = (pointObj *)(argp3);
   34174           0 :     ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
   34175           0 :     if (!SWIG_IsOK(ecode4)) {
   34176           0 :       SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "mapObj_zoomPoint" "', argument " "4"" of type '" "int""'");
   34177             :     } 
   34178             :     arg4 = (int)(val4);
   34179           0 :     ecode5 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
   34180           0 :     if (!SWIG_IsOK(ecode5)) {
   34181           0 :       SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "mapObj_zoomPoint" "', argument " "5"" of type '" "int""'");
   34182             :     } 
   34183             :     arg5 = (int)(val5);
   34184           0 :     res6 = SWIG_ConvertPtr(ST(5), &argp6,SWIGTYPE_p_rectObj, 0 |  0 );
   34185           0 :     if (!SWIG_IsOK(res6)) {
   34186           0 :       SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "mapObj_zoomPoint" "', argument " "6"" of type '" "rectObj *""'"); 
   34187             :     }
   34188           0 :     arg6 = (rectObj *)(argp6);
   34189           0 :     res7 = SWIG_ConvertPtr(ST(6), &argp7,SWIGTYPE_p_rectObj, 0 |  0 );
   34190           0 :     if (!SWIG_IsOK(res7)) {
   34191           0 :       SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "mapObj_zoomPoint" "', argument " "7"" of type '" "rectObj *""'"); 
   34192             :     }
   34193           0 :     arg7 = (rectObj *)(argp7);
   34194           0 :     result = (int)mapObj_zoomPoint(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
   34195           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   34196             :     
   34197             :     
   34198             :     
   34199             :     
   34200             :     
   34201             :     
   34202             :     
   34203           0 :     XSRETURN(argvi);
   34204           0 :   fail:
   34205             :     
   34206             :     
   34207             :     
   34208             :     
   34209             :     
   34210             :     
   34211             :     
   34212           0 :     SWIG_croak_null();
   34213             :   }
   34214             : }
   34215             : 
   34216             : 
   34217           0 : XS(_wrap_mapObj_zoomRectangle) {
   34218             :   {
   34219             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   34220             :     rectObj *arg2 = (rectObj *) 0 ;
   34221             :     int arg3 ;
   34222             :     int arg4 ;
   34223             :     rectObj *arg5 = (rectObj *) 0 ;
   34224             :     rectObj *arg6 = (rectObj *) 0 ;
   34225           0 :     void *argp1 = 0 ;
   34226             :     int res1 = 0 ;
   34227           0 :     void *argp2 = 0 ;
   34228             :     int res2 = 0 ;
   34229             :     int val3 ;
   34230             :     int ecode3 = 0 ;
   34231             :     int val4 ;
   34232             :     int ecode4 = 0 ;
   34233           0 :     void *argp5 = 0 ;
   34234             :     int res5 = 0 ;
   34235           0 :     void *argp6 = 0 ;
   34236             :     int res6 = 0 ;
   34237             :     int argvi = 0;
   34238             :     int result;
   34239           0 :     dXSARGS;
   34240             :     
   34241           0 :     if ((items < 6) || (items > 6)) {
   34242           0 :       SWIG_croak("Usage: mapObj_zoomRectangle(self,poPixRect,width,height,poGeorefExt,poMaxGeorefExt);");
   34243             :     }
   34244           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   34245           0 :     if (!SWIG_IsOK(res1)) {
   34246           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_zoomRectangle" "', argument " "1"" of type '" "struct mapObj *""'"); 
   34247             :     }
   34248           0 :     arg1 = (struct mapObj *)(argp1);
   34249           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_rectObj, 0 |  0 );
   34250           0 :     if (!SWIG_IsOK(res2)) {
   34251           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "mapObj_zoomRectangle" "', argument " "2"" of type '" "rectObj *""'"); 
   34252             :     }
   34253           0 :     arg2 = (rectObj *)(argp2);
   34254           0 :     ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
   34255           0 :     if (!SWIG_IsOK(ecode3)) {
   34256           0 :       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "mapObj_zoomRectangle" "', argument " "3"" of type '" "int""'");
   34257             :     } 
   34258             :     arg3 = (int)(val3);
   34259           0 :     ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
   34260           0 :     if (!SWIG_IsOK(ecode4)) {
   34261           0 :       SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "mapObj_zoomRectangle" "', argument " "4"" of type '" "int""'");
   34262             :     } 
   34263             :     arg4 = (int)(val4);
   34264           0 :     res5 = SWIG_ConvertPtr(ST(4), &argp5,SWIGTYPE_p_rectObj, 0 |  0 );
   34265           0 :     if (!SWIG_IsOK(res5)) {
   34266           0 :       SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "mapObj_zoomRectangle" "', argument " "5"" of type '" "rectObj *""'"); 
   34267             :     }
   34268           0 :     arg5 = (rectObj *)(argp5);
   34269           0 :     res6 = SWIG_ConvertPtr(ST(5), &argp6,SWIGTYPE_p_rectObj, 0 |  0 );
   34270           0 :     if (!SWIG_IsOK(res6)) {
   34271           0 :       SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "mapObj_zoomRectangle" "', argument " "6"" of type '" "rectObj *""'"); 
   34272             :     }
   34273           0 :     arg6 = (rectObj *)(argp6);
   34274           0 :     result = (int)mapObj_zoomRectangle(arg1,arg2,arg3,arg4,arg5,arg6);
   34275           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   34276             :     
   34277             :     
   34278             :     
   34279             :     
   34280             :     
   34281             :     
   34282           0 :     XSRETURN(argvi);
   34283           0 :   fail:
   34284             :     
   34285             :     
   34286             :     
   34287             :     
   34288             :     
   34289             :     
   34290           0 :     SWIG_croak_null();
   34291             :   }
   34292             : }
   34293             : 
   34294             : 
   34295           0 : XS(_wrap_mapObj_zoomScale) {
   34296             :   {
   34297             :     struct mapObj *arg1 = (struct mapObj *) 0 ;
   34298             :     double arg2 ;
   34299             :     pointObj *arg3 = (pointObj *) 0 ;
   34300             :     int arg4 ;
   34301             :     int arg5 ;
   34302             :     rectObj *arg6 = (rectObj *) 0 ;
   34303             :     rectObj *arg7 = (rectObj *) 0 ;
   34304           0 :     void *argp1 = 0 ;
   34305             :     int res1 = 0 ;
   34306             :     double val2 ;
   34307             :     int ecode2 = 0 ;
   34308           0 :     void *argp3 = 0 ;
   34309             :     int res3 = 0 ;
   34310             :     int val4 ;
   34311             :     int ecode4 = 0 ;
   34312             :     int val5 ;
   34313             :     int ecode5 = 0 ;
   34314           0 :     void *argp6 = 0 ;
   34315             :     int res6 = 0 ;
   34316           0 :     void *argp7 = 0 ;
   34317             :     int res7 = 0 ;
   34318             :     int argvi = 0;
   34319             :     int result;
   34320           0 :     dXSARGS;
   34321             :     
   34322           0 :     if ((items < 7) || (items > 7)) {
   34323           0 :       SWIG_croak("Usage: mapObj_zoomScale(self,scale,poPixPos,width,height,poGeorefExt,poMaxGeorefExt);");
   34324             :     }
   34325           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   34326           0 :     if (!SWIG_IsOK(res1)) {
   34327           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "mapObj_zoomScale" "', argument " "1"" of type '" "struct mapObj *""'"); 
   34328             :     }
   34329           0 :     arg1 = (struct mapObj *)(argp1);
   34330           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   34331           0 :     if (!SWIG_IsOK(ecode2)) {
   34332           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "mapObj_zoomScale" "', argument " "2"" of type '" "double""'");
   34333             :     } 
   34334           0 :     arg2 = (double)(val2);
   34335           0 :     res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_pointObj, 0 |  0 );
   34336           0 :     if (!SWIG_IsOK(res3)) {
   34337           0 :       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "mapObj_zoomScale" "', argument " "3"" of type '" "pointObj *""'"); 
   34338             :     }
   34339           0 :     arg3 = (pointObj *)(argp3);
   34340           0 :     ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
   34341           0 :     if (!SWIG_IsOK(ecode4)) {
   34342           0 :       SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "mapObj_zoomScale" "', argument " "4"" of type '" "int""'");
   34343             :     } 
   34344             :     arg4 = (int)(val4);
   34345           0 :     ecode5 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
   34346           0 :     if (!SWIG_IsOK(ecode5)) {
   34347           0 :       SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "mapObj_zoomScale" "', argument " "5"" of type '" "int""'");
   34348             :     } 
   34349             :     arg5 = (int)(val5);
   34350           0 :     res6 = SWIG_ConvertPtr(ST(5), &argp6,SWIGTYPE_p_rectObj, 0 |  0 );
   34351           0 :     if (!SWIG_IsOK(res6)) {
   34352           0 :       SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "mapObj_zoomScale" "', argument " "6"" of type '" "rectObj *""'"); 
   34353             :     }
   34354           0 :     arg6 = (rectObj *)(argp6);
   34355           0 :     res7 = SWIG_ConvertPtr(ST(6), &argp7,SWIGTYPE_p_rectObj, 0 |  0 );
   34356           0 :     if (!SWIG_IsOK(res7)) {
   34357           0 :       SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "mapObj_zoomScale" "', argument " "7"" of type '" "rectObj *""'"); 
   34358             :     }
   34359           0 :     arg7 = (rectObj *)(argp7);
   34360           0 :     result = (int)mapObj_zoomScale(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
   34361           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   34362             :     
   34363             :     
   34364             :     
   34365             :     
   34366             :     
   34367             :     
   34368             :     
   34369           0 :     XSRETURN(argvi);
   34370           0 :   fail:
   34371             :     
   34372             :     
   34373             :     
   34374             :     
   34375             :     
   34376             :     
   34377             :     
   34378           0 :     SWIG_croak_null();
   34379             :   }
   34380             : }
   34381             : 
   34382             : 
   34383           0 : XS(_wrap_msSaveImage) {
   34384             :   {
   34385             :     mapObj *arg1 = (mapObj *) 0 ;
   34386             :     imageObj *arg2 = (imageObj *) 0 ;
   34387             :     char *arg3 = (char *) 0 ;
   34388           0 :     void *argp1 = 0 ;
   34389             :     int res1 = 0 ;
   34390           0 :     void *argp2 = 0 ;
   34391             :     int res2 = 0 ;
   34392             :     int res3 ;
   34393           0 :     char *buf3 = 0 ;
   34394           0 :     int alloc3 = 0 ;
   34395             :     int argvi = 0;
   34396             :     int result;
   34397           0 :     dXSARGS;
   34398             :     
   34399           0 :     if ((items < 3) || (items > 3)) {
   34400           0 :       SWIG_croak("Usage: msSaveImage(map,img,filename);");
   34401             :     }
   34402           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_mapObj, 0 |  0 );
   34403           0 :     if (!SWIG_IsOK(res1)) {
   34404           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "msSaveImage" "', argument " "1"" of type '" "mapObj *""'"); 
   34405             :     }
   34406           0 :     arg1 = (mapObj *)(argp1);
   34407           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_imageObj, 0 |  0 );
   34408           0 :     if (!SWIG_IsOK(res2)) {
   34409           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "msSaveImage" "', argument " "2"" of type '" "imageObj *""'"); 
   34410             :     }
   34411           0 :     arg2 = (imageObj *)(argp2);
   34412           0 :     res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
   34413           0 :     if (!SWIG_IsOK(res3)) {
   34414           0 :       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "msSaveImage" "', argument " "3"" of type '" "char const *""'");
   34415             :     }
   34416           0 :     arg3 = (char *)(buf3);
   34417           0 :     result = (int)msSaveImage(arg1,arg2,(char const *)arg3);
   34418           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   34419             :     
   34420             :     
   34421           0 :     if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
   34422           0 :     XSRETURN(argvi);
   34423           0 :   fail:
   34424             :     
   34425             :     
   34426           0 :     if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
   34427           0 :     SWIG_croak_null();
   34428             :   }
   34429             : }
   34430             : 
   34431             : 
   34432           0 : XS(_wrap_msFreeImage) {
   34433             :   {
   34434             :     imageObj *arg1 = (imageObj *) 0 ;
   34435           0 :     void *argp1 = 0 ;
   34436             :     int res1 = 0 ;
   34437             :     int argvi = 0;
   34438           0 :     dXSARGS;
   34439             :     
   34440           0 :     if ((items < 1) || (items > 1)) {
   34441           0 :       SWIG_croak("Usage: msFreeImage(img);");
   34442             :     }
   34443           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_imageObj, 0 |  0 );
   34444           0 :     if (!SWIG_IsOK(res1)) {
   34445           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "msFreeImage" "', argument " "1"" of type '" "imageObj *""'"); 
   34446             :     }
   34447           0 :     arg1 = (imageObj *)(argp1);
   34448           0 :     msFreeImage(arg1);
   34449           0 :     ST(argvi) = sv_newmortal();
   34450             :     
   34451           0 :     XSRETURN(argvi);
   34452           0 :   fail:
   34453             :     
   34454           0 :     SWIG_croak_null();
   34455             :   }
   34456             : }
   34457             : 
   34458             : 
   34459           0 : XS(_wrap_msSetup) {
   34460             :   {
   34461             :     int argvi = 0;
   34462             :     int result;
   34463           0 :     dXSARGS;
   34464             :     
   34465           0 :     if ((items < 0) || (items > 0)) {
   34466           0 :       SWIG_croak("Usage: msSetup();");
   34467             :     }
   34468           0 :     result = (int)msSetup();
   34469           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   34470           0 :     XSRETURN(argvi);
   34471             :   fail:
   34472           0 :     SWIG_croak_null();
   34473             :   }
   34474             : }
   34475             : 
   34476             : 
   34477           0 : XS(_wrap_msCleanup) {
   34478             :   {
   34479             :     int argvi = 0;
   34480           0 :     dXSARGS;
   34481             :     
   34482           0 :     if ((items < 0) || (items > 0)) {
   34483           0 :       SWIG_croak("Usage: msCleanup();");
   34484             :     }
   34485           0 :     msCleanup();
   34486           0 :     ST(argvi) = sv_newmortal();
   34487           0 :     XSRETURN(argvi);
   34488             :   fail:
   34489           0 :     SWIG_croak_null();
   34490             :   }
   34491             : }
   34492             : 
   34493             : 
   34494           0 : XS(_wrap_msLoadMapFromString) {
   34495             :   {
   34496             :     char *arg1 = (char *) 0 ;
   34497             :     char *arg2 = (char *) 0 ;
   34498             :     int res1 ;
   34499           0 :     char *buf1 = 0 ;
   34500           0 :     int alloc1 = 0 ;
   34501             :     int res2 ;
   34502           0 :     char *buf2 = 0 ;
   34503           0 :     int alloc2 = 0 ;
   34504             :     int argvi = 0;
   34505             :     mapObj *result = 0 ;
   34506           0 :     dXSARGS;
   34507             :     
   34508           0 :     if ((items < 2) || (items > 2)) {
   34509           0 :       SWIG_croak("Usage: msLoadMapFromString(buffer,new_mappath);");
   34510             :     }
   34511           0 :     res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
   34512           0 :     if (!SWIG_IsOK(res1)) {
   34513           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "msLoadMapFromString" "', argument " "1"" of type '" "char *""'");
   34514             :     }
   34515           0 :     arg1 = (char *)(buf1);
   34516           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   34517           0 :     if (!SWIG_IsOK(res2)) {
   34518           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "msLoadMapFromString" "', argument " "2"" of type '" "char *""'");
   34519             :     }
   34520           0 :     arg2 = (char *)(buf2);
   34521           0 :     result = (mapObj *)msLoadMapFromString(arg1,arg2);
   34522           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_mapObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   34523           0 :     if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
   34524           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   34525           0 :     XSRETURN(argvi);
   34526           0 :   fail:
   34527           0 :     if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
   34528           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   34529           0 :     SWIG_croak_null();
   34530             :   }
   34531             : }
   34532             : 
   34533             : 
   34534           0 : XS(_wrap_rectObj_minx_set) {
   34535             :   {
   34536             :     rectObj *arg1 = (rectObj *) 0 ;
   34537             :     double arg2 ;
   34538           0 :     void *argp1 = 0 ;
   34539             :     int res1 = 0 ;
   34540             :     double val2 ;
   34541             :     int ecode2 = 0 ;
   34542             :     int argvi = 0;
   34543           0 :     dXSARGS;
   34544             :     
   34545           0 :     if ((items < 2) || (items > 2)) {
   34546           0 :       SWIG_croak("Usage: rectObj_minx_set(self,minx);");
   34547             :     }
   34548           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_rectObj, 0 |  0 );
   34549           0 :     if (!SWIG_IsOK(res1)) {
   34550           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "rectObj_minx_set" "', argument " "1"" of type '" "rectObj *""'"); 
   34551             :     }
   34552           0 :     arg1 = (rectObj *)(argp1);
   34553           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   34554           0 :     if (!SWIG_IsOK(ecode2)) {
   34555           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "rectObj_minx_set" "', argument " "2"" of type '" "double""'");
   34556             :     } 
   34557           0 :     arg2 = (double)(val2);
   34558           0 :     if (arg1) (arg1)->minx = arg2;
   34559           0 :     ST(argvi) = sv_newmortal();
   34560             :     
   34561             :     
   34562           0 :     XSRETURN(argvi);
   34563           0 :   fail:
   34564             :     
   34565             :     
   34566           0 :     SWIG_croak_null();
   34567             :   }
   34568             : }
   34569             : 
   34570             : 
   34571           1 : XS(_wrap_rectObj_minx_get) {
   34572             :   {
   34573             :     rectObj *arg1 = (rectObj *) 0 ;
   34574           1 :     void *argp1 = 0 ;
   34575             :     int res1 = 0 ;
   34576             :     int argvi = 0;
   34577             :     double result;
   34578           1 :     dXSARGS;
   34579             :     
   34580           1 :     if ((items < 1) || (items > 1)) {
   34581           0 :       SWIG_croak("Usage: rectObj_minx_get(self);");
   34582             :     }
   34583           1 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_rectObj, 0 |  0 );
   34584           1 :     if (!SWIG_IsOK(res1)) {
   34585           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "rectObj_minx_get" "', argument " "1"" of type '" "rectObj *""'"); 
   34586             :     }
   34587           1 :     arg1 = (rectObj *)(argp1);
   34588           1 :     result = (double) ((arg1)->minx);
   34589           1 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   34590             :     
   34591           1 :     XSRETURN(argvi);
   34592           0 :   fail:
   34593             :     
   34594           0 :     SWIG_croak_null();
   34595             :   }
   34596             : }
   34597             : 
   34598             : 
   34599           0 : XS(_wrap_rectObj_miny_set) {
   34600             :   {
   34601             :     rectObj *arg1 = (rectObj *) 0 ;
   34602             :     double arg2 ;
   34603           0 :     void *argp1 = 0 ;
   34604             :     int res1 = 0 ;
   34605             :     double val2 ;
   34606             :     int ecode2 = 0 ;
   34607             :     int argvi = 0;
   34608           0 :     dXSARGS;
   34609             :     
   34610           0 :     if ((items < 2) || (items > 2)) {
   34611           0 :       SWIG_croak("Usage: rectObj_miny_set(self,miny);");
   34612             :     }
   34613           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_rectObj, 0 |  0 );
   34614           0 :     if (!SWIG_IsOK(res1)) {
   34615           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "rectObj_miny_set" "', argument " "1"" of type '" "rectObj *""'"); 
   34616             :     }
   34617           0 :     arg1 = (rectObj *)(argp1);
   34618           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   34619           0 :     if (!SWIG_IsOK(ecode2)) {
   34620           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "rectObj_miny_set" "', argument " "2"" of type '" "double""'");
   34621             :     } 
   34622           0 :     arg2 = (double)(val2);
   34623           0 :     if (arg1) (arg1)->miny = arg2;
   34624           0 :     ST(argvi) = sv_newmortal();
   34625             :     
   34626             :     
   34627           0 :     XSRETURN(argvi);
   34628           0 :   fail:
   34629             :     
   34630             :     
   34631           0 :     SWIG_croak_null();
   34632             :   }
   34633             : }
   34634             : 
   34635             : 
   34636           1 : XS(_wrap_rectObj_miny_get) {
   34637             :   {
   34638             :     rectObj *arg1 = (rectObj *) 0 ;
   34639           1 :     void *argp1 = 0 ;
   34640             :     int res1 = 0 ;
   34641             :     int argvi = 0;
   34642             :     double result;
   34643           1 :     dXSARGS;
   34644             :     
   34645           1 :     if ((items < 1) || (items > 1)) {
   34646           0 :       SWIG_croak("Usage: rectObj_miny_get(self);");
   34647             :     }
   34648           1 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_rectObj, 0 |  0 );
   34649           1 :     if (!SWIG_IsOK(res1)) {
   34650           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "rectObj_miny_get" "', argument " "1"" of type '" "rectObj *""'"); 
   34651             :     }
   34652           1 :     arg1 = (rectObj *)(argp1);
   34653           1 :     result = (double) ((arg1)->miny);
   34654           1 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   34655             :     
   34656           1 :     XSRETURN(argvi);
   34657           0 :   fail:
   34658             :     
   34659           0 :     SWIG_croak_null();
   34660             :   }
   34661             : }
   34662             : 
   34663             : 
   34664           0 : XS(_wrap_rectObj_maxx_set) {
   34665             :   {
   34666             :     rectObj *arg1 = (rectObj *) 0 ;
   34667             :     double arg2 ;
   34668           0 :     void *argp1 = 0 ;
   34669             :     int res1 = 0 ;
   34670             :     double val2 ;
   34671             :     int ecode2 = 0 ;
   34672             :     int argvi = 0;
   34673           0 :     dXSARGS;
   34674             :     
   34675           0 :     if ((items < 2) || (items > 2)) {
   34676           0 :       SWIG_croak("Usage: rectObj_maxx_set(self,maxx);");
   34677             :     }
   34678           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_rectObj, 0 |  0 );
   34679           0 :     if (!SWIG_IsOK(res1)) {
   34680           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "rectObj_maxx_set" "', argument " "1"" of type '" "rectObj *""'"); 
   34681             :     }
   34682           0 :     arg1 = (rectObj *)(argp1);
   34683           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   34684           0 :     if (!SWIG_IsOK(ecode2)) {
   34685           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "rectObj_maxx_set" "', argument " "2"" of type '" "double""'");
   34686             :     } 
   34687           0 :     arg2 = (double)(val2);
   34688           0 :     if (arg1) (arg1)->maxx = arg2;
   34689           0 :     ST(argvi) = sv_newmortal();
   34690             :     
   34691             :     
   34692           0 :     XSRETURN(argvi);
   34693           0 :   fail:
   34694             :     
   34695             :     
   34696           0 :     SWIG_croak_null();
   34697             :   }
   34698             : }
   34699             : 
   34700             : 
   34701           1 : XS(_wrap_rectObj_maxx_get) {
   34702             :   {
   34703             :     rectObj *arg1 = (rectObj *) 0 ;
   34704           1 :     void *argp1 = 0 ;
   34705             :     int res1 = 0 ;
   34706             :     int argvi = 0;
   34707             :     double result;
   34708           1 :     dXSARGS;
   34709             :     
   34710           1 :     if ((items < 1) || (items > 1)) {
   34711           0 :       SWIG_croak("Usage: rectObj_maxx_get(self);");
   34712             :     }
   34713           1 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_rectObj, 0 |  0 );
   34714           1 :     if (!SWIG_IsOK(res1)) {
   34715           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "rectObj_maxx_get" "', argument " "1"" of type '" "rectObj *""'"); 
   34716             :     }
   34717           1 :     arg1 = (rectObj *)(argp1);
   34718           1 :     result = (double) ((arg1)->maxx);
   34719           1 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   34720             :     
   34721           1 :     XSRETURN(argvi);
   34722           0 :   fail:
   34723             :     
   34724           0 :     SWIG_croak_null();
   34725             :   }
   34726             : }
   34727             : 
   34728             : 
   34729           0 : XS(_wrap_rectObj_maxy_set) {
   34730             :   {
   34731             :     rectObj *arg1 = (rectObj *) 0 ;
   34732             :     double arg2 ;
   34733           0 :     void *argp1 = 0 ;
   34734             :     int res1 = 0 ;
   34735             :     double val2 ;
   34736             :     int ecode2 = 0 ;
   34737             :     int argvi = 0;
   34738           0 :     dXSARGS;
   34739             :     
   34740           0 :     if ((items < 2) || (items > 2)) {
   34741           0 :       SWIG_croak("Usage: rectObj_maxy_set(self,maxy);");
   34742             :     }
   34743           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_rectObj, 0 |  0 );
   34744           0 :     if (!SWIG_IsOK(res1)) {
   34745           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "rectObj_maxy_set" "', argument " "1"" of type '" "rectObj *""'"); 
   34746             :     }
   34747           0 :     arg1 = (rectObj *)(argp1);
   34748           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   34749           0 :     if (!SWIG_IsOK(ecode2)) {
   34750           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "rectObj_maxy_set" "', argument " "2"" of type '" "double""'");
   34751             :     } 
   34752           0 :     arg2 = (double)(val2);
   34753           0 :     if (arg1) (arg1)->maxy = arg2;
   34754           0 :     ST(argvi) = sv_newmortal();
   34755             :     
   34756             :     
   34757           0 :     XSRETURN(argvi);
   34758           0 :   fail:
   34759             :     
   34760             :     
   34761           0 :     SWIG_croak_null();
   34762             :   }
   34763             : }
   34764             : 
   34765             : 
   34766           1 : XS(_wrap_rectObj_maxy_get) {
   34767             :   {
   34768             :     rectObj *arg1 = (rectObj *) 0 ;
   34769           1 :     void *argp1 = 0 ;
   34770             :     int res1 = 0 ;
   34771             :     int argvi = 0;
   34772             :     double result;
   34773           1 :     dXSARGS;
   34774             :     
   34775           1 :     if ((items < 1) || (items > 1)) {
   34776           0 :       SWIG_croak("Usage: rectObj_maxy_get(self);");
   34777             :     }
   34778           1 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_rectObj, 0 |  0 );
   34779           1 :     if (!SWIG_IsOK(res1)) {
   34780           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "rectObj_maxy_get" "', argument " "1"" of type '" "rectObj *""'"); 
   34781             :     }
   34782           1 :     arg1 = (rectObj *)(argp1);
   34783           1 :     result = (double) ((arg1)->maxy);
   34784           1 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   34785             :     
   34786           1 :     XSRETURN(argvi);
   34787           0 :   fail:
   34788             :     
   34789           0 :     SWIG_croak_null();
   34790             :   }
   34791             : }
   34792             : 
   34793             : 
   34794           0 : XS(_wrap_new_rectObj) {
   34795             :   {
   34796             :     double arg1 = (double) -1.0 ;
   34797             :     double arg2 = (double) -1.0 ;
   34798             :     double arg3 = (double) -1.0 ;
   34799             :     double arg4 = (double) -1.0 ;
   34800             :     int arg5 = (int) 0 ;
   34801             :     double val1 ;
   34802             :     int ecode1 = 0 ;
   34803             :     double val2 ;
   34804             :     int ecode2 = 0 ;
   34805             :     double val3 ;
   34806             :     int ecode3 = 0 ;
   34807             :     double val4 ;
   34808             :     int ecode4 = 0 ;
   34809             :     int val5 ;
   34810             :     int ecode5 = 0 ;
   34811             :     int argvi = 0;
   34812             :     rectObj *result = 0 ;
   34813           0 :     dXSARGS;
   34814             :     
   34815           0 :     if ((items < 0) || (items > 5)) {
   34816           0 :       SWIG_croak("Usage: new_rectObj(minx,miny,maxx,maxy,imageunits);");
   34817             :     }
   34818           0 :     if (items > 0) {
   34819           0 :       ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
   34820           0 :       if (!SWIG_IsOK(ecode1)) {
   34821           0 :         SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_rectObj" "', argument " "1"" of type '" "double""'");
   34822             :       } 
   34823           0 :       arg1 = (double)(val1);
   34824             :     }
   34825           0 :     if (items > 1) {
   34826           0 :       ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   34827           0 :       if (!SWIG_IsOK(ecode2)) {
   34828           0 :         SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_rectObj" "', argument " "2"" of type '" "double""'");
   34829             :       } 
   34830           0 :       arg2 = (double)(val2);
   34831             :     }
   34832           0 :     if (items > 2) {
   34833           0 :       ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
   34834           0 :       if (!SWIG_IsOK(ecode3)) {
   34835           0 :         SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_rectObj" "', argument " "3"" of type '" "double""'");
   34836             :       } 
   34837           0 :       arg3 = (double)(val3);
   34838             :     }
   34839           0 :     if (items > 3) {
   34840           0 :       ecode4 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
   34841           0 :       if (!SWIG_IsOK(ecode4)) {
   34842           0 :         SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_rectObj" "', argument " "4"" of type '" "double""'");
   34843             :       } 
   34844           0 :       arg4 = (double)(val4);
   34845             :     }
   34846           0 :     if (items > 4) {
   34847           0 :       ecode5 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
   34848           0 :       if (!SWIG_IsOK(ecode5)) {
   34849           0 :         SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_rectObj" "', argument " "5"" of type '" "int""'");
   34850             :       } 
   34851             :       arg5 = (int)(val5);
   34852             :     }
   34853           0 :     result = (rectObj *)new_rectObj(arg1,arg2,arg3,arg4,arg5);
   34854           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_rectObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   34855             :     
   34856             :     
   34857             :     
   34858             :     
   34859             :     
   34860           0 :     XSRETURN(argvi);
   34861           0 :   fail:
   34862             :     
   34863             :     
   34864             :     
   34865             :     
   34866             :     
   34867           0 :     SWIG_croak_null();
   34868             :   }
   34869             : }
   34870             : 
   34871             : 
   34872           0 : XS(_wrap_delete_rectObj) {
   34873             :   {
   34874             :     rectObj *arg1 = (rectObj *) 0 ;
   34875           0 :     void *argp1 = 0 ;
   34876             :     int res1 = 0 ;
   34877             :     int argvi = 0;
   34878           0 :     dXSARGS;
   34879             :     
   34880           0 :     if ((items < 1) || (items > 1)) {
   34881           0 :       SWIG_croak("Usage: delete_rectObj(self);");
   34882             :     }
   34883           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_rectObj, SWIG_POINTER_DISOWN |  0 );
   34884           0 :     if (!SWIG_IsOK(res1)) {
   34885           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_rectObj" "', argument " "1"" of type '" "rectObj *""'"); 
   34886             :     }
   34887           0 :     arg1 = (rectObj *)(argp1);
   34888             :     delete_rectObj(arg1);
   34889           0 :     ST(argvi) = sv_newmortal();
   34890             :     
   34891           0 :     XSRETURN(argvi);
   34892           0 :   fail:
   34893             :     
   34894           0 :     SWIG_croak_null();
   34895             :   }
   34896             : }
   34897             : 
   34898             : 
   34899           0 : XS(_wrap_rectObj_project) {
   34900             :   {
   34901             :     rectObj *arg1 = (rectObj *) 0 ;
   34902             :     projectionObj *arg2 = (projectionObj *) 0 ;
   34903             :     projectionObj *arg3 = (projectionObj *) 0 ;
   34904           0 :     void *argp1 = 0 ;
   34905             :     int res1 = 0 ;
   34906           0 :     void *argp2 = 0 ;
   34907             :     int res2 = 0 ;
   34908           0 :     void *argp3 = 0 ;
   34909             :     int res3 = 0 ;
   34910             :     int argvi = 0;
   34911             :     int result;
   34912           0 :     dXSARGS;
   34913             :     
   34914           0 :     if ((items < 3) || (items > 3)) {
   34915           0 :       SWIG_croak("Usage: rectObj_project(self,projin,projout);");
   34916             :     }
   34917           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_rectObj, 0 |  0 );
   34918           0 :     if (!SWIG_IsOK(res1)) {
   34919           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "rectObj_project" "', argument " "1"" of type '" "rectObj *""'"); 
   34920             :     }
   34921           0 :     arg1 = (rectObj *)(argp1);
   34922           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_projectionObj, 0 |  0 );
   34923           0 :     if (!SWIG_IsOK(res2)) {
   34924           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "rectObj_project" "', argument " "2"" of type '" "projectionObj *""'"); 
   34925             :     }
   34926           0 :     arg2 = (projectionObj *)(argp2);
   34927           0 :     res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_projectionObj, 0 |  0 );
   34928           0 :     if (!SWIG_IsOK(res3)) {
   34929           0 :       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "rectObj_project" "', argument " "3"" of type '" "projectionObj *""'"); 
   34930             :     }
   34931           0 :     arg3 = (projectionObj *)(argp3);
   34932             :     result = (int)rectObj_project(arg1,arg2,arg3);
   34933           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   34934             :     
   34935             :     
   34936             :     
   34937           0 :     XSRETURN(argvi);
   34938           0 :   fail:
   34939             :     
   34940             :     
   34941             :     
   34942           0 :     SWIG_croak_null();
   34943             :   }
   34944             : }
   34945             : 
   34946             : 
   34947           0 : XS(_wrap_rectObj_fit) {
   34948             :   {
   34949             :     rectObj *arg1 = (rectObj *) 0 ;
   34950             :     int arg2 ;
   34951             :     int arg3 ;
   34952           0 :     void *argp1 = 0 ;
   34953             :     int res1 = 0 ;
   34954             :     int val2 ;
   34955             :     int ecode2 = 0 ;
   34956             :     int val3 ;
   34957             :     int ecode3 = 0 ;
   34958             :     int argvi = 0;
   34959             :     double result;
   34960           0 :     dXSARGS;
   34961             :     
   34962           0 :     if ((items < 3) || (items > 3)) {
   34963           0 :       SWIG_croak("Usage: rectObj_fit(self,width,height);");
   34964             :     }
   34965           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_rectObj, 0 |  0 );
   34966           0 :     if (!SWIG_IsOK(res1)) {
   34967           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "rectObj_fit" "', argument " "1"" of type '" "rectObj *""'"); 
   34968             :     }
   34969           0 :     arg1 = (rectObj *)(argp1);
   34970           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   34971           0 :     if (!SWIG_IsOK(ecode2)) {
   34972           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "rectObj_fit" "', argument " "2"" of type '" "int""'");
   34973             :     } 
   34974             :     arg2 = (int)(val2);
   34975           0 :     ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
   34976           0 :     if (!SWIG_IsOK(ecode3)) {
   34977           0 :       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "rectObj_fit" "', argument " "3"" of type '" "int""'");
   34978             :     } 
   34979             :     arg3 = (int)(val3);
   34980             :     result = (double)rectObj_fit(arg1,arg2,arg3);
   34981           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   34982             :     
   34983             :     
   34984             :     
   34985           0 :     XSRETURN(argvi);
   34986           0 :   fail:
   34987             :     
   34988             :     
   34989             :     
   34990           0 :     SWIG_croak_null();
   34991             :   }
   34992             : }
   34993             : 
   34994             : 
   34995           0 : XS(_wrap_rectObj_draw) {
   34996             :   {
   34997             :     rectObj *arg1 = (rectObj *) 0 ;
   34998             :     mapObj *arg2 = (mapObj *) 0 ;
   34999             :     layerObj *arg3 = (layerObj *) 0 ;
   35000             :     imageObj *arg4 = (imageObj *) 0 ;
   35001             :     int arg5 ;
   35002             :     char *arg6 = (char *) 0 ;
   35003           0 :     void *argp1 = 0 ;
   35004             :     int res1 = 0 ;
   35005           0 :     void *argp2 = 0 ;
   35006             :     int res2 = 0 ;
   35007           0 :     void *argp3 = 0 ;
   35008             :     int res3 = 0 ;
   35009           0 :     void *argp4 = 0 ;
   35010             :     int res4 = 0 ;
   35011             :     int val5 ;
   35012             :     int ecode5 = 0 ;
   35013             :     int res6 ;
   35014           0 :     char *buf6 = 0 ;
   35015           0 :     int alloc6 = 0 ;
   35016             :     int argvi = 0;
   35017             :     int result;
   35018           0 :     dXSARGS;
   35019             :     
   35020           0 :     if ((items < 6) || (items > 6)) {
   35021           0 :       SWIG_croak("Usage: rectObj_draw(self,map,layer,image,classindex,text);");
   35022             :     }
   35023           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_rectObj, 0 |  0 );
   35024           0 :     if (!SWIG_IsOK(res1)) {
   35025           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "rectObj_draw" "', argument " "1"" of type '" "rectObj *""'"); 
   35026             :     }
   35027           0 :     arg1 = (rectObj *)(argp1);
   35028           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_mapObj, 0 |  0 );
   35029           0 :     if (!SWIG_IsOK(res2)) {
   35030           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "rectObj_draw" "', argument " "2"" of type '" "mapObj *""'"); 
   35031             :     }
   35032           0 :     arg2 = (mapObj *)(argp2);
   35033           0 :     res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_layerObj, 0 |  0 );
   35034           0 :     if (!SWIG_IsOK(res3)) {
   35035           0 :       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "rectObj_draw" "', argument " "3"" of type '" "layerObj *""'"); 
   35036             :     }
   35037           0 :     arg3 = (layerObj *)(argp3);
   35038           0 :     res4 = SWIG_ConvertPtr(ST(3), &argp4,SWIGTYPE_p_imageObj, 0 |  0 );
   35039           0 :     if (!SWIG_IsOK(res4)) {
   35040           0 :       SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "rectObj_draw" "', argument " "4"" of type '" "imageObj *""'"); 
   35041             :     }
   35042           0 :     arg4 = (imageObj *)(argp4);
   35043           0 :     ecode5 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
   35044           0 :     if (!SWIG_IsOK(ecode5)) {
   35045           0 :       SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "rectObj_draw" "', argument " "5"" of type '" "int""'");
   35046             :     } 
   35047             :     arg5 = (int)(val5);
   35048           0 :     res6 = SWIG_AsCharPtrAndSize(ST(5), &buf6, NULL, &alloc6);
   35049           0 :     if (!SWIG_IsOK(res6)) {
   35050           0 :       SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "rectObj_draw" "', argument " "6"" of type '" "char *""'");
   35051             :     }
   35052           0 :     arg6 = (char *)(buf6);
   35053           0 :     result = (int)rectObj_draw(arg1,arg2,arg3,arg4,arg5,arg6);
   35054           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   35055             :     
   35056             :     
   35057             :     
   35058             :     
   35059             :     
   35060           0 :     if (alloc6 == SWIG_NEWOBJ) free((char*)buf6);
   35061           0 :     XSRETURN(argvi);
   35062           0 :   fail:
   35063             :     
   35064             :     
   35065             :     
   35066             :     
   35067             :     
   35068           0 :     if (alloc6 == SWIG_NEWOBJ) free((char*)buf6);
   35069           0 :     SWIG_croak_null();
   35070             :   }
   35071             : }
   35072             : 
   35073             : 
   35074           0 : XS(_wrap_rectObj_getCenter) {
   35075             :   {
   35076             :     rectObj *arg1 = (rectObj *) 0 ;
   35077           0 :     void *argp1 = 0 ;
   35078             :     int res1 = 0 ;
   35079             :     int argvi = 0;
   35080             :     pointObj *result = 0 ;
   35081           0 :     dXSARGS;
   35082             :     
   35083           0 :     if ((items < 1) || (items > 1)) {
   35084           0 :       SWIG_croak("Usage: rectObj_getCenter(self);");
   35085             :     }
   35086           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_rectObj, 0 |  0 );
   35087           0 :     if (!SWIG_IsOK(res1)) {
   35088           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "rectObj_getCenter" "', argument " "1"" of type '" "rectObj *""'"); 
   35089             :     }
   35090           0 :     arg1 = (rectObj *)(argp1);
   35091           0 :     result = (pointObj *)rectObj_getCenter(arg1);
   35092           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pointObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   35093             :     
   35094           0 :     XSRETURN(argvi);
   35095           0 :   fail:
   35096             :     
   35097           0 :     SWIG_croak_null();
   35098             :   }
   35099             : }
   35100             : 
   35101             : 
   35102           0 : XS(_wrap_rectObj_toPolygon) {
   35103             :   {
   35104             :     rectObj *arg1 = (rectObj *) 0 ;
   35105           0 :     void *argp1 = 0 ;
   35106             :     int res1 = 0 ;
   35107             :     int argvi = 0;
   35108             :     shapeObj *result = 0 ;
   35109           0 :     dXSARGS;
   35110             :     
   35111           0 :     if ((items < 1) || (items > 1)) {
   35112           0 :       SWIG_croak("Usage: rectObj_toPolygon(self);");
   35113             :     }
   35114           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_rectObj, 0 |  0 );
   35115           0 :     if (!SWIG_IsOK(res1)) {
   35116           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "rectObj_toPolygon" "', argument " "1"" of type '" "rectObj *""'"); 
   35117             :     }
   35118           0 :     arg1 = (rectObj *)(argp1);
   35119           0 :     result = (shapeObj *)rectObj_toPolygon(arg1);
   35120           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_shapeObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   35121             :     
   35122           0 :     XSRETURN(argvi);
   35123           0 :   fail:
   35124             :     
   35125           0 :     SWIG_croak_null();
   35126             :   }
   35127             : }
   35128             : 
   35129             : 
   35130           0 : XS(_wrap_rectObj_toString) {
   35131             :   {
   35132             :     rectObj *arg1 = (rectObj *) 0 ;
   35133           0 :     void *argp1 = 0 ;
   35134             :     int res1 = 0 ;
   35135             :     int argvi = 0;
   35136             :     char *result = 0 ;
   35137           0 :     dXSARGS;
   35138             :     
   35139           0 :     if ((items < 1) || (items > 1)) {
   35140           0 :       SWIG_croak("Usage: rectObj_toString(self);");
   35141             :     }
   35142           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_rectObj, 0 |  0 );
   35143           0 :     if (!SWIG_IsOK(res1)) {
   35144           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "rectObj_toString" "', argument " "1"" of type '" "rectObj *""'"); 
   35145             :     }
   35146           0 :     arg1 = (rectObj *)(argp1);
   35147           0 :     result = (char *)rectObj_toString(arg1);
   35148           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   35149             :     
   35150           0 :     free((char*)result);
   35151           0 :     XSRETURN(argvi);
   35152           0 :   fail:
   35153             :     
   35154           0 :     SWIG_croak_null();
   35155             :   }
   35156             : }
   35157             : 
   35158             : 
   35159           0 : XS(_wrap_pointObj_x_set) {
   35160             :   {
   35161             :     pointObj *arg1 = (pointObj *) 0 ;
   35162             :     double arg2 ;
   35163           0 :     void *argp1 = 0 ;
   35164             :     int res1 = 0 ;
   35165             :     double val2 ;
   35166             :     int ecode2 = 0 ;
   35167             :     int argvi = 0;
   35168           0 :     dXSARGS;
   35169             :     
   35170           0 :     if ((items < 2) || (items > 2)) {
   35171           0 :       SWIG_croak("Usage: pointObj_x_set(self,x);");
   35172             :     }
   35173           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_pointObj, 0 |  0 );
   35174           0 :     if (!SWIG_IsOK(res1)) {
   35175           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pointObj_x_set" "', argument " "1"" of type '" "pointObj *""'"); 
   35176             :     }
   35177           0 :     arg1 = (pointObj *)(argp1);
   35178           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   35179           0 :     if (!SWIG_IsOK(ecode2)) {
   35180           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "pointObj_x_set" "', argument " "2"" of type '" "double""'");
   35181             :     } 
   35182           0 :     arg2 = (double)(val2);
   35183           0 :     if (arg1) (arg1)->x = arg2;
   35184           0 :     ST(argvi) = sv_newmortal();
   35185             :     
   35186             :     
   35187           0 :     XSRETURN(argvi);
   35188           0 :   fail:
   35189             :     
   35190             :     
   35191           0 :     SWIG_croak_null();
   35192             :   }
   35193             : }
   35194             : 
   35195             : 
   35196           1 : XS(_wrap_pointObj_x_get) {
   35197             :   {
   35198             :     pointObj *arg1 = (pointObj *) 0 ;
   35199           1 :     void *argp1 = 0 ;
   35200             :     int res1 = 0 ;
   35201             :     int argvi = 0;
   35202             :     double result;
   35203           1 :     dXSARGS;
   35204             :     
   35205           1 :     if ((items < 1) || (items > 1)) {
   35206           0 :       SWIG_croak("Usage: pointObj_x_get(self);");
   35207             :     }
   35208           1 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_pointObj, 0 |  0 );
   35209           1 :     if (!SWIG_IsOK(res1)) {
   35210           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pointObj_x_get" "', argument " "1"" of type '" "pointObj *""'"); 
   35211             :     }
   35212           1 :     arg1 = (pointObj *)(argp1);
   35213           1 :     result = (double) ((arg1)->x);
   35214           1 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   35215             :     
   35216           1 :     XSRETURN(argvi);
   35217           0 :   fail:
   35218             :     
   35219           0 :     SWIG_croak_null();
   35220             :   }
   35221             : }
   35222             : 
   35223             : 
   35224           0 : XS(_wrap_pointObj_y_set) {
   35225             :   {
   35226             :     pointObj *arg1 = (pointObj *) 0 ;
   35227             :     double arg2 ;
   35228           0 :     void *argp1 = 0 ;
   35229             :     int res1 = 0 ;
   35230             :     double val2 ;
   35231             :     int ecode2 = 0 ;
   35232             :     int argvi = 0;
   35233           0 :     dXSARGS;
   35234             :     
   35235           0 :     if ((items < 2) || (items > 2)) {
   35236           0 :       SWIG_croak("Usage: pointObj_y_set(self,y);");
   35237             :     }
   35238           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_pointObj, 0 |  0 );
   35239           0 :     if (!SWIG_IsOK(res1)) {
   35240           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pointObj_y_set" "', argument " "1"" of type '" "pointObj *""'"); 
   35241             :     }
   35242           0 :     arg1 = (pointObj *)(argp1);
   35243           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   35244           0 :     if (!SWIG_IsOK(ecode2)) {
   35245           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "pointObj_y_set" "', argument " "2"" of type '" "double""'");
   35246             :     } 
   35247           0 :     arg2 = (double)(val2);
   35248           0 :     if (arg1) (arg1)->y = arg2;
   35249           0 :     ST(argvi) = sv_newmortal();
   35250             :     
   35251             :     
   35252           0 :     XSRETURN(argvi);
   35253           0 :   fail:
   35254             :     
   35255             :     
   35256           0 :     SWIG_croak_null();
   35257             :   }
   35258             : }
   35259             : 
   35260             : 
   35261           1 : XS(_wrap_pointObj_y_get) {
   35262             :   {
   35263             :     pointObj *arg1 = (pointObj *) 0 ;
   35264           1 :     void *argp1 = 0 ;
   35265             :     int res1 = 0 ;
   35266             :     int argvi = 0;
   35267             :     double result;
   35268           1 :     dXSARGS;
   35269             :     
   35270           1 :     if ((items < 1) || (items > 1)) {
   35271           0 :       SWIG_croak("Usage: pointObj_y_get(self);");
   35272             :     }
   35273           1 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_pointObj, 0 |  0 );
   35274           1 :     if (!SWIG_IsOK(res1)) {
   35275           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pointObj_y_get" "', argument " "1"" of type '" "pointObj *""'"); 
   35276             :     }
   35277           1 :     arg1 = (pointObj *)(argp1);
   35278           1 :     result = (double) ((arg1)->y);
   35279           1 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   35280             :     
   35281           1 :     XSRETURN(argvi);
   35282           0 :   fail:
   35283             :     
   35284           0 :     SWIG_croak_null();
   35285             :   }
   35286             : }
   35287             : 
   35288             : 
   35289           0 : XS(_wrap_new_pointObj) {
   35290             :   {
   35291             :     double arg1 = (double) 0.0 ;
   35292             :     double arg2 = (double) 0.0 ;
   35293             :     double arg3 = (double) 0.0 ;
   35294             :     double arg4 = (double) -2e38 ;
   35295             :     double val1 ;
   35296             :     int ecode1 = 0 ;
   35297             :     double val2 ;
   35298             :     int ecode2 = 0 ;
   35299             :     double val3 ;
   35300             :     int ecode3 = 0 ;
   35301             :     double val4 ;
   35302             :     int ecode4 = 0 ;
   35303             :     int argvi = 0;
   35304             :     pointObj *result = 0 ;
   35305           0 :     dXSARGS;
   35306             :     
   35307           0 :     if ((items < 0) || (items > 4)) {
   35308           0 :       SWIG_croak("Usage: new_pointObj(x,y,z,m);");
   35309             :     }
   35310           0 :     if (items > 0) {
   35311           0 :       ecode1 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
   35312           0 :       if (!SWIG_IsOK(ecode1)) {
   35313           0 :         SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_pointObj" "', argument " "1"" of type '" "double""'");
   35314             :       } 
   35315           0 :       arg1 = (double)(val1);
   35316             :     }
   35317           0 :     if (items > 1) {
   35318           0 :       ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   35319           0 :       if (!SWIG_IsOK(ecode2)) {
   35320           0 :         SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_pointObj" "', argument " "2"" of type '" "double""'");
   35321             :       } 
   35322           0 :       arg2 = (double)(val2);
   35323             :     }
   35324           0 :     if (items > 2) {
   35325           0 :       ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
   35326           0 :       if (!SWIG_IsOK(ecode3)) {
   35327           0 :         SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_pointObj" "', argument " "3"" of type '" "double""'");
   35328             :       } 
   35329             :       arg3 = (double)(val3);
   35330             :     }
   35331           0 :     if (items > 3) {
   35332           0 :       ecode4 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
   35333           0 :       if (!SWIG_IsOK(ecode4)) {
   35334           0 :         SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_pointObj" "', argument " "4"" of type '" "double""'");
   35335             :       } 
   35336             :       arg4 = (double)(val4);
   35337             :     }
   35338             :     result = (pointObj *)new_pointObj(arg1,arg2,arg3,arg4);
   35339           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pointObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   35340             :     
   35341             :     
   35342             :     
   35343             :     
   35344           0 :     XSRETURN(argvi);
   35345           0 :   fail:
   35346             :     
   35347             :     
   35348             :     
   35349             :     
   35350           0 :     SWIG_croak_null();
   35351             :   }
   35352             : }
   35353             : 
   35354             : 
   35355           0 : XS(_wrap_delete_pointObj) {
   35356             :   {
   35357             :     pointObj *arg1 = (pointObj *) 0 ;
   35358           0 :     void *argp1 = 0 ;
   35359             :     int res1 = 0 ;
   35360             :     int argvi = 0;
   35361           0 :     dXSARGS;
   35362             :     
   35363           0 :     if ((items < 1) || (items > 1)) {
   35364           0 :       SWIG_croak("Usage: delete_pointObj(self);");
   35365             :     }
   35366           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_pointObj, SWIG_POINTER_DISOWN |  0 );
   35367           0 :     if (!SWIG_IsOK(res1)) {
   35368           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_pointObj" "', argument " "1"" of type '" "pointObj *""'"); 
   35369             :     }
   35370           0 :     arg1 = (pointObj *)(argp1);
   35371             :     delete_pointObj(arg1);
   35372           0 :     ST(argvi) = sv_newmortal();
   35373             :     
   35374           0 :     XSRETURN(argvi);
   35375           0 :   fail:
   35376             :     
   35377           0 :     SWIG_croak_null();
   35378             :   }
   35379             : }
   35380             : 
   35381             : 
   35382           0 : XS(_wrap_pointObj_project) {
   35383             :   {
   35384             :     pointObj *arg1 = (pointObj *) 0 ;
   35385             :     projectionObj *arg2 = (projectionObj *) 0 ;
   35386             :     projectionObj *arg3 = (projectionObj *) 0 ;
   35387           0 :     void *argp1 = 0 ;
   35388             :     int res1 = 0 ;
   35389           0 :     void *argp2 = 0 ;
   35390             :     int res2 = 0 ;
   35391           0 :     void *argp3 = 0 ;
   35392             :     int res3 = 0 ;
   35393             :     int argvi = 0;
   35394             :     int result;
   35395           0 :     dXSARGS;
   35396             :     
   35397           0 :     if ((items < 3) || (items > 3)) {
   35398           0 :       SWIG_croak("Usage: pointObj_project(self,projin,projout);");
   35399             :     }
   35400           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_pointObj, 0 |  0 );
   35401           0 :     if (!SWIG_IsOK(res1)) {
   35402           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pointObj_project" "', argument " "1"" of type '" "pointObj *""'"); 
   35403             :     }
   35404           0 :     arg1 = (pointObj *)(argp1);
   35405           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_projectionObj, 0 |  0 );
   35406           0 :     if (!SWIG_IsOK(res2)) {
   35407           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "pointObj_project" "', argument " "2"" of type '" "projectionObj *""'"); 
   35408             :     }
   35409           0 :     arg2 = (projectionObj *)(argp2);
   35410           0 :     res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_projectionObj, 0 |  0 );
   35411           0 :     if (!SWIG_IsOK(res3)) {
   35412           0 :       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "pointObj_project" "', argument " "3"" of type '" "projectionObj *""'"); 
   35413             :     }
   35414           0 :     arg3 = (projectionObj *)(argp3);
   35415             :     result = (int)pointObj_project(arg1,arg2,arg3);
   35416           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   35417             :     
   35418             :     
   35419             :     
   35420           0 :     XSRETURN(argvi);
   35421           0 :   fail:
   35422             :     
   35423             :     
   35424             :     
   35425           0 :     SWIG_croak_null();
   35426             :   }
   35427             : }
   35428             : 
   35429             : 
   35430           0 : XS(_wrap_pointObj_draw) {
   35431             :   {
   35432             :     pointObj *arg1 = (pointObj *) 0 ;
   35433             :     mapObj *arg2 = (mapObj *) 0 ;
   35434             :     layerObj *arg3 = (layerObj *) 0 ;
   35435             :     imageObj *arg4 = (imageObj *) 0 ;
   35436             :     int arg5 ;
   35437             :     char *arg6 = (char *) 0 ;
   35438           0 :     void *argp1 = 0 ;
   35439             :     int res1 = 0 ;
   35440           0 :     void *argp2 = 0 ;
   35441             :     int res2 = 0 ;
   35442           0 :     void *argp3 = 0 ;
   35443             :     int res3 = 0 ;
   35444           0 :     void *argp4 = 0 ;
   35445             :     int res4 = 0 ;
   35446             :     int val5 ;
   35447             :     int ecode5 = 0 ;
   35448             :     int res6 ;
   35449           0 :     char *buf6 = 0 ;
   35450           0 :     int alloc6 = 0 ;
   35451             :     int argvi = 0;
   35452             :     int result;
   35453           0 :     dXSARGS;
   35454             :     
   35455           0 :     if ((items < 6) || (items > 6)) {
   35456           0 :       SWIG_croak("Usage: pointObj_draw(self,map,layer,image,classindex,text);");
   35457             :     }
   35458           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_pointObj, 0 |  0 );
   35459           0 :     if (!SWIG_IsOK(res1)) {
   35460           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pointObj_draw" "', argument " "1"" of type '" "pointObj *""'"); 
   35461             :     }
   35462           0 :     arg1 = (pointObj *)(argp1);
   35463           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_mapObj, 0 |  0 );
   35464           0 :     if (!SWIG_IsOK(res2)) {
   35465           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "pointObj_draw" "', argument " "2"" of type '" "mapObj *""'"); 
   35466             :     }
   35467           0 :     arg2 = (mapObj *)(argp2);
   35468           0 :     res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_layerObj, 0 |  0 );
   35469           0 :     if (!SWIG_IsOK(res3)) {
   35470           0 :       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "pointObj_draw" "', argument " "3"" of type '" "layerObj *""'"); 
   35471             :     }
   35472           0 :     arg3 = (layerObj *)(argp3);
   35473           0 :     res4 = SWIG_ConvertPtr(ST(3), &argp4,SWIGTYPE_p_imageObj, 0 |  0 );
   35474           0 :     if (!SWIG_IsOK(res4)) {
   35475           0 :       SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "pointObj_draw" "', argument " "4"" of type '" "imageObj *""'"); 
   35476             :     }
   35477           0 :     arg4 = (imageObj *)(argp4);
   35478           0 :     ecode5 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
   35479           0 :     if (!SWIG_IsOK(ecode5)) {
   35480           0 :       SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "pointObj_draw" "', argument " "5"" of type '" "int""'");
   35481             :     } 
   35482             :     arg5 = (int)(val5);
   35483           0 :     res6 = SWIG_AsCharPtrAndSize(ST(5), &buf6, NULL, &alloc6);
   35484           0 :     if (!SWIG_IsOK(res6)) {
   35485           0 :       SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "pointObj_draw" "', argument " "6"" of type '" "char *""'");
   35486             :     }
   35487           0 :     arg6 = (char *)(buf6);
   35488             :     result = (int)pointObj_draw(arg1,arg2,arg3,arg4,arg5,arg6);
   35489           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   35490             :     
   35491             :     
   35492             :     
   35493             :     
   35494             :     
   35495           0 :     if (alloc6 == SWIG_NEWOBJ) free((char*)buf6);
   35496           0 :     XSRETURN(argvi);
   35497           0 :   fail:
   35498             :     
   35499             :     
   35500             :     
   35501             :     
   35502             :     
   35503           0 :     if (alloc6 == SWIG_NEWOBJ) free((char*)buf6);
   35504           0 :     SWIG_croak_null();
   35505             :   }
   35506             : }
   35507             : 
   35508             : 
   35509           0 : XS(_wrap_pointObj_distanceToPoint) {
   35510             :   {
   35511             :     pointObj *arg1 = (pointObj *) 0 ;
   35512             :     pointObj *arg2 = (pointObj *) 0 ;
   35513           0 :     void *argp1 = 0 ;
   35514             :     int res1 = 0 ;
   35515           0 :     void *argp2 = 0 ;
   35516             :     int res2 = 0 ;
   35517             :     int argvi = 0;
   35518             :     double result;
   35519           0 :     dXSARGS;
   35520             :     
   35521           0 :     if ((items < 2) || (items > 2)) {
   35522           0 :       SWIG_croak("Usage: pointObj_distanceToPoint(self,point);");
   35523             :     }
   35524           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_pointObj, 0 |  0 );
   35525           0 :     if (!SWIG_IsOK(res1)) {
   35526           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pointObj_distanceToPoint" "', argument " "1"" of type '" "pointObj *""'"); 
   35527             :     }
   35528           0 :     arg1 = (pointObj *)(argp1);
   35529           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_pointObj, 0 |  0 );
   35530           0 :     if (!SWIG_IsOK(res2)) {
   35531           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "pointObj_distanceToPoint" "', argument " "2"" of type '" "pointObj *""'"); 
   35532             :     }
   35533           0 :     arg2 = (pointObj *)(argp2);
   35534             :     result = (double)pointObj_distanceToPoint(arg1,arg2);
   35535           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   35536             :     
   35537             :     
   35538           0 :     XSRETURN(argvi);
   35539           0 :   fail:
   35540             :     
   35541             :     
   35542           0 :     SWIG_croak_null();
   35543             :   }
   35544             : }
   35545             : 
   35546             : 
   35547           1 : XS(_wrap_pointObj_distanceToSegment) {
   35548             :   {
   35549             :     pointObj *arg1 = (pointObj *) 0 ;
   35550             :     pointObj *arg2 = (pointObj *) 0 ;
   35551             :     pointObj *arg3 = (pointObj *) 0 ;
   35552           1 :     void *argp1 = 0 ;
   35553             :     int res1 = 0 ;
   35554           1 :     void *argp2 = 0 ;
   35555             :     int res2 = 0 ;
   35556           1 :     void *argp3 = 0 ;
   35557             :     int res3 = 0 ;
   35558             :     int argvi = 0;
   35559             :     double result;
   35560           1 :     dXSARGS;
   35561             :     
   35562           1 :     if ((items < 3) || (items > 3)) {
   35563           0 :       SWIG_croak("Usage: pointObj_distanceToSegment(self,a,b);");
   35564             :     }
   35565           1 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_pointObj, 0 |  0 );
   35566           1 :     if (!SWIG_IsOK(res1)) {
   35567           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pointObj_distanceToSegment" "', argument " "1"" of type '" "pointObj *""'"); 
   35568             :     }
   35569           1 :     arg1 = (pointObj *)(argp1);
   35570           1 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_pointObj, 0 |  0 );
   35571           1 :     if (!SWIG_IsOK(res2)) {
   35572           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "pointObj_distanceToSegment" "', argument " "2"" of type '" "pointObj *""'"); 
   35573             :     }
   35574           1 :     arg2 = (pointObj *)(argp2);
   35575           1 :     res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_pointObj, 0 |  0 );
   35576           1 :     if (!SWIG_IsOK(res3)) {
   35577           0 :       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "pointObj_distanceToSegment" "', argument " "3"" of type '" "pointObj *""'"); 
   35578             :     }
   35579           1 :     arg3 = (pointObj *)(argp3);
   35580             :     result = (double)pointObj_distanceToSegment(arg1,arg2,arg3);
   35581           1 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   35582             :     
   35583             :     
   35584             :     
   35585           1 :     XSRETURN(argvi);
   35586           0 :   fail:
   35587             :     
   35588             :     
   35589             :     
   35590           0 :     SWIG_croak_null();
   35591             :   }
   35592             : }
   35593             : 
   35594             : 
   35595           0 : XS(_wrap_pointObj_distanceToShape) {
   35596             :   {
   35597             :     pointObj *arg1 = (pointObj *) 0 ;
   35598             :     shapeObj *arg2 = (shapeObj *) 0 ;
   35599           0 :     void *argp1 = 0 ;
   35600             :     int res1 = 0 ;
   35601           0 :     void *argp2 = 0 ;
   35602             :     int res2 = 0 ;
   35603             :     int argvi = 0;
   35604             :     double result;
   35605           0 :     dXSARGS;
   35606             :     
   35607           0 :     if ((items < 2) || (items > 2)) {
   35608           0 :       SWIG_croak("Usage: pointObj_distanceToShape(self,shape);");
   35609             :     }
   35610           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_pointObj, 0 |  0 );
   35611           0 :     if (!SWIG_IsOK(res1)) {
   35612           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pointObj_distanceToShape" "', argument " "1"" of type '" "pointObj *""'"); 
   35613             :     }
   35614           0 :     arg1 = (pointObj *)(argp1);
   35615           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_shapeObj, 0 |  0 );
   35616           0 :     if (!SWIG_IsOK(res2)) {
   35617           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "pointObj_distanceToShape" "', argument " "2"" of type '" "shapeObj *""'"); 
   35618             :     }
   35619           0 :     arg2 = (shapeObj *)(argp2);
   35620             :     result = (double)pointObj_distanceToShape(arg1,arg2);
   35621           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   35622             :     
   35623             :     
   35624           0 :     XSRETURN(argvi);
   35625           0 :   fail:
   35626             :     
   35627             :     
   35628           0 :     SWIG_croak_null();
   35629             :   }
   35630             : }
   35631             : 
   35632             : 
   35633           0 : XS(_wrap_pointObj_setXY) {
   35634             :   {
   35635             :     pointObj *arg1 = (pointObj *) 0 ;
   35636             :     double arg2 ;
   35637             :     double arg3 ;
   35638             :     double arg4 = (double) -2e38 ;
   35639           0 :     void *argp1 = 0 ;
   35640             :     int res1 = 0 ;
   35641             :     double val2 ;
   35642             :     int ecode2 = 0 ;
   35643             :     double val3 ;
   35644             :     int ecode3 = 0 ;
   35645             :     double val4 ;
   35646             :     int ecode4 = 0 ;
   35647             :     int argvi = 0;
   35648             :     int result;
   35649           0 :     dXSARGS;
   35650             :     
   35651           0 :     if ((items < 3) || (items > 4)) {
   35652           0 :       SWIG_croak("Usage: pointObj_setXY(self,x,y,m);");
   35653             :     }
   35654           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_pointObj, 0 |  0 );
   35655           0 :     if (!SWIG_IsOK(res1)) {
   35656           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pointObj_setXY" "', argument " "1"" of type '" "pointObj *""'"); 
   35657             :     }
   35658           0 :     arg1 = (pointObj *)(argp1);
   35659           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   35660           0 :     if (!SWIG_IsOK(ecode2)) {
   35661           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "pointObj_setXY" "', argument " "2"" of type '" "double""'");
   35662             :     } 
   35663           0 :     arg2 = (double)(val2);
   35664           0 :     ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
   35665           0 :     if (!SWIG_IsOK(ecode3)) {
   35666           0 :       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "pointObj_setXY" "', argument " "3"" of type '" "double""'");
   35667             :     } 
   35668           0 :     arg3 = (double)(val3);
   35669           0 :     if (items > 3) {
   35670           0 :       ecode4 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
   35671           0 :       if (!SWIG_IsOK(ecode4)) {
   35672           0 :         SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "pointObj_setXY" "', argument " "4"" of type '" "double""'");
   35673             :       } 
   35674             :       arg4 = (double)(val4);
   35675             :     }
   35676             :     result = (int)pointObj_setXY(arg1,arg2,arg3,arg4);
   35677           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   35678             :     
   35679             :     
   35680             :     
   35681             :     
   35682           0 :     XSRETURN(argvi);
   35683           0 :   fail:
   35684             :     
   35685             :     
   35686             :     
   35687             :     
   35688           0 :     SWIG_croak_null();
   35689             :   }
   35690             : }
   35691             : 
   35692             : 
   35693           0 : XS(_wrap_pointObj_setXYZ) {
   35694             :   {
   35695             :     pointObj *arg1 = (pointObj *) 0 ;
   35696             :     double arg2 ;
   35697             :     double arg3 ;
   35698             :     double arg4 ;
   35699             :     double arg5 = (double) -2e38 ;
   35700           0 :     void *argp1 = 0 ;
   35701             :     int res1 = 0 ;
   35702             :     double val2 ;
   35703             :     int ecode2 = 0 ;
   35704             :     double val3 ;
   35705             :     int ecode3 = 0 ;
   35706             :     double val4 ;
   35707             :     int ecode4 = 0 ;
   35708             :     double val5 ;
   35709             :     int ecode5 = 0 ;
   35710             :     int argvi = 0;
   35711             :     int result;
   35712           0 :     dXSARGS;
   35713             :     
   35714           0 :     if ((items < 4) || (items > 5)) {
   35715           0 :       SWIG_croak("Usage: pointObj_setXYZ(self,x,y,z,m);");
   35716             :     }
   35717           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_pointObj, 0 |  0 );
   35718           0 :     if (!SWIG_IsOK(res1)) {
   35719           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pointObj_setXYZ" "', argument " "1"" of type '" "pointObj *""'"); 
   35720             :     }
   35721           0 :     arg1 = (pointObj *)(argp1);
   35722           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   35723           0 :     if (!SWIG_IsOK(ecode2)) {
   35724           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "pointObj_setXYZ" "', argument " "2"" of type '" "double""'");
   35725             :     } 
   35726           0 :     arg2 = (double)(val2);
   35727           0 :     ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
   35728           0 :     if (!SWIG_IsOK(ecode3)) {
   35729           0 :       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "pointObj_setXYZ" "', argument " "3"" of type '" "double""'");
   35730             :     } 
   35731           0 :     arg3 = (double)(val3);
   35732           0 :     ecode4 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
   35733           0 :     if (!SWIG_IsOK(ecode4)) {
   35734           0 :       SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "pointObj_setXYZ" "', argument " "4"" of type '" "double""'");
   35735             :     } 
   35736             :     arg4 = (double)(val4);
   35737           0 :     if (items > 4) {
   35738           0 :       ecode5 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
   35739           0 :       if (!SWIG_IsOK(ecode5)) {
   35740           0 :         SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "pointObj_setXYZ" "', argument " "5"" of type '" "double""'");
   35741             :       } 
   35742             :       arg5 = (double)(val5);
   35743             :     }
   35744             :     result = (int)pointObj_setXYZ(arg1,arg2,arg3,arg4,arg5);
   35745           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   35746             :     
   35747             :     
   35748             :     
   35749             :     
   35750             :     
   35751           0 :     XSRETURN(argvi);
   35752           0 :   fail:
   35753             :     
   35754             :     
   35755             :     
   35756             :     
   35757             :     
   35758           0 :     SWIG_croak_null();
   35759             :   }
   35760             : }
   35761             : 
   35762             : 
   35763           0 : XS(_wrap_pointObj_setXYZM) {
   35764             :   {
   35765             :     pointObj *arg1 = (pointObj *) 0 ;
   35766             :     double arg2 ;
   35767             :     double arg3 ;
   35768             :     double arg4 ;
   35769             :     double arg5 ;
   35770           0 :     void *argp1 = 0 ;
   35771             :     int res1 = 0 ;
   35772             :     double val2 ;
   35773             :     int ecode2 = 0 ;
   35774             :     double val3 ;
   35775             :     int ecode3 = 0 ;
   35776             :     double val4 ;
   35777             :     int ecode4 = 0 ;
   35778             :     double val5 ;
   35779             :     int ecode5 = 0 ;
   35780             :     int argvi = 0;
   35781             :     int result;
   35782           0 :     dXSARGS;
   35783             :     
   35784           0 :     if ((items < 5) || (items > 5)) {
   35785           0 :       SWIG_croak("Usage: pointObj_setXYZM(self,x,y,z,m);");
   35786             :     }
   35787           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_pointObj, 0 |  0 );
   35788           0 :     if (!SWIG_IsOK(res1)) {
   35789           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pointObj_setXYZM" "', argument " "1"" of type '" "pointObj *""'"); 
   35790             :     }
   35791           0 :     arg1 = (pointObj *)(argp1);
   35792           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   35793           0 :     if (!SWIG_IsOK(ecode2)) {
   35794           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "pointObj_setXYZM" "', argument " "2"" of type '" "double""'");
   35795             :     } 
   35796           0 :     arg2 = (double)(val2);
   35797           0 :     ecode3 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
   35798           0 :     if (!SWIG_IsOK(ecode3)) {
   35799           0 :       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "pointObj_setXYZM" "', argument " "3"" of type '" "double""'");
   35800             :     } 
   35801           0 :     arg3 = (double)(val3);
   35802           0 :     ecode4 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
   35803           0 :     if (!SWIG_IsOK(ecode4)) {
   35804           0 :       SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "pointObj_setXYZM" "', argument " "4"" of type '" "double""'");
   35805             :     } 
   35806             :     arg4 = (double)(val4);
   35807           0 :     ecode5 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
   35808           0 :     if (!SWIG_IsOK(ecode5)) {
   35809           0 :       SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "pointObj_setXYZM" "', argument " "5"" of type '" "double""'");
   35810             :     } 
   35811             :     arg5 = (double)(val5);
   35812             :     result = (int)pointObj_setXYZM(arg1,arg2,arg3,arg4,arg5);
   35813           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   35814             :     
   35815             :     
   35816             :     
   35817             :     
   35818             :     
   35819           0 :     XSRETURN(argvi);
   35820           0 :   fail:
   35821             :     
   35822             :     
   35823             :     
   35824             :     
   35825             :     
   35826           0 :     SWIG_croak_null();
   35827             :   }
   35828             : }
   35829             : 
   35830             : 
   35831           0 : XS(_wrap_pointObj_toString) {
   35832             :   {
   35833             :     pointObj *arg1 = (pointObj *) 0 ;
   35834           0 :     void *argp1 = 0 ;
   35835             :     int res1 = 0 ;
   35836             :     int argvi = 0;
   35837             :     char *result = 0 ;
   35838           0 :     dXSARGS;
   35839             :     
   35840           0 :     if ((items < 1) || (items > 1)) {
   35841           0 :       SWIG_croak("Usage: pointObj_toString(self);");
   35842             :     }
   35843           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_pointObj, 0 |  0 );
   35844           0 :     if (!SWIG_IsOK(res1)) {
   35845           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pointObj_toString" "', argument " "1"" of type '" "pointObj *""'"); 
   35846             :     }
   35847           0 :     arg1 = (pointObj *)(argp1);
   35848           0 :     result = (char *)pointObj_toString(arg1);
   35849           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   35850             :     
   35851           0 :     free((char*)result);
   35852           0 :     XSRETURN(argvi);
   35853           0 :   fail:
   35854             :     
   35855           0 :     SWIG_croak_null();
   35856             :   }
   35857             : }
   35858             : 
   35859             : 
   35860           0 : XS(_wrap_pointObj_toShape) {
   35861             :   {
   35862             :     pointObj *arg1 = (pointObj *) 0 ;
   35863           0 :     void *argp1 = 0 ;
   35864             :     int res1 = 0 ;
   35865             :     int argvi = 0;
   35866             :     shapeObj *result = 0 ;
   35867           0 :     dXSARGS;
   35868             :     
   35869           0 :     if ((items < 1) || (items > 1)) {
   35870           0 :       SWIG_croak("Usage: pointObj_toShape(self);");
   35871             :     }
   35872           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_pointObj, 0 |  0 );
   35873           0 :     if (!SWIG_IsOK(res1)) {
   35874           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "pointObj_toShape" "', argument " "1"" of type '" "pointObj *""'"); 
   35875             :     }
   35876           0 :     arg1 = (pointObj *)(argp1);
   35877           0 :     result = (shapeObj *)pointObj_toShape(arg1);
   35878           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_shapeObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   35879             :     
   35880           0 :     XSRETURN(argvi);
   35881           0 :   fail:
   35882             :     
   35883           0 :     SWIG_croak_null();
   35884             :   }
   35885             : }
   35886             : 
   35887             : 
   35888           1 : XS(_wrap_lineObj_numpoints_get) {
   35889             :   {
   35890             :     lineObj *arg1 = (lineObj *) 0 ;
   35891           1 :     void *argp1 = 0 ;
   35892             :     int res1 = 0 ;
   35893             :     int argvi = 0;
   35894             :     int result;
   35895           1 :     dXSARGS;
   35896             :     
   35897           1 :     if ((items < 1) || (items > 1)) {
   35898           0 :       SWIG_croak("Usage: lineObj_numpoints_get(self);");
   35899             :     }
   35900           1 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_lineObj, 0 |  0 );
   35901           1 :     if (!SWIG_IsOK(res1)) {
   35902           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "lineObj_numpoints_get" "', argument " "1"" of type '" "lineObj *""'"); 
   35903             :     }
   35904           1 :     arg1 = (lineObj *)(argp1);
   35905           1 :     result = (int) ((arg1)->numpoints);
   35906           1 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   35907             :     
   35908           1 :     XSRETURN(argvi);
   35909           0 :   fail:
   35910             :     
   35911           0 :     SWIG_croak_null();
   35912             :   }
   35913             : }
   35914             : 
   35915             : 
   35916           1 : XS(_wrap_new_lineObj) {
   35917             :   {
   35918             :     int argvi = 0;
   35919             :     lineObj *result = 0 ;
   35920           1 :     dXSARGS;
   35921             :     
   35922           1 :     if ((items < 0) || (items > 0)) {
   35923           0 :       SWIG_croak("Usage: new_lineObj();");
   35924             :     }
   35925             :     result = (lineObj *)new_lineObj();
   35926           1 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_lineObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   35927           1 :     XSRETURN(argvi);
   35928             :   fail:
   35929           0 :     SWIG_croak_null();
   35930             :   }
   35931             : }
   35932             : 
   35933             : 
   35934           1 : XS(_wrap_delete_lineObj) {
   35935             :   {
   35936             :     lineObj *arg1 = (lineObj *) 0 ;
   35937           1 :     void *argp1 = 0 ;
   35938             :     int res1 = 0 ;
   35939             :     int argvi = 0;
   35940           1 :     dXSARGS;
   35941             :     
   35942           1 :     if ((items < 1) || (items > 1)) {
   35943           0 :       SWIG_croak("Usage: delete_lineObj(self);");
   35944             :     }
   35945           1 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_lineObj, SWIG_POINTER_DISOWN |  0 );
   35946           1 :     if (!SWIG_IsOK(res1)) {
   35947           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_lineObj" "', argument " "1"" of type '" "lineObj *""'"); 
   35948             :     }
   35949           1 :     arg1 = (lineObj *)(argp1);
   35950             :     delete_lineObj(arg1);
   35951           1 :     ST(argvi) = sv_newmortal();
   35952             :     
   35953           1 :     XSRETURN(argvi);
   35954           0 :   fail:
   35955             :     
   35956           0 :     SWIG_croak_null();
   35957             :   }
   35958             : }
   35959             : 
   35960             : 
   35961           0 : XS(_wrap_lineObj_project) {
   35962             :   {
   35963             :     lineObj *arg1 = (lineObj *) 0 ;
   35964             :     projectionObj *arg2 = (projectionObj *) 0 ;
   35965             :     projectionObj *arg3 = (projectionObj *) 0 ;
   35966           0 :     void *argp1 = 0 ;
   35967             :     int res1 = 0 ;
   35968           0 :     void *argp2 = 0 ;
   35969             :     int res2 = 0 ;
   35970           0 :     void *argp3 = 0 ;
   35971             :     int res3 = 0 ;
   35972             :     int argvi = 0;
   35973             :     int result;
   35974           0 :     dXSARGS;
   35975             :     
   35976           0 :     if ((items < 3) || (items > 3)) {
   35977           0 :       SWIG_croak("Usage: lineObj_project(self,projin,projout);");
   35978             :     }
   35979           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_lineObj, 0 |  0 );
   35980           0 :     if (!SWIG_IsOK(res1)) {
   35981           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "lineObj_project" "', argument " "1"" of type '" "lineObj *""'"); 
   35982             :     }
   35983           0 :     arg1 = (lineObj *)(argp1);
   35984           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_projectionObj, 0 |  0 );
   35985           0 :     if (!SWIG_IsOK(res2)) {
   35986           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "lineObj_project" "', argument " "2"" of type '" "projectionObj *""'"); 
   35987             :     }
   35988           0 :     arg2 = (projectionObj *)(argp2);
   35989           0 :     res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_projectionObj, 0 |  0 );
   35990           0 :     if (!SWIG_IsOK(res3)) {
   35991           0 :       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "lineObj_project" "', argument " "3"" of type '" "projectionObj *""'"); 
   35992             :     }
   35993           0 :     arg3 = (projectionObj *)(argp3);
   35994             :     result = (int)lineObj_project(arg1,arg2,arg3);
   35995           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   35996             :     
   35997             :     
   35998             :     
   35999           0 :     XSRETURN(argvi);
   36000           0 :   fail:
   36001             :     
   36002             :     
   36003             :     
   36004           0 :     SWIG_croak_null();
   36005             :   }
   36006             : }
   36007             : 
   36008             : 
   36009           1 : XS(_wrap_lineObj_get) {
   36010             :   {
   36011             :     lineObj *arg1 = (lineObj *) 0 ;
   36012             :     int arg2 ;
   36013           1 :     void *argp1 = 0 ;
   36014             :     int res1 = 0 ;
   36015             :     int val2 ;
   36016             :     int ecode2 = 0 ;
   36017             :     int argvi = 0;
   36018             :     pointObj *result = 0 ;
   36019           1 :     dXSARGS;
   36020             :     
   36021           1 :     if ((items < 2) || (items > 2)) {
   36022           0 :       SWIG_croak("Usage: lineObj_get(self,i);");
   36023             :     }
   36024           1 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_lineObj, 0 |  0 );
   36025           1 :     if (!SWIG_IsOK(res1)) {
   36026           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "lineObj_get" "', argument " "1"" of type '" "lineObj *""'"); 
   36027             :     }
   36028           1 :     arg1 = (lineObj *)(argp1);
   36029           1 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   36030           1 :     if (!SWIG_IsOK(ecode2)) {
   36031           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "lineObj_get" "', argument " "2"" of type '" "int""'");
   36032             :     } 
   36033             :     arg2 = (int)(val2);
   36034             :     result = (pointObj *)lineObj_get(arg1,arg2);
   36035           1 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pointObj, 0 | SWIG_SHADOW); argvi++ ;
   36036             :     
   36037             :     
   36038           1 :     XSRETURN(argvi);
   36039           0 :   fail:
   36040             :     
   36041             :     
   36042           0 :     SWIG_croak_null();
   36043             :   }
   36044             : }
   36045             : 
   36046             : 
   36047           1 : XS(_wrap_lineObj_add) {
   36048             :   {
   36049             :     lineObj *arg1 = (lineObj *) 0 ;
   36050             :     pointObj *arg2 = (pointObj *) 0 ;
   36051           1 :     void *argp1 = 0 ;
   36052             :     int res1 = 0 ;
   36053           1 :     void *argp2 = 0 ;
   36054             :     int res2 = 0 ;
   36055             :     int argvi = 0;
   36056             :     int result;
   36057           1 :     dXSARGS;
   36058             :     
   36059           1 :     if ((items < 2) || (items > 2)) {
   36060           0 :       SWIG_croak("Usage: lineObj_add(self,p);");
   36061             :     }
   36062           1 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_lineObj, 0 |  0 );
   36063           1 :     if (!SWIG_IsOK(res1)) {
   36064           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "lineObj_add" "', argument " "1"" of type '" "lineObj *""'"); 
   36065             :     }
   36066           1 :     arg1 = (lineObj *)(argp1);
   36067           1 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_pointObj, 0 |  0 );
   36068           1 :     if (!SWIG_IsOK(res2)) {
   36069           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "lineObj_add" "', argument " "2"" of type '" "pointObj *""'"); 
   36070             :     }
   36071           1 :     arg2 = (pointObj *)(argp2);
   36072           1 :     result = (int)lineObj_add(arg1,arg2);
   36073           1 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   36074             :     
   36075             :     
   36076           1 :     XSRETURN(argvi);
   36077           0 :   fail:
   36078             :     
   36079             :     
   36080           0 :     SWIG_croak_null();
   36081             :   }
   36082             : }
   36083             : 
   36084             : 
   36085           0 : XS(_wrap_lineObj_set) {
   36086             :   {
   36087             :     lineObj *arg1 = (lineObj *) 0 ;
   36088             :     int arg2 ;
   36089             :     pointObj *arg3 = (pointObj *) 0 ;
   36090           0 :     void *argp1 = 0 ;
   36091             :     int res1 = 0 ;
   36092             :     int val2 ;
   36093             :     int ecode2 = 0 ;
   36094           0 :     void *argp3 = 0 ;
   36095             :     int res3 = 0 ;
   36096             :     int argvi = 0;
   36097             :     int result;
   36098           0 :     dXSARGS;
   36099             :     
   36100           0 :     if ((items < 3) || (items > 3)) {
   36101           0 :       SWIG_croak("Usage: lineObj_set(self,i,p);");
   36102             :     }
   36103           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_lineObj, 0 |  0 );
   36104           0 :     if (!SWIG_IsOK(res1)) {
   36105           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "lineObj_set" "', argument " "1"" of type '" "lineObj *""'"); 
   36106             :     }
   36107           0 :     arg1 = (lineObj *)(argp1);
   36108           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   36109           0 :     if (!SWIG_IsOK(ecode2)) {
   36110           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "lineObj_set" "', argument " "2"" of type '" "int""'");
   36111             :     } 
   36112             :     arg2 = (int)(val2);
   36113           0 :     res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_pointObj, 0 |  0 );
   36114           0 :     if (!SWIG_IsOK(res3)) {
   36115           0 :       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "lineObj_set" "', argument " "3"" of type '" "pointObj *""'"); 
   36116             :     }
   36117           0 :     arg3 = (pointObj *)(argp3);
   36118             :     result = (int)lineObj_set(arg1,arg2,arg3);
   36119           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   36120             :     
   36121             :     
   36122             :     
   36123           0 :     XSRETURN(argvi);
   36124           0 :   fail:
   36125             :     
   36126             :     
   36127             :     
   36128           0 :     SWIG_croak_null();
   36129             :   }
   36130             : }
   36131             : 
   36132             : 
   36133           1 : XS(_wrap_shapeObj_numlines_get) {
   36134             :   {
   36135             :     shapeObj *arg1 = (shapeObj *) 0 ;
   36136           1 :     void *argp1 = 0 ;
   36137             :     int res1 = 0 ;
   36138             :     int argvi = 0;
   36139             :     int result;
   36140           1 :     dXSARGS;
   36141             :     
   36142           1 :     if ((items < 1) || (items > 1)) {
   36143           0 :       SWIG_croak("Usage: shapeObj_numlines_get(self);");
   36144             :     }
   36145           1 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 |  0 );
   36146           1 :     if (!SWIG_IsOK(res1)) {
   36147           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_numlines_get" "', argument " "1"" of type '" "shapeObj *""'"); 
   36148             :     }
   36149           1 :     arg1 = (shapeObj *)(argp1);
   36150           1 :     result = (int) ((arg1)->numlines);
   36151           1 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   36152             :     
   36153           1 :     XSRETURN(argvi);
   36154           0 :   fail:
   36155             :     
   36156           0 :     SWIG_croak_null();
   36157             :   }
   36158             : }
   36159             : 
   36160             : 
   36161           0 : XS(_wrap_shapeObj_numvalues_get) {
   36162             :   {
   36163             :     shapeObj *arg1 = (shapeObj *) 0 ;
   36164           0 :     void *argp1 = 0 ;
   36165             :     int res1 = 0 ;
   36166             :     int argvi = 0;
   36167             :     int result;
   36168           0 :     dXSARGS;
   36169             :     
   36170           0 :     if ((items < 1) || (items > 1)) {
   36171           0 :       SWIG_croak("Usage: shapeObj_numvalues_get(self);");
   36172             :     }
   36173           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 |  0 );
   36174           0 :     if (!SWIG_IsOK(res1)) {
   36175           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_numvalues_get" "', argument " "1"" of type '" "shapeObj *""'"); 
   36176             :     }
   36177           0 :     arg1 = (shapeObj *)(argp1);
   36178           0 :     result = (int) ((arg1)->numvalues);
   36179           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   36180             :     
   36181           0 :     XSRETURN(argvi);
   36182           0 :   fail:
   36183             :     
   36184           0 :     SWIG_croak_null();
   36185             :   }
   36186             : }
   36187             : 
   36188             : 
   36189           0 : XS(_wrap_shapeObj_bounds_set) {
   36190             :   {
   36191             :     shapeObj *arg1 = (shapeObj *) 0 ;
   36192             :     rectObj *arg2 = (rectObj *) 0 ;
   36193           0 :     void *argp1 = 0 ;
   36194             :     int res1 = 0 ;
   36195           0 :     void *argp2 = 0 ;
   36196             :     int res2 = 0 ;
   36197             :     int argvi = 0;
   36198           0 :     dXSARGS;
   36199             :     
   36200           0 :     if ((items < 2) || (items > 2)) {
   36201           0 :       SWIG_croak("Usage: shapeObj_bounds_set(self,bounds);");
   36202             :     }
   36203           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 |  0 );
   36204           0 :     if (!SWIG_IsOK(res1)) {
   36205           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_bounds_set" "', argument " "1"" of type '" "shapeObj *""'"); 
   36206             :     }
   36207           0 :     arg1 = (shapeObj *)(argp1);
   36208           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_rectObj, 0 |  0 );
   36209           0 :     if (!SWIG_IsOK(res2)) {
   36210           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapeObj_bounds_set" "', argument " "2"" of type '" "rectObj *""'"); 
   36211             :     }
   36212           0 :     arg2 = (rectObj *)(argp2);
   36213           0 :     if (arg1) (arg1)->bounds = *arg2;
   36214           0 :     ST(argvi) = sv_newmortal();
   36215             :     
   36216             :     
   36217           0 :     XSRETURN(argvi);
   36218           0 :   fail:
   36219             :     
   36220             :     
   36221           0 :     SWIG_croak_null();
   36222             :   }
   36223             : }
   36224             : 
   36225             : 
   36226           1 : XS(_wrap_shapeObj_bounds_get) {
   36227             :   {
   36228             :     shapeObj *arg1 = (shapeObj *) 0 ;
   36229           1 :     void *argp1 = 0 ;
   36230             :     int res1 = 0 ;
   36231             :     int argvi = 0;
   36232             :     rectObj *result = 0 ;
   36233           1 :     dXSARGS;
   36234             :     
   36235           1 :     if ((items < 1) || (items > 1)) {
   36236           0 :       SWIG_croak("Usage: shapeObj_bounds_get(self);");
   36237             :     }
   36238           1 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 |  0 );
   36239           1 :     if (!SWIG_IsOK(res1)) {
   36240           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_bounds_get" "', argument " "1"" of type '" "shapeObj *""'"); 
   36241             :     }
   36242           1 :     arg1 = (shapeObj *)(argp1);
   36243           1 :     result = (rectObj *)& ((arg1)->bounds);
   36244           1 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_rectObj, 0 | SWIG_SHADOW); argvi++ ;
   36245             :     
   36246           1 :     XSRETURN(argvi);
   36247           0 :   fail:
   36248             :     
   36249           0 :     SWIG_croak_null();
   36250             :   }
   36251             : }
   36252             : 
   36253             : 
   36254           0 : XS(_wrap_shapeObj_type_set) {
   36255             :   {
   36256             :     shapeObj *arg1 = (shapeObj *) 0 ;
   36257             :     int arg2 ;
   36258           0 :     void *argp1 = 0 ;
   36259             :     int res1 = 0 ;
   36260             :     int val2 ;
   36261             :     int ecode2 = 0 ;
   36262             :     int argvi = 0;
   36263           0 :     dXSARGS;
   36264             :     
   36265           0 :     if ((items < 2) || (items > 2)) {
   36266           0 :       SWIG_croak("Usage: shapeObj_type_set(self,type);");
   36267             :     }
   36268           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 |  0 );
   36269           0 :     if (!SWIG_IsOK(res1)) {
   36270           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_type_set" "', argument " "1"" of type '" "shapeObj *""'"); 
   36271             :     }
   36272           0 :     arg1 = (shapeObj *)(argp1);
   36273           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   36274           0 :     if (!SWIG_IsOK(ecode2)) {
   36275           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "shapeObj_type_set" "', argument " "2"" of type '" "int""'");
   36276             :     } 
   36277             :     arg2 = (int)(val2);
   36278           0 :     if (arg1) (arg1)->type = arg2;
   36279           0 :     ST(argvi) = sv_newmortal();
   36280             :     
   36281             :     
   36282           0 :     XSRETURN(argvi);
   36283           0 :   fail:
   36284             :     
   36285             :     
   36286           0 :     SWIG_croak_null();
   36287             :   }
   36288             : }
   36289             : 
   36290             : 
   36291           0 : XS(_wrap_shapeObj_type_get) {
   36292             :   {
   36293             :     shapeObj *arg1 = (shapeObj *) 0 ;
   36294           0 :     void *argp1 = 0 ;
   36295             :     int res1 = 0 ;
   36296             :     int argvi = 0;
   36297             :     int result;
   36298           0 :     dXSARGS;
   36299             :     
   36300           0 :     if ((items < 1) || (items > 1)) {
   36301           0 :       SWIG_croak("Usage: shapeObj_type_get(self);");
   36302             :     }
   36303           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 |  0 );
   36304           0 :     if (!SWIG_IsOK(res1)) {
   36305           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_type_get" "', argument " "1"" of type '" "shapeObj *""'"); 
   36306             :     }
   36307           0 :     arg1 = (shapeObj *)(argp1);
   36308           0 :     result = (int) ((arg1)->type);
   36309           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   36310             :     
   36311           0 :     XSRETURN(argvi);
   36312           0 :   fail:
   36313             :     
   36314           0 :     SWIG_croak_null();
   36315             :   }
   36316             : }
   36317             : 
   36318             : 
   36319           0 : XS(_wrap_shapeObj_index_set) {
   36320             :   {
   36321             :     shapeObj *arg1 = (shapeObj *) 0 ;
   36322             :     long arg2 ;
   36323           0 :     void *argp1 = 0 ;
   36324             :     int res1 = 0 ;
   36325             :     long val2 ;
   36326             :     int ecode2 = 0 ;
   36327             :     int argvi = 0;
   36328           0 :     dXSARGS;
   36329             :     
   36330           0 :     if ((items < 2) || (items > 2)) {
   36331           0 :       SWIG_croak("Usage: shapeObj_index_set(self,index);");
   36332             :     }
   36333           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 |  0 );
   36334           0 :     if (!SWIG_IsOK(res1)) {
   36335           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_index_set" "', argument " "1"" of type '" "shapeObj *""'"); 
   36336             :     }
   36337           0 :     arg1 = (shapeObj *)(argp1);
   36338           0 :     ecode2 = SWIG_AsVal_long SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   36339           0 :     if (!SWIG_IsOK(ecode2)) {
   36340           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "shapeObj_index_set" "', argument " "2"" of type '" "long""'");
   36341             :     } 
   36342           0 :     arg2 = (long)(val2);
   36343           0 :     if (arg1) (arg1)->index = arg2;
   36344           0 :     ST(argvi) = sv_newmortal();
   36345             :     
   36346             :     
   36347           0 :     XSRETURN(argvi);
   36348           0 :   fail:
   36349             :     
   36350             :     
   36351           0 :     SWIG_croak_null();
   36352             :   }
   36353             : }
   36354             : 
   36355             : 
   36356           0 : XS(_wrap_shapeObj_index_get) {
   36357             :   {
   36358             :     shapeObj *arg1 = (shapeObj *) 0 ;
   36359           0 :     void *argp1 = 0 ;
   36360             :     int res1 = 0 ;
   36361             :     int argvi = 0;
   36362             :     long result;
   36363           0 :     dXSARGS;
   36364             :     
   36365           0 :     if ((items < 1) || (items > 1)) {
   36366           0 :       SWIG_croak("Usage: shapeObj_index_get(self);");
   36367             :     }
   36368           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 |  0 );
   36369           0 :     if (!SWIG_IsOK(res1)) {
   36370           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_index_get" "', argument " "1"" of type '" "shapeObj *""'"); 
   36371             :     }
   36372           0 :     arg1 = (shapeObj *)(argp1);
   36373           0 :     result = (long) ((arg1)->index);
   36374           0 :     ST(argvi) = SWIG_From_long  SWIG_PERL_CALL_ARGS_1((long)(result)); argvi++ ;
   36375             :     
   36376           0 :     XSRETURN(argvi);
   36377           0 :   fail:
   36378             :     
   36379           0 :     SWIG_croak_null();
   36380             :   }
   36381             : }
   36382             : 
   36383             : 
   36384           0 : XS(_wrap_shapeObj_tileindex_set) {
   36385             :   {
   36386             :     shapeObj *arg1 = (shapeObj *) 0 ;
   36387             :     int arg2 ;
   36388           0 :     void *argp1 = 0 ;
   36389             :     int res1 = 0 ;
   36390             :     int val2 ;
   36391             :     int ecode2 = 0 ;
   36392             :     int argvi = 0;
   36393           0 :     dXSARGS;
   36394             :     
   36395           0 :     if ((items < 2) || (items > 2)) {
   36396           0 :       SWIG_croak("Usage: shapeObj_tileindex_set(self,tileindex);");
   36397             :     }
   36398           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 |  0 );
   36399           0 :     if (!SWIG_IsOK(res1)) {
   36400           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_tileindex_set" "', argument " "1"" of type '" "shapeObj *""'"); 
   36401             :     }
   36402           0 :     arg1 = (shapeObj *)(argp1);
   36403           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   36404           0 :     if (!SWIG_IsOK(ecode2)) {
   36405           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "shapeObj_tileindex_set" "', argument " "2"" of type '" "int""'");
   36406             :     } 
   36407             :     arg2 = (int)(val2);
   36408           0 :     if (arg1) (arg1)->tileindex = arg2;
   36409           0 :     ST(argvi) = sv_newmortal();
   36410             :     
   36411             :     
   36412           0 :     XSRETURN(argvi);
   36413           0 :   fail:
   36414             :     
   36415             :     
   36416           0 :     SWIG_croak_null();
   36417             :   }
   36418             : }
   36419             : 
   36420             : 
   36421           0 : XS(_wrap_shapeObj_tileindex_get) {
   36422             :   {
   36423             :     shapeObj *arg1 = (shapeObj *) 0 ;
   36424           0 :     void *argp1 = 0 ;
   36425             :     int res1 = 0 ;
   36426             :     int argvi = 0;
   36427             :     int result;
   36428           0 :     dXSARGS;
   36429             :     
   36430           0 :     if ((items < 1) || (items > 1)) {
   36431           0 :       SWIG_croak("Usage: shapeObj_tileindex_get(self);");
   36432             :     }
   36433           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 |  0 );
   36434           0 :     if (!SWIG_IsOK(res1)) {
   36435           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_tileindex_get" "', argument " "1"" of type '" "shapeObj *""'"); 
   36436             :     }
   36437           0 :     arg1 = (shapeObj *)(argp1);
   36438           0 :     result = (int) ((arg1)->tileindex);
   36439           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   36440             :     
   36441           0 :     XSRETURN(argvi);
   36442           0 :   fail:
   36443             :     
   36444           0 :     SWIG_croak_null();
   36445             :   }
   36446             : }
   36447             : 
   36448             : 
   36449           0 : XS(_wrap_shapeObj_classindex_set) {
   36450             :   {
   36451             :     shapeObj *arg1 = (shapeObj *) 0 ;
   36452             :     int arg2 ;
   36453           0 :     void *argp1 = 0 ;
   36454             :     int res1 = 0 ;
   36455             :     int val2 ;
   36456             :     int ecode2 = 0 ;
   36457             :     int argvi = 0;
   36458           0 :     dXSARGS;
   36459             :     
   36460           0 :     if ((items < 2) || (items > 2)) {
   36461           0 :       SWIG_croak("Usage: shapeObj_classindex_set(self,classindex);");
   36462             :     }
   36463           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 |  0 );
   36464           0 :     if (!SWIG_IsOK(res1)) {
   36465           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_classindex_set" "', argument " "1"" of type '" "shapeObj *""'"); 
   36466             :     }
   36467           0 :     arg1 = (shapeObj *)(argp1);
   36468           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   36469           0 :     if (!SWIG_IsOK(ecode2)) {
   36470           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "shapeObj_classindex_set" "', argument " "2"" of type '" "int""'");
   36471             :     } 
   36472             :     arg2 = (int)(val2);
   36473           0 :     if (arg1) (arg1)->classindex = arg2;
   36474           0 :     ST(argvi) = sv_newmortal();
   36475             :     
   36476             :     
   36477           0 :     XSRETURN(argvi);
   36478           0 :   fail:
   36479             :     
   36480             :     
   36481           0 :     SWIG_croak_null();
   36482             :   }
   36483             : }
   36484             : 
   36485             : 
   36486           0 : XS(_wrap_shapeObj_classindex_get) {
   36487             :   {
   36488             :     shapeObj *arg1 = (shapeObj *) 0 ;
   36489           0 :     void *argp1 = 0 ;
   36490             :     int res1 = 0 ;
   36491             :     int argvi = 0;
   36492             :     int result;
   36493           0 :     dXSARGS;
   36494             :     
   36495           0 :     if ((items < 1) || (items > 1)) {
   36496           0 :       SWIG_croak("Usage: shapeObj_classindex_get(self);");
   36497             :     }
   36498           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 |  0 );
   36499           0 :     if (!SWIG_IsOK(res1)) {
   36500           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_classindex_get" "', argument " "1"" of type '" "shapeObj *""'"); 
   36501             :     }
   36502           0 :     arg1 = (shapeObj *)(argp1);
   36503           0 :     result = (int) ((arg1)->classindex);
   36504           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   36505             :     
   36506           0 :     XSRETURN(argvi);
   36507           0 :   fail:
   36508             :     
   36509           0 :     SWIG_croak_null();
   36510             :   }
   36511             : }
   36512             : 
   36513             : 
   36514           0 : XS(_wrap_shapeObj_text_set) {
   36515             :   {
   36516             :     shapeObj *arg1 = (shapeObj *) 0 ;
   36517             :     char *arg2 = (char *) 0 ;
   36518           0 :     void *argp1 = 0 ;
   36519             :     int res1 = 0 ;
   36520             :     int res2 ;
   36521           0 :     char *buf2 = 0 ;
   36522           0 :     int alloc2 = 0 ;
   36523             :     int argvi = 0;
   36524           0 :     dXSARGS;
   36525             :     
   36526           0 :     if ((items < 2) || (items > 2)) {
   36527           0 :       SWIG_croak("Usage: shapeObj_text_set(self,text);");
   36528             :     }
   36529           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 |  0 );
   36530           0 :     if (!SWIG_IsOK(res1)) {
   36531           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_text_set" "', argument " "1"" of type '" "shapeObj *""'"); 
   36532             :     }
   36533           0 :     arg1 = (shapeObj *)(argp1);
   36534           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   36535           0 :     if (!SWIG_IsOK(res2)) {
   36536           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapeObj_text_set" "', argument " "2"" of type '" "char *""'");
   36537             :     }
   36538           0 :     arg2 = (char *)(buf2);
   36539             :     {
   36540           0 :       if (arg1->text) free((char*)arg1->text);
   36541           0 :       if (arg2) {
   36542           0 :         arg1->text = (char *) malloc(strlen(arg2)+1);
   36543             :         strcpy((char*)arg1->text,arg2);
   36544             :       } else {
   36545           0 :         arg1->text = 0;
   36546             :       }
   36547             :     }
   36548           0 :     ST(argvi) = sv_newmortal();
   36549             :     
   36550           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   36551           0 :     XSRETURN(argvi);
   36552           0 :   fail:
   36553             :     
   36554           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   36555           0 :     SWIG_croak_null();
   36556             :   }
   36557             : }
   36558             : 
   36559             : 
   36560           0 : XS(_wrap_shapeObj_text_get) {
   36561             :   {
   36562             :     shapeObj *arg1 = (shapeObj *) 0 ;
   36563           0 :     void *argp1 = 0 ;
   36564             :     int res1 = 0 ;
   36565             :     int argvi = 0;
   36566             :     char *result = 0 ;
   36567           0 :     dXSARGS;
   36568             :     
   36569           0 :     if ((items < 1) || (items > 1)) {
   36570           0 :       SWIG_croak("Usage: shapeObj_text_get(self);");
   36571             :     }
   36572           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 |  0 );
   36573           0 :     if (!SWIG_IsOK(res1)) {
   36574           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_text_get" "', argument " "1"" of type '" "shapeObj *""'"); 
   36575             :     }
   36576           0 :     arg1 = (shapeObj *)(argp1);
   36577           0 :     result = (char *) ((arg1)->text);
   36578           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   36579             :     
   36580           0 :     XSRETURN(argvi);
   36581           0 :   fail:
   36582             :     
   36583           0 :     SWIG_croak_null();
   36584             :   }
   36585             : }
   36586             : 
   36587             : 
   36588           0 : XS(_wrap_shapeObj_scratch_set) {
   36589             :   {
   36590             :     shapeObj *arg1 = (shapeObj *) 0 ;
   36591             :     int arg2 ;
   36592           0 :     void *argp1 = 0 ;
   36593             :     int res1 = 0 ;
   36594             :     int val2 ;
   36595             :     int ecode2 = 0 ;
   36596             :     int argvi = 0;
   36597           0 :     dXSARGS;
   36598             :     
   36599           0 :     if ((items < 2) || (items > 2)) {
   36600           0 :       SWIG_croak("Usage: shapeObj_scratch_set(self,scratch);");
   36601             :     }
   36602           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 |  0 );
   36603           0 :     if (!SWIG_IsOK(res1)) {
   36604           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_scratch_set" "', argument " "1"" of type '" "shapeObj *""'"); 
   36605             :     }
   36606           0 :     arg1 = (shapeObj *)(argp1);
   36607           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   36608           0 :     if (!SWIG_IsOK(ecode2)) {
   36609           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "shapeObj_scratch_set" "', argument " "2"" of type '" "int""'");
   36610             :     } 
   36611             :     arg2 = (int)(val2);
   36612           0 :     if (arg1) (arg1)->scratch = arg2;
   36613           0 :     ST(argvi) = sv_newmortal();
   36614             :     
   36615             :     
   36616           0 :     XSRETURN(argvi);
   36617           0 :   fail:
   36618             :     
   36619             :     
   36620           0 :     SWIG_croak_null();
   36621             :   }
   36622             : }
   36623             : 
   36624             : 
   36625           0 : XS(_wrap_shapeObj_scratch_get) {
   36626             :   {
   36627             :     shapeObj *arg1 = (shapeObj *) 0 ;
   36628           0 :     void *argp1 = 0 ;
   36629             :     int res1 = 0 ;
   36630             :     int argvi = 0;
   36631             :     int result;
   36632           0 :     dXSARGS;
   36633             :     
   36634           0 :     if ((items < 1) || (items > 1)) {
   36635           0 :       SWIG_croak("Usage: shapeObj_scratch_get(self);");
   36636             :     }
   36637           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 |  0 );
   36638           0 :     if (!SWIG_IsOK(res1)) {
   36639           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_scratch_get" "', argument " "1"" of type '" "shapeObj *""'"); 
   36640             :     }
   36641           0 :     arg1 = (shapeObj *)(argp1);
   36642           0 :     result = (int) ((arg1)->scratch);
   36643           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   36644             :     
   36645           0 :     XSRETURN(argvi);
   36646           0 :   fail:
   36647             :     
   36648           0 :     SWIG_croak_null();
   36649             :   }
   36650             : }
   36651             : 
   36652             : 
   36653           0 : XS(_wrap_shapeObj_resultindex_set) {
   36654             :   {
   36655             :     shapeObj *arg1 = (shapeObj *) 0 ;
   36656             :     int arg2 ;
   36657           0 :     void *argp1 = 0 ;
   36658             :     int res1 = 0 ;
   36659             :     int val2 ;
   36660             :     int ecode2 = 0 ;
   36661             :     int argvi = 0;
   36662           0 :     dXSARGS;
   36663             :     
   36664           0 :     if ((items < 2) || (items > 2)) {
   36665           0 :       SWIG_croak("Usage: shapeObj_resultindex_set(self,resultindex);");
   36666             :     }
   36667           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 |  0 );
   36668           0 :     if (!SWIG_IsOK(res1)) {
   36669           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_resultindex_set" "', argument " "1"" of type '" "shapeObj *""'"); 
   36670             :     }
   36671           0 :     arg1 = (shapeObj *)(argp1);
   36672           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   36673           0 :     if (!SWIG_IsOK(ecode2)) {
   36674           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "shapeObj_resultindex_set" "', argument " "2"" of type '" "int""'");
   36675             :     } 
   36676             :     arg2 = (int)(val2);
   36677           0 :     if (arg1) (arg1)->resultindex = arg2;
   36678           0 :     ST(argvi) = sv_newmortal();
   36679             :     
   36680             :     
   36681           0 :     XSRETURN(argvi);
   36682           0 :   fail:
   36683             :     
   36684             :     
   36685           0 :     SWIG_croak_null();
   36686             :   }
   36687             : }
   36688             : 
   36689             : 
   36690           0 : XS(_wrap_shapeObj_resultindex_get) {
   36691             :   {
   36692             :     shapeObj *arg1 = (shapeObj *) 0 ;
   36693           0 :     void *argp1 = 0 ;
   36694             :     int res1 = 0 ;
   36695             :     int argvi = 0;
   36696             :     int result;
   36697           0 :     dXSARGS;
   36698             :     
   36699           0 :     if ((items < 1) || (items > 1)) {
   36700           0 :       SWIG_croak("Usage: shapeObj_resultindex_get(self);");
   36701             :     }
   36702           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 |  0 );
   36703           0 :     if (!SWIG_IsOK(res1)) {
   36704           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_resultindex_get" "', argument " "1"" of type '" "shapeObj *""'"); 
   36705             :     }
   36706           0 :     arg1 = (shapeObj *)(argp1);
   36707           0 :     result = (int) ((arg1)->resultindex);
   36708           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   36709             :     
   36710           0 :     XSRETURN(argvi);
   36711           0 :   fail:
   36712             :     
   36713           0 :     SWIG_croak_null();
   36714             :   }
   36715             : }
   36716             : 
   36717             : 
   36718           1 : XS(_wrap_new_shapeObj) {
   36719             :   {
   36720             :     int arg1 = (int) MS_SHAPE_NULL ;
   36721             :     int val1 ;
   36722             :     int ecode1 = 0 ;
   36723             :     int argvi = 0;
   36724             :     shapeObj *result = 0 ;
   36725           1 :     dXSARGS;
   36726             :     
   36727           1 :     if ((items < 0) || (items > 1)) {
   36728           0 :       SWIG_croak("Usage: new_shapeObj(type);");
   36729             :     }
   36730           1 :     if (items > 0) {
   36731           1 :       ecode1 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
   36732           1 :       if (!SWIG_IsOK(ecode1)) {
   36733           0 :         SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_shapeObj" "', argument " "1"" of type '" "int""'");
   36734             :       } 
   36735             :       arg1 = (int)(val1);
   36736             :     }
   36737           1 :     result = (shapeObj *)new_shapeObj(arg1);
   36738           1 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_shapeObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   36739             :     
   36740           1 :     XSRETURN(argvi);
   36741           0 :   fail:
   36742             :     
   36743           0 :     SWIG_croak_null();
   36744             :   }
   36745             : }
   36746             : 
   36747             : 
   36748           1 : XS(_wrap_delete_shapeObj) {
   36749             :   {
   36750             :     shapeObj *arg1 = (shapeObj *) 0 ;
   36751           1 :     void *argp1 = 0 ;
   36752             :     int res1 = 0 ;
   36753             :     int argvi = 0;
   36754           1 :     dXSARGS;
   36755             :     
   36756           1 :     if ((items < 1) || (items > 1)) {
   36757           0 :       SWIG_croak("Usage: delete_shapeObj(self);");
   36758             :     }
   36759           1 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, SWIG_POINTER_DISOWN |  0 );
   36760           1 :     if (!SWIG_IsOK(res1)) {
   36761           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_shapeObj" "', argument " "1"" of type '" "shapeObj *""'"); 
   36762             :     }
   36763           1 :     arg1 = (shapeObj *)(argp1);
   36764             :     delete_shapeObj(arg1);
   36765           1 :     ST(argvi) = sv_newmortal();
   36766             :     
   36767           1 :     XSRETURN(argvi);
   36768           0 :   fail:
   36769             :     
   36770           0 :     SWIG_croak_null();
   36771             :   }
   36772             : }
   36773             : 
   36774             : 
   36775           1 : XS(_wrap_shapeObj_fromWKT) {
   36776             :   {
   36777             :     char *arg1 = (char *) 0 ;
   36778             :     int res1 ;
   36779           1 :     char *buf1 = 0 ;
   36780           1 :     int alloc1 = 0 ;
   36781             :     int argvi = 0;
   36782             :     shapeObj *result = 0 ;
   36783           1 :     dXSARGS;
   36784             :     
   36785           1 :     if ((items < 1) || (items > 1)) {
   36786           0 :       SWIG_croak("Usage: shapeObj_fromWKT(wkt);");
   36787             :     }
   36788           1 :     res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
   36789           1 :     if (!SWIG_IsOK(res1)) {
   36790           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_fromWKT" "', argument " "1"" of type '" "char *""'");
   36791             :     }
   36792           1 :     arg1 = (char *)(buf1);
   36793             :     result = (shapeObj *)shapeObj_fromWKT(arg1);
   36794           1 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_shapeObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   36795           1 :     if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
   36796           1 :     XSRETURN(argvi);
   36797           0 :   fail:
   36798           0 :     if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
   36799           0 :     SWIG_croak_null();
   36800             :   }
   36801             : }
   36802             : 
   36803             : 
   36804           0 : XS(_wrap_shapeObj_project) {
   36805             :   {
   36806             :     shapeObj *arg1 = (shapeObj *) 0 ;
   36807             :     projectionObj *arg2 = (projectionObj *) 0 ;
   36808             :     projectionObj *arg3 = (projectionObj *) 0 ;
   36809           0 :     void *argp1 = 0 ;
   36810             :     int res1 = 0 ;
   36811           0 :     void *argp2 = 0 ;
   36812             :     int res2 = 0 ;
   36813           0 :     void *argp3 = 0 ;
   36814             :     int res3 = 0 ;
   36815             :     int argvi = 0;
   36816             :     int result;
   36817           0 :     dXSARGS;
   36818             :     
   36819           0 :     if ((items < 3) || (items > 3)) {
   36820           0 :       SWIG_croak("Usage: shapeObj_project(self,projin,projout);");
   36821             :     }
   36822           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 |  0 );
   36823           0 :     if (!SWIG_IsOK(res1)) {
   36824           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_project" "', argument " "1"" of type '" "shapeObj *""'"); 
   36825             :     }
   36826           0 :     arg1 = (shapeObj *)(argp1);
   36827           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_projectionObj, 0 |  0 );
   36828           0 :     if (!SWIG_IsOK(res2)) {
   36829           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapeObj_project" "', argument " "2"" of type '" "projectionObj *""'"); 
   36830             :     }
   36831           0 :     arg2 = (projectionObj *)(argp2);
   36832           0 :     res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_projectionObj, 0 |  0 );
   36833           0 :     if (!SWIG_IsOK(res3)) {
   36834           0 :       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "shapeObj_project" "', argument " "3"" of type '" "projectionObj *""'"); 
   36835             :     }
   36836           0 :     arg3 = (projectionObj *)(argp3);
   36837             :     result = (int)shapeObj_project(arg1,arg2,arg3);
   36838           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   36839             :     
   36840             :     
   36841             :     
   36842           0 :     XSRETURN(argvi);
   36843           0 :   fail:
   36844             :     
   36845             :     
   36846             :     
   36847           0 :     SWIG_croak_null();
   36848             :   }
   36849             : }
   36850             : 
   36851             : 
   36852           1 : XS(_wrap_shapeObj_get) {
   36853             :   {
   36854             :     shapeObj *arg1 = (shapeObj *) 0 ;
   36855             :     int arg2 ;
   36856           1 :     void *argp1 = 0 ;
   36857             :     int res1 = 0 ;
   36858             :     int val2 ;
   36859             :     int ecode2 = 0 ;
   36860             :     int argvi = 0;
   36861             :     lineObj *result = 0 ;
   36862           1 :     dXSARGS;
   36863             :     
   36864           1 :     if ((items < 2) || (items > 2)) {
   36865           0 :       SWIG_croak("Usage: shapeObj_get(self,i);");
   36866             :     }
   36867           1 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 |  0 );
   36868           1 :     if (!SWIG_IsOK(res1)) {
   36869           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_get" "', argument " "1"" of type '" "shapeObj *""'"); 
   36870             :     }
   36871           1 :     arg1 = (shapeObj *)(argp1);
   36872           1 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   36873           1 :     if (!SWIG_IsOK(ecode2)) {
   36874           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "shapeObj_get" "', argument " "2"" of type '" "int""'");
   36875             :     } 
   36876             :     arg2 = (int)(val2);
   36877             :     result = (lineObj *)shapeObj_get(arg1,arg2);
   36878           1 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_lineObj, 0 | SWIG_SHADOW); argvi++ ;
   36879             :     
   36880             :     
   36881           1 :     XSRETURN(argvi);
   36882           0 :   fail:
   36883             :     
   36884             :     
   36885           0 :     SWIG_croak_null();
   36886             :   }
   36887             : }
   36888             : 
   36889             : 
   36890           1 : XS(_wrap_shapeObj_add) {
   36891             :   {
   36892             :     shapeObj *arg1 = (shapeObj *) 0 ;
   36893             :     lineObj *arg2 = (lineObj *) 0 ;
   36894           1 :     void *argp1 = 0 ;
   36895             :     int res1 = 0 ;
   36896           1 :     void *argp2 = 0 ;
   36897             :     int res2 = 0 ;
   36898             :     int argvi = 0;
   36899             :     int result;
   36900           1 :     dXSARGS;
   36901             :     
   36902           1 :     if ((items < 2) || (items > 2)) {
   36903           0 :       SWIG_croak("Usage: shapeObj_add(self,line);");
   36904             :     }
   36905           1 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 |  0 );
   36906           1 :     if (!SWIG_IsOK(res1)) {
   36907           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_add" "', argument " "1"" of type '" "shapeObj *""'"); 
   36908             :     }
   36909           1 :     arg1 = (shapeObj *)(argp1);
   36910           1 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_lineObj, 0 |  0 );
   36911           1 :     if (!SWIG_IsOK(res2)) {
   36912           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapeObj_add" "', argument " "2"" of type '" "lineObj *""'"); 
   36913             :     }
   36914           1 :     arg2 = (lineObj *)(argp2);
   36915             :     result = (int)shapeObj_add(arg1,arg2);
   36916           1 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   36917             :     
   36918             :     
   36919           1 :     XSRETURN(argvi);
   36920           0 :   fail:
   36921             :     
   36922             :     
   36923           0 :     SWIG_croak_null();
   36924             :   }
   36925             : }
   36926             : 
   36927             : 
   36928           0 : XS(_wrap_shapeObj_draw) {
   36929             :   {
   36930             :     shapeObj *arg1 = (shapeObj *) 0 ;
   36931             :     mapObj *arg2 = (mapObj *) 0 ;
   36932             :     layerObj *arg3 = (layerObj *) 0 ;
   36933             :     imageObj *arg4 = (imageObj *) 0 ;
   36934           0 :     void *argp1 = 0 ;
   36935             :     int res1 = 0 ;
   36936           0 :     void *argp2 = 0 ;
   36937             :     int res2 = 0 ;
   36938           0 :     void *argp3 = 0 ;
   36939             :     int res3 = 0 ;
   36940           0 :     void *argp4 = 0 ;
   36941             :     int res4 = 0 ;
   36942             :     int argvi = 0;
   36943             :     int result;
   36944           0 :     dXSARGS;
   36945             :     
   36946           0 :     if ((items < 4) || (items > 4)) {
   36947           0 :       SWIG_croak("Usage: shapeObj_draw(self,map,layer,image);");
   36948             :     }
   36949           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 |  0 );
   36950           0 :     if (!SWIG_IsOK(res1)) {
   36951           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_draw" "', argument " "1"" of type '" "shapeObj *""'"); 
   36952             :     }
   36953           0 :     arg1 = (shapeObj *)(argp1);
   36954           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_mapObj, 0 |  0 );
   36955           0 :     if (!SWIG_IsOK(res2)) {
   36956           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapeObj_draw" "', argument " "2"" of type '" "mapObj *""'"); 
   36957             :     }
   36958           0 :     arg2 = (mapObj *)(argp2);
   36959           0 :     res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_layerObj, 0 |  0 );
   36960           0 :     if (!SWIG_IsOK(res3)) {
   36961           0 :       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "shapeObj_draw" "', argument " "3"" of type '" "layerObj *""'"); 
   36962             :     }
   36963           0 :     arg3 = (layerObj *)(argp3);
   36964           0 :     res4 = SWIG_ConvertPtr(ST(3), &argp4,SWIGTYPE_p_imageObj, 0 |  0 );
   36965           0 :     if (!SWIG_IsOK(res4)) {
   36966           0 :       SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "shapeObj_draw" "', argument " "4"" of type '" "imageObj *""'"); 
   36967             :     }
   36968           0 :     arg4 = (imageObj *)(argp4);
   36969             :     result = (int)shapeObj_draw(arg1,arg2,arg3,arg4);
   36970           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   36971             :     
   36972             :     
   36973             :     
   36974             :     
   36975           0 :     XSRETURN(argvi);
   36976           0 :   fail:
   36977             :     
   36978             :     
   36979             :     
   36980             :     
   36981           0 :     SWIG_croak_null();
   36982             :   }
   36983             : }
   36984             : 
   36985             : 
   36986           0 : XS(_wrap_shapeObj_setBounds) {
   36987             :   {
   36988             :     shapeObj *arg1 = (shapeObj *) 0 ;
   36989           0 :     void *argp1 = 0 ;
   36990             :     int res1 = 0 ;
   36991             :     int argvi = 0;
   36992           0 :     dXSARGS;
   36993             :     
   36994           0 :     if ((items < 1) || (items > 1)) {
   36995           0 :       SWIG_croak("Usage: shapeObj_setBounds(self);");
   36996             :     }
   36997           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 |  0 );
   36998           0 :     if (!SWIG_IsOK(res1)) {
   36999           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_setBounds" "', argument " "1"" of type '" "shapeObj *""'"); 
   37000             :     }
   37001           0 :     arg1 = (shapeObj *)(argp1);
   37002             :     shapeObj_setBounds(arg1);
   37003           0 :     ST(argvi) = sv_newmortal();
   37004             :     
   37005           0 :     XSRETURN(argvi);
   37006           0 :   fail:
   37007             :     
   37008           0 :     SWIG_croak_null();
   37009             :   }
   37010             : }
   37011             : 
   37012             : 
   37013           0 : XS(_wrap_shapeObj_clone) {
   37014             :   {
   37015             :     shapeObj *arg1 = (shapeObj *) 0 ;
   37016           0 :     void *argp1 = 0 ;
   37017             :     int res1 = 0 ;
   37018             :     int argvi = 0;
   37019             :     shapeObj *result = 0 ;
   37020           0 :     dXSARGS;
   37021             :     
   37022           0 :     if ((items < 1) || (items > 1)) {
   37023           0 :       SWIG_croak("Usage: shapeObj_clone(self);");
   37024             :     }
   37025           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 |  0 );
   37026           0 :     if (!SWIG_IsOK(res1)) {
   37027           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_clone" "', argument " "1"" of type '" "shapeObj *""'"); 
   37028             :     }
   37029           0 :     arg1 = (shapeObj *)(argp1);
   37030           0 :     result = (shapeObj *)shapeObj_clone(arg1);
   37031           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_shapeObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   37032             :     
   37033           0 :     XSRETURN(argvi);
   37034           0 :   fail:
   37035             :     
   37036           0 :     SWIG_croak_null();
   37037             :   }
   37038             : }
   37039             : 
   37040             : 
   37041           0 : XS(_wrap_shapeObj_copy) {
   37042             :   {
   37043             :     shapeObj *arg1 = (shapeObj *) 0 ;
   37044             :     shapeObj *arg2 = (shapeObj *) 0 ;
   37045           0 :     void *argp1 = 0 ;
   37046             :     int res1 = 0 ;
   37047           0 :     void *argp2 = 0 ;
   37048             :     int res2 = 0 ;
   37049             :     int argvi = 0;
   37050             :     int result;
   37051           0 :     dXSARGS;
   37052             :     
   37053           0 :     if ((items < 2) || (items > 2)) {
   37054           0 :       SWIG_croak("Usage: shapeObj_copy(self,dest);");
   37055             :     }
   37056           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 |  0 );
   37057           0 :     if (!SWIG_IsOK(res1)) {
   37058           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_copy" "', argument " "1"" of type '" "shapeObj *""'"); 
   37059             :     }
   37060           0 :     arg1 = (shapeObj *)(argp1);
   37061           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_shapeObj, 0 |  0 );
   37062           0 :     if (!SWIG_IsOK(res2)) {
   37063           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapeObj_copy" "', argument " "2"" of type '" "shapeObj *""'"); 
   37064             :     }
   37065           0 :     arg2 = (shapeObj *)(argp2);
   37066             :     result = (int)shapeObj_copy(arg1,arg2);
   37067           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   37068             :     
   37069             :     
   37070           0 :     XSRETURN(argvi);
   37071           0 :   fail:
   37072             :     
   37073             :     
   37074           0 :     SWIG_croak_null();
   37075             :   }
   37076             : }
   37077             : 
   37078             : 
   37079           1 : XS(_wrap_shapeObj_toWKT) {
   37080             :   {
   37081             :     shapeObj *arg1 = (shapeObj *) 0 ;
   37082           1 :     void *argp1 = 0 ;
   37083             :     int res1 = 0 ;
   37084             :     int argvi = 0;
   37085             :     char *result = 0 ;
   37086           1 :     dXSARGS;
   37087             :     
   37088           1 :     if ((items < 1) || (items > 1)) {
   37089           0 :       SWIG_croak("Usage: shapeObj_toWKT(self);");
   37090             :     }
   37091           1 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 |  0 );
   37092           1 :     if (!SWIG_IsOK(res1)) {
   37093           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_toWKT" "', argument " "1"" of type '" "shapeObj *""'"); 
   37094             :     }
   37095           1 :     arg1 = (shapeObj *)(argp1);
   37096             :     result = (char *)shapeObj_toWKT(arg1);
   37097           1 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   37098             :     
   37099           1 :     free((char*)result);
   37100           1 :     XSRETURN(argvi);
   37101           0 :   fail:
   37102             :     
   37103           0 :     SWIG_croak_null();
   37104             :   }
   37105             : }
   37106             : 
   37107             : 
   37108           0 : XS(_wrap_shapeObj_buffer) {
   37109             :   {
   37110             :     shapeObj *arg1 = (shapeObj *) 0 ;
   37111             :     double arg2 ;
   37112           0 :     void *argp1 = 0 ;
   37113             :     int res1 = 0 ;
   37114             :     double val2 ;
   37115             :     int ecode2 = 0 ;
   37116             :     int argvi = 0;
   37117             :     shapeObj *result = 0 ;
   37118           0 :     dXSARGS;
   37119             :     
   37120           0 :     if ((items < 2) || (items > 2)) {
   37121           0 :       SWIG_croak("Usage: shapeObj_buffer(self,width);");
   37122             :     }
   37123           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 |  0 );
   37124           0 :     if (!SWIG_IsOK(res1)) {
   37125           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_buffer" "', argument " "1"" of type '" "shapeObj *""'"); 
   37126             :     }
   37127           0 :     arg1 = (shapeObj *)(argp1);
   37128           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   37129           0 :     if (!SWIG_IsOK(ecode2)) {
   37130           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "shapeObj_buffer" "', argument " "2"" of type '" "double""'");
   37131             :     } 
   37132           0 :     arg2 = (double)(val2);
   37133             :     result = (shapeObj *)shapeObj_buffer(arg1,arg2);
   37134           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_shapeObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   37135             :     
   37136             :     
   37137           0 :     XSRETURN(argvi);
   37138           0 :   fail:
   37139             :     
   37140             :     
   37141           0 :     SWIG_croak_null();
   37142             :   }
   37143             : }
   37144             : 
   37145             : 
   37146           0 : XS(_wrap_shapeObj_simplify) {
   37147             :   {
   37148             :     shapeObj *arg1 = (shapeObj *) 0 ;
   37149             :     double arg2 ;
   37150           0 :     void *argp1 = 0 ;
   37151             :     int res1 = 0 ;
   37152             :     double val2 ;
   37153             :     int ecode2 = 0 ;
   37154             :     int argvi = 0;
   37155             :     shapeObj *result = 0 ;
   37156           0 :     dXSARGS;
   37157             :     
   37158           0 :     if ((items < 2) || (items > 2)) {
   37159           0 :       SWIG_croak("Usage: shapeObj_simplify(self,tolerance);");
   37160             :     }
   37161           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 |  0 );
   37162           0 :     if (!SWIG_IsOK(res1)) {
   37163           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_simplify" "', argument " "1"" of type '" "shapeObj *""'"); 
   37164             :     }
   37165           0 :     arg1 = (shapeObj *)(argp1);
   37166           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   37167           0 :     if (!SWIG_IsOK(ecode2)) {
   37168           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "shapeObj_simplify" "', argument " "2"" of type '" "double""'");
   37169             :     } 
   37170           0 :     arg2 = (double)(val2);
   37171             :     result = (shapeObj *)shapeObj_simplify(arg1,arg2);
   37172           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_shapeObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   37173             :     
   37174             :     
   37175           0 :     XSRETURN(argvi);
   37176           0 :   fail:
   37177             :     
   37178             :     
   37179           0 :     SWIG_croak_null();
   37180             :   }
   37181             : }
   37182             : 
   37183             : 
   37184           0 : XS(_wrap_shapeObj_topologyPreservingSimplify) {
   37185             :   {
   37186             :     shapeObj *arg1 = (shapeObj *) 0 ;
   37187             :     double arg2 ;
   37188           0 :     void *argp1 = 0 ;
   37189             :     int res1 = 0 ;
   37190             :     double val2 ;
   37191             :     int ecode2 = 0 ;
   37192             :     int argvi = 0;
   37193             :     shapeObj *result = 0 ;
   37194           0 :     dXSARGS;
   37195             :     
   37196           0 :     if ((items < 2) || (items > 2)) {
   37197           0 :       SWIG_croak("Usage: shapeObj_topologyPreservingSimplify(self,tolerance);");
   37198             :     }
   37199           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 |  0 );
   37200           0 :     if (!SWIG_IsOK(res1)) {
   37201           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_topologyPreservingSimplify" "', argument " "1"" of type '" "shapeObj *""'"); 
   37202             :     }
   37203           0 :     arg1 = (shapeObj *)(argp1);
   37204           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   37205           0 :     if (!SWIG_IsOK(ecode2)) {
   37206           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "shapeObj_topologyPreservingSimplify" "', argument " "2"" of type '" "double""'");
   37207             :     } 
   37208           0 :     arg2 = (double)(val2);
   37209             :     result = (shapeObj *)shapeObj_topologyPreservingSimplify(arg1,arg2);
   37210           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_shapeObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   37211             :     
   37212             :     
   37213           0 :     XSRETURN(argvi);
   37214           0 :   fail:
   37215             :     
   37216             :     
   37217           0 :     SWIG_croak_null();
   37218             :   }
   37219             : }
   37220             : 
   37221             : 
   37222           0 : XS(_wrap_shapeObj_convexHull) {
   37223             :   {
   37224             :     shapeObj *arg1 = (shapeObj *) 0 ;
   37225           0 :     void *argp1 = 0 ;
   37226             :     int res1 = 0 ;
   37227             :     int argvi = 0;
   37228             :     shapeObj *result = 0 ;
   37229           0 :     dXSARGS;
   37230             :     
   37231           0 :     if ((items < 1) || (items > 1)) {
   37232           0 :       SWIG_croak("Usage: shapeObj_convexHull(self);");
   37233             :     }
   37234           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 |  0 );
   37235           0 :     if (!SWIG_IsOK(res1)) {
   37236           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_convexHull" "', argument " "1"" of type '" "shapeObj *""'"); 
   37237             :     }
   37238           0 :     arg1 = (shapeObj *)(argp1);
   37239             :     result = (shapeObj *)shapeObj_convexHull(arg1);
   37240           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_shapeObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   37241             :     
   37242           0 :     XSRETURN(argvi);
   37243           0 :   fail:
   37244             :     
   37245           0 :     SWIG_croak_null();
   37246             :   }
   37247             : }
   37248             : 
   37249             : 
   37250           0 : XS(_wrap_shapeObj_boundary) {
   37251             :   {
   37252             :     shapeObj *arg1 = (shapeObj *) 0 ;
   37253           0 :     void *argp1 = 0 ;
   37254             :     int res1 = 0 ;
   37255             :     int argvi = 0;
   37256             :     shapeObj *result = 0 ;
   37257           0 :     dXSARGS;
   37258             :     
   37259           0 :     if ((items < 1) || (items > 1)) {
   37260           0 :       SWIG_croak("Usage: shapeObj_boundary(self);");
   37261             :     }
   37262           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 |  0 );
   37263           0 :     if (!SWIG_IsOK(res1)) {
   37264           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_boundary" "', argument " "1"" of type '" "shapeObj *""'"); 
   37265             :     }
   37266           0 :     arg1 = (shapeObj *)(argp1);
   37267             :     result = (shapeObj *)shapeObj_boundary(arg1);
   37268           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_shapeObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   37269             :     
   37270           0 :     XSRETURN(argvi);
   37271           0 :   fail:
   37272             :     
   37273           0 :     SWIG_croak_null();
   37274             :   }
   37275             : }
   37276             : 
   37277             : 
   37278           0 : XS(_wrap_shapeObj_getCentroid) {
   37279             :   {
   37280             :     shapeObj *arg1 = (shapeObj *) 0 ;
   37281           0 :     void *argp1 = 0 ;
   37282             :     int res1 = 0 ;
   37283             :     int argvi = 0;
   37284             :     pointObj *result = 0 ;
   37285           0 :     dXSARGS;
   37286             :     
   37287           0 :     if ((items < 1) || (items > 1)) {
   37288           0 :       SWIG_croak("Usage: shapeObj_getCentroid(self);");
   37289             :     }
   37290           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 |  0 );
   37291           0 :     if (!SWIG_IsOK(res1)) {
   37292           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_getCentroid" "', argument " "1"" of type '" "shapeObj *""'"); 
   37293             :     }
   37294           0 :     arg1 = (shapeObj *)(argp1);
   37295             :     result = (pointObj *)shapeObj_getCentroid(arg1);
   37296           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pointObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   37297             :     
   37298           0 :     XSRETURN(argvi);
   37299           0 :   fail:
   37300             :     
   37301           0 :     SWIG_croak_null();
   37302             :   }
   37303             : }
   37304             : 
   37305             : 
   37306           0 : XS(_wrap_shapeObj_Union) {
   37307             :   {
   37308             :     shapeObj *arg1 = (shapeObj *) 0 ;
   37309             :     shapeObj *arg2 = (shapeObj *) 0 ;
   37310           0 :     void *argp1 = 0 ;
   37311             :     int res1 = 0 ;
   37312           0 :     void *argp2 = 0 ;
   37313             :     int res2 = 0 ;
   37314             :     int argvi = 0;
   37315             :     shapeObj *result = 0 ;
   37316           0 :     dXSARGS;
   37317             :     
   37318           0 :     if ((items < 2) || (items > 2)) {
   37319           0 :       SWIG_croak("Usage: shapeObj_Union(self,shape);");
   37320             :     }
   37321           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 |  0 );
   37322           0 :     if (!SWIG_IsOK(res1)) {
   37323           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_Union" "', argument " "1"" of type '" "shapeObj *""'"); 
   37324             :     }
   37325           0 :     arg1 = (shapeObj *)(argp1);
   37326           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_shapeObj, 0 |  0 );
   37327           0 :     if (!SWIG_IsOK(res2)) {
   37328           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapeObj_Union" "', argument " "2"" of type '" "shapeObj *""'"); 
   37329             :     }
   37330           0 :     arg2 = (shapeObj *)(argp2);
   37331             :     result = (shapeObj *)shapeObj_Union(arg1,arg2);
   37332           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_shapeObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   37333             :     
   37334             :     
   37335           0 :     XSRETURN(argvi);
   37336           0 :   fail:
   37337             :     
   37338             :     
   37339           0 :     SWIG_croak_null();
   37340             :   }
   37341             : }
   37342             : 
   37343             : 
   37344           0 : XS(_wrap_shapeObj_intersection) {
   37345             :   {
   37346             :     shapeObj *arg1 = (shapeObj *) 0 ;
   37347             :     shapeObj *arg2 = (shapeObj *) 0 ;
   37348           0 :     void *argp1 = 0 ;
   37349             :     int res1 = 0 ;
   37350           0 :     void *argp2 = 0 ;
   37351             :     int res2 = 0 ;
   37352             :     int argvi = 0;
   37353             :     shapeObj *result = 0 ;
   37354           0 :     dXSARGS;
   37355             :     
   37356           0 :     if ((items < 2) || (items > 2)) {
   37357           0 :       SWIG_croak("Usage: shapeObj_intersection(self,shape);");
   37358             :     }
   37359           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 |  0 );
   37360           0 :     if (!SWIG_IsOK(res1)) {
   37361           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_intersection" "', argument " "1"" of type '" "shapeObj *""'"); 
   37362             :     }
   37363           0 :     arg1 = (shapeObj *)(argp1);
   37364           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_shapeObj, 0 |  0 );
   37365           0 :     if (!SWIG_IsOK(res2)) {
   37366           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapeObj_intersection" "', argument " "2"" of type '" "shapeObj *""'"); 
   37367             :     }
   37368           0 :     arg2 = (shapeObj *)(argp2);
   37369             :     result = (shapeObj *)shapeObj_intersection(arg1,arg2);
   37370           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_shapeObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   37371             :     
   37372             :     
   37373           0 :     XSRETURN(argvi);
   37374           0 :   fail:
   37375             :     
   37376             :     
   37377           0 :     SWIG_croak_null();
   37378             :   }
   37379             : }
   37380             : 
   37381             : 
   37382           0 : XS(_wrap_shapeObj_difference) {
   37383             :   {
   37384             :     shapeObj *arg1 = (shapeObj *) 0 ;
   37385             :     shapeObj *arg2 = (shapeObj *) 0 ;
   37386           0 :     void *argp1 = 0 ;
   37387             :     int res1 = 0 ;
   37388           0 :     void *argp2 = 0 ;
   37389             :     int res2 = 0 ;
   37390             :     int argvi = 0;
   37391             :     shapeObj *result = 0 ;
   37392           0 :     dXSARGS;
   37393             :     
   37394           0 :     if ((items < 2) || (items > 2)) {
   37395           0 :       SWIG_croak("Usage: shapeObj_difference(self,shape);");
   37396             :     }
   37397           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 |  0 );
   37398           0 :     if (!SWIG_IsOK(res1)) {
   37399           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_difference" "', argument " "1"" of type '" "shapeObj *""'"); 
   37400             :     }
   37401           0 :     arg1 = (shapeObj *)(argp1);
   37402           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_shapeObj, 0 |  0 );
   37403           0 :     if (!SWIG_IsOK(res2)) {
   37404           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapeObj_difference" "', argument " "2"" of type '" "shapeObj *""'"); 
   37405             :     }
   37406           0 :     arg2 = (shapeObj *)(argp2);
   37407             :     result = (shapeObj *)shapeObj_difference(arg1,arg2);
   37408           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_shapeObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   37409             :     
   37410             :     
   37411           0 :     XSRETURN(argvi);
   37412           0 :   fail:
   37413             :     
   37414             :     
   37415           0 :     SWIG_croak_null();
   37416             :   }
   37417             : }
   37418             : 
   37419             : 
   37420           0 : XS(_wrap_shapeObj_symDifference) {
   37421             :   {
   37422             :     shapeObj *arg1 = (shapeObj *) 0 ;
   37423             :     shapeObj *arg2 = (shapeObj *) 0 ;
   37424           0 :     void *argp1 = 0 ;
   37425             :     int res1 = 0 ;
   37426           0 :     void *argp2 = 0 ;
   37427             :     int res2 = 0 ;
   37428             :     int argvi = 0;
   37429             :     shapeObj *result = 0 ;
   37430           0 :     dXSARGS;
   37431             :     
   37432           0 :     if ((items < 2) || (items > 2)) {
   37433           0 :       SWIG_croak("Usage: shapeObj_symDifference(self,shape);");
   37434             :     }
   37435           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 |  0 );
   37436           0 :     if (!SWIG_IsOK(res1)) {
   37437           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_symDifference" "', argument " "1"" of type '" "shapeObj *""'"); 
   37438             :     }
   37439           0 :     arg1 = (shapeObj *)(argp1);
   37440           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_shapeObj, 0 |  0 );
   37441           0 :     if (!SWIG_IsOK(res2)) {
   37442           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapeObj_symDifference" "', argument " "2"" of type '" "shapeObj *""'"); 
   37443             :     }
   37444           0 :     arg2 = (shapeObj *)(argp2);
   37445             :     result = (shapeObj *)shapeObj_symDifference(arg1,arg2);
   37446           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_shapeObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   37447             :     
   37448             :     
   37449           0 :     XSRETURN(argvi);
   37450           0 :   fail:
   37451             :     
   37452             :     
   37453           0 :     SWIG_croak_null();
   37454             :   }
   37455             : }
   37456             : 
   37457             : 
   37458           0 : XS(_wrap_shapeObj_contains__SWIG_0) {
   37459             :   {
   37460             :     shapeObj *arg1 = (shapeObj *) 0 ;
   37461             :     shapeObj *arg2 = (shapeObj *) 0 ;
   37462           0 :     void *argp1 = 0 ;
   37463             :     int res1 = 0 ;
   37464           0 :     void *argp2 = 0 ;
   37465             :     int res2 = 0 ;
   37466             :     int argvi = 0;
   37467             :     int result;
   37468           0 :     dXSARGS;
   37469             :     
   37470           0 :     if ((items < 2) || (items > 2)) {
   37471           0 :       SWIG_croak("Usage: shapeObj_contains(self,shape);");
   37472             :     }
   37473           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 |  0 );
   37474           0 :     if (!SWIG_IsOK(res1)) {
   37475           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_contains" "', argument " "1"" of type '" "shapeObj *""'"); 
   37476             :     }
   37477           0 :     arg1 = (shapeObj *)(argp1);
   37478           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_shapeObj, 0 |  0 );
   37479           0 :     if (!SWIG_IsOK(res2)) {
   37480           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapeObj_contains" "', argument " "2"" of type '" "shapeObj *""'"); 
   37481             :     }
   37482           0 :     arg2 = (shapeObj *)(argp2);
   37483             :     result = (int)shapeObj_contains__SWIG_0(arg1,arg2);
   37484           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   37485             :     
   37486             :     
   37487           0 :     XSRETURN(argvi);
   37488           0 :   fail:
   37489             :     
   37490             :     
   37491           0 :     SWIG_croak_null();
   37492             :   }
   37493             : }
   37494             : 
   37495             : 
   37496           0 : XS(_wrap_shapeObj_overlaps) {
   37497             :   {
   37498             :     shapeObj *arg1 = (shapeObj *) 0 ;
   37499             :     shapeObj *arg2 = (shapeObj *) 0 ;
   37500           0 :     void *argp1 = 0 ;
   37501             :     int res1 = 0 ;
   37502           0 :     void *argp2 = 0 ;
   37503             :     int res2 = 0 ;
   37504             :     int argvi = 0;
   37505             :     int result;
   37506           0 :     dXSARGS;
   37507             :     
   37508           0 :     if ((items < 2) || (items > 2)) {
   37509           0 :       SWIG_croak("Usage: shapeObj_overlaps(self,shape);");
   37510             :     }
   37511           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 |  0 );
   37512           0 :     if (!SWIG_IsOK(res1)) {
   37513           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_overlaps" "', argument " "1"" of type '" "shapeObj *""'"); 
   37514             :     }
   37515           0 :     arg1 = (shapeObj *)(argp1);
   37516           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_shapeObj, 0 |  0 );
   37517           0 :     if (!SWIG_IsOK(res2)) {
   37518           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapeObj_overlaps" "', argument " "2"" of type '" "shapeObj *""'"); 
   37519             :     }
   37520           0 :     arg2 = (shapeObj *)(argp2);
   37521             :     result = (int)shapeObj_overlaps(arg1,arg2);
   37522           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   37523             :     
   37524             :     
   37525           0 :     XSRETURN(argvi);
   37526           0 :   fail:
   37527             :     
   37528             :     
   37529           0 :     SWIG_croak_null();
   37530             :   }
   37531             : }
   37532             : 
   37533             : 
   37534           1 : XS(_wrap_shapeObj_within) {
   37535             :   {
   37536             :     shapeObj *arg1 = (shapeObj *) 0 ;
   37537             :     shapeObj *arg2 = (shapeObj *) 0 ;
   37538           1 :     void *argp1 = 0 ;
   37539             :     int res1 = 0 ;
   37540           1 :     void *argp2 = 0 ;
   37541             :     int res2 = 0 ;
   37542             :     int argvi = 0;
   37543             :     int result;
   37544           1 :     dXSARGS;
   37545             :     
   37546           1 :     if ((items < 2) || (items > 2)) {
   37547           0 :       SWIG_croak("Usage: shapeObj_within(self,shape);");
   37548             :     }
   37549           1 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 |  0 );
   37550           1 :     if (!SWIG_IsOK(res1)) {
   37551           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_within" "', argument " "1"" of type '" "shapeObj *""'"); 
   37552             :     }
   37553           1 :     arg1 = (shapeObj *)(argp1);
   37554           1 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_shapeObj, 0 |  0 );
   37555           1 :     if (!SWIG_IsOK(res2)) {
   37556           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapeObj_within" "', argument " "2"" of type '" "shapeObj *""'"); 
   37557             :     }
   37558           1 :     arg2 = (shapeObj *)(argp2);
   37559             :     result = (int)shapeObj_within(arg1,arg2);
   37560           1 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   37561             :     
   37562             :     
   37563           1 :     XSRETURN(argvi);
   37564           0 :   fail:
   37565             :     
   37566             :     
   37567           0 :     SWIG_croak_null();
   37568             :   }
   37569             : }
   37570             : 
   37571             : 
   37572           0 : XS(_wrap_shapeObj_crosses) {
   37573             :   {
   37574             :     shapeObj *arg1 = (shapeObj *) 0 ;
   37575             :     shapeObj *arg2 = (shapeObj *) 0 ;
   37576           0 :     void *argp1 = 0 ;
   37577             :     int res1 = 0 ;
   37578           0 :     void *argp2 = 0 ;
   37579             :     int res2 = 0 ;
   37580             :     int argvi = 0;
   37581             :     int result;
   37582           0 :     dXSARGS;
   37583             :     
   37584           0 :     if ((items < 2) || (items > 2)) {
   37585           0 :       SWIG_croak("Usage: shapeObj_crosses(self,shape);");
   37586             :     }
   37587           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 |  0 );
   37588           0 :     if (!SWIG_IsOK(res1)) {
   37589           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_crosses" "', argument " "1"" of type '" "shapeObj *""'"); 
   37590             :     }
   37591           0 :     arg1 = (shapeObj *)(argp1);
   37592           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_shapeObj, 0 |  0 );
   37593           0 :     if (!SWIG_IsOK(res2)) {
   37594           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapeObj_crosses" "', argument " "2"" of type '" "shapeObj *""'"); 
   37595             :     }
   37596           0 :     arg2 = (shapeObj *)(argp2);
   37597             :     result = (int)shapeObj_crosses(arg1,arg2);
   37598           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   37599             :     
   37600             :     
   37601           0 :     XSRETURN(argvi);
   37602           0 :   fail:
   37603             :     
   37604             :     
   37605           0 :     SWIG_croak_null();
   37606             :   }
   37607             : }
   37608             : 
   37609             : 
   37610           0 : XS(_wrap_shapeObj_intersects) {
   37611             :   {
   37612             :     shapeObj *arg1 = (shapeObj *) 0 ;
   37613             :     shapeObj *arg2 = (shapeObj *) 0 ;
   37614           0 :     void *argp1 = 0 ;
   37615             :     int res1 = 0 ;
   37616           0 :     void *argp2 = 0 ;
   37617             :     int res2 = 0 ;
   37618             :     int argvi = 0;
   37619             :     int result;
   37620           0 :     dXSARGS;
   37621             :     
   37622           0 :     if ((items < 2) || (items > 2)) {
   37623           0 :       SWIG_croak("Usage: shapeObj_intersects(self,shape);");
   37624             :     }
   37625           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 |  0 );
   37626           0 :     if (!SWIG_IsOK(res1)) {
   37627           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_intersects" "', argument " "1"" of type '" "shapeObj *""'"); 
   37628             :     }
   37629           0 :     arg1 = (shapeObj *)(argp1);
   37630           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_shapeObj, 0 |  0 );
   37631           0 :     if (!SWIG_IsOK(res2)) {
   37632           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapeObj_intersects" "', argument " "2"" of type '" "shapeObj *""'"); 
   37633             :     }
   37634           0 :     arg2 = (shapeObj *)(argp2);
   37635             :     result = (int)shapeObj_intersects(arg1,arg2);
   37636           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   37637             :     
   37638             :     
   37639           0 :     XSRETURN(argvi);
   37640           0 :   fail:
   37641             :     
   37642             :     
   37643           0 :     SWIG_croak_null();
   37644             :   }
   37645             : }
   37646             : 
   37647             : 
   37648           0 : XS(_wrap_shapeObj_touches) {
   37649             :   {
   37650             :     shapeObj *arg1 = (shapeObj *) 0 ;
   37651             :     shapeObj *arg2 = (shapeObj *) 0 ;
   37652           0 :     void *argp1 = 0 ;
   37653             :     int res1 = 0 ;
   37654           0 :     void *argp2 = 0 ;
   37655             :     int res2 = 0 ;
   37656             :     int argvi = 0;
   37657             :     int result;
   37658           0 :     dXSARGS;
   37659             :     
   37660           0 :     if ((items < 2) || (items > 2)) {
   37661           0 :       SWIG_croak("Usage: shapeObj_touches(self,shape);");
   37662             :     }
   37663           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 |  0 );
   37664           0 :     if (!SWIG_IsOK(res1)) {
   37665           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_touches" "', argument " "1"" of type '" "shapeObj *""'"); 
   37666             :     }
   37667           0 :     arg1 = (shapeObj *)(argp1);
   37668           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_shapeObj, 0 |  0 );
   37669           0 :     if (!SWIG_IsOK(res2)) {
   37670           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapeObj_touches" "', argument " "2"" of type '" "shapeObj *""'"); 
   37671             :     }
   37672           0 :     arg2 = (shapeObj *)(argp2);
   37673             :     result = (int)shapeObj_touches(arg1,arg2);
   37674           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   37675             :     
   37676             :     
   37677           0 :     XSRETURN(argvi);
   37678           0 :   fail:
   37679             :     
   37680             :     
   37681           0 :     SWIG_croak_null();
   37682             :   }
   37683             : }
   37684             : 
   37685             : 
   37686           0 : XS(_wrap_shapeObj_equals) {
   37687             :   {
   37688             :     shapeObj *arg1 = (shapeObj *) 0 ;
   37689             :     shapeObj *arg2 = (shapeObj *) 0 ;
   37690           0 :     void *argp1 = 0 ;
   37691             :     int res1 = 0 ;
   37692           0 :     void *argp2 = 0 ;
   37693             :     int res2 = 0 ;
   37694             :     int argvi = 0;
   37695             :     int result;
   37696           0 :     dXSARGS;
   37697             :     
   37698           0 :     if ((items < 2) || (items > 2)) {
   37699           0 :       SWIG_croak("Usage: shapeObj_equals(self,shape);");
   37700             :     }
   37701           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 |  0 );
   37702           0 :     if (!SWIG_IsOK(res1)) {
   37703           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_equals" "', argument " "1"" of type '" "shapeObj *""'"); 
   37704             :     }
   37705           0 :     arg1 = (shapeObj *)(argp1);
   37706           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_shapeObj, 0 |  0 );
   37707           0 :     if (!SWIG_IsOK(res2)) {
   37708           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapeObj_equals" "', argument " "2"" of type '" "shapeObj *""'"); 
   37709             :     }
   37710           0 :     arg2 = (shapeObj *)(argp2);
   37711             :     result = (int)shapeObj_equals(arg1,arg2);
   37712           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   37713             :     
   37714             :     
   37715           0 :     XSRETURN(argvi);
   37716           0 :   fail:
   37717             :     
   37718             :     
   37719           0 :     SWIG_croak_null();
   37720             :   }
   37721             : }
   37722             : 
   37723             : 
   37724           0 : XS(_wrap_shapeObj_disjoint) {
   37725             :   {
   37726             :     shapeObj *arg1 = (shapeObj *) 0 ;
   37727             :     shapeObj *arg2 = (shapeObj *) 0 ;
   37728           0 :     void *argp1 = 0 ;
   37729             :     int res1 = 0 ;
   37730           0 :     void *argp2 = 0 ;
   37731             :     int res2 = 0 ;
   37732             :     int argvi = 0;
   37733             :     int result;
   37734           0 :     dXSARGS;
   37735             :     
   37736           0 :     if ((items < 2) || (items > 2)) {
   37737           0 :       SWIG_croak("Usage: shapeObj_disjoint(self,shape);");
   37738             :     }
   37739           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 |  0 );
   37740           0 :     if (!SWIG_IsOK(res1)) {
   37741           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_disjoint" "', argument " "1"" of type '" "shapeObj *""'"); 
   37742             :     }
   37743           0 :     arg1 = (shapeObj *)(argp1);
   37744           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_shapeObj, 0 |  0 );
   37745           0 :     if (!SWIG_IsOK(res2)) {
   37746           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapeObj_disjoint" "', argument " "2"" of type '" "shapeObj *""'"); 
   37747             :     }
   37748           0 :     arg2 = (shapeObj *)(argp2);
   37749             :     result = (int)shapeObj_disjoint(arg1,arg2);
   37750           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   37751             :     
   37752             :     
   37753           0 :     XSRETURN(argvi);
   37754           0 :   fail:
   37755             :     
   37756             :     
   37757           0 :     SWIG_croak_null();
   37758             :   }
   37759             : }
   37760             : 
   37761             : 
   37762           0 : XS(_wrap_shapeObj_getArea) {
   37763             :   {
   37764             :     shapeObj *arg1 = (shapeObj *) 0 ;
   37765           0 :     void *argp1 = 0 ;
   37766             :     int res1 = 0 ;
   37767             :     int argvi = 0;
   37768             :     double result;
   37769           0 :     dXSARGS;
   37770             :     
   37771           0 :     if ((items < 1) || (items > 1)) {
   37772           0 :       SWIG_croak("Usage: shapeObj_getArea(self);");
   37773             :     }
   37774           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 |  0 );
   37775           0 :     if (!SWIG_IsOK(res1)) {
   37776           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_getArea" "', argument " "1"" of type '" "shapeObj *""'"); 
   37777             :     }
   37778           0 :     arg1 = (shapeObj *)(argp1);
   37779             :     result = (double)shapeObj_getArea(arg1);
   37780           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   37781             :     
   37782           0 :     XSRETURN(argvi);
   37783           0 :   fail:
   37784             :     
   37785           0 :     SWIG_croak_null();
   37786             :   }
   37787             : }
   37788             : 
   37789             : 
   37790           0 : XS(_wrap_shapeObj_getLength) {
   37791             :   {
   37792             :     shapeObj *arg1 = (shapeObj *) 0 ;
   37793           0 :     void *argp1 = 0 ;
   37794             :     int res1 = 0 ;
   37795             :     int argvi = 0;
   37796             :     double result;
   37797           0 :     dXSARGS;
   37798             :     
   37799           0 :     if ((items < 1) || (items > 1)) {
   37800           0 :       SWIG_croak("Usage: shapeObj_getLength(self);");
   37801             :     }
   37802           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 |  0 );
   37803           0 :     if (!SWIG_IsOK(res1)) {
   37804           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_getLength" "', argument " "1"" of type '" "shapeObj *""'"); 
   37805             :     }
   37806           0 :     arg1 = (shapeObj *)(argp1);
   37807             :     result = (double)shapeObj_getLength(arg1);
   37808           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   37809             :     
   37810           0 :     XSRETURN(argvi);
   37811           0 :   fail:
   37812             :     
   37813           0 :     SWIG_croak_null();
   37814             :   }
   37815             : }
   37816             : 
   37817             : 
   37818           0 : XS(_wrap_shapeObj_getValue) {
   37819             :   {
   37820             :     shapeObj *arg1 = (shapeObj *) 0 ;
   37821             :     int arg2 ;
   37822           0 :     void *argp1 = 0 ;
   37823             :     int res1 = 0 ;
   37824             :     int val2 ;
   37825             :     int ecode2 = 0 ;
   37826             :     int argvi = 0;
   37827             :     char *result = 0 ;
   37828           0 :     dXSARGS;
   37829             :     
   37830           0 :     if ((items < 2) || (items > 2)) {
   37831           0 :       SWIG_croak("Usage: shapeObj_getValue(self,i);");
   37832             :     }
   37833           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 |  0 );
   37834           0 :     if (!SWIG_IsOK(res1)) {
   37835           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_getValue" "', argument " "1"" of type '" "shapeObj *""'"); 
   37836             :     }
   37837           0 :     arg1 = (shapeObj *)(argp1);
   37838           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   37839           0 :     if (!SWIG_IsOK(ecode2)) {
   37840           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "shapeObj_getValue" "', argument " "2"" of type '" "int""'");
   37841             :     } 
   37842             :     arg2 = (int)(val2);
   37843             :     result = (char *)shapeObj_getValue(arg1,arg2);
   37844           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   37845             :     
   37846             :     
   37847           0 :     XSRETURN(argvi);
   37848           0 :   fail:
   37849             :     
   37850             :     
   37851           0 :     SWIG_croak_null();
   37852             :   }
   37853             : }
   37854             : 
   37855             : 
   37856           0 : XS(_wrap_shapeObj_contains__SWIG_1) {
   37857             :   {
   37858             :     shapeObj *arg1 = (shapeObj *) 0 ;
   37859             :     pointObj *arg2 = (pointObj *) 0 ;
   37860           0 :     void *argp1 = 0 ;
   37861             :     int res1 = 0 ;
   37862           0 :     void *argp2 = 0 ;
   37863             :     int res2 = 0 ;
   37864             :     int argvi = 0;
   37865             :     int result;
   37866           0 :     dXSARGS;
   37867             :     
   37868           0 :     if ((items < 2) || (items > 2)) {
   37869           0 :       SWIG_croak("Usage: shapeObj_contains(self,point);");
   37870             :     }
   37871           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 |  0 );
   37872           0 :     if (!SWIG_IsOK(res1)) {
   37873           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_contains" "', argument " "1"" of type '" "shapeObj *""'"); 
   37874             :     }
   37875           0 :     arg1 = (shapeObj *)(argp1);
   37876           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_pointObj, 0 |  0 );
   37877           0 :     if (!SWIG_IsOK(res2)) {
   37878           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapeObj_contains" "', argument " "2"" of type '" "pointObj *""'"); 
   37879             :     }
   37880           0 :     arg2 = (pointObj *)(argp2);
   37881             :     result = (int)shapeObj_contains__SWIG_1(arg1,arg2);
   37882           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   37883             :     
   37884             :     
   37885           0 :     XSRETURN(argvi);
   37886           0 :   fail:
   37887             :     
   37888             :     
   37889           0 :     SWIG_croak_null();
   37890             :   }
   37891             : }
   37892             : 
   37893             : 
   37894           0 : XS(_wrap_shapeObj_contains) {
   37895           0 :   dXSARGS;
   37896             :   
   37897             :   {
   37898             :     unsigned long _index = 0;
   37899             :     SWIG_TypeRank _rank = 0; 
   37900           0 :     if (items == 2) {
   37901             :       SWIG_TypeRank _ranki = 0;
   37902             :       SWIG_TypeRank _rankm = 0;
   37903             :       SWIG_TypeRank _pi = 1;
   37904             :       int _v = 0;
   37905             :       {
   37906           0 :         void *vptr = 0;
   37907           0 :         int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_shapeObj, 0);
   37908             :         _v = SWIG_CheckState(res);
   37909             :       }
   37910             :       if (!_v) goto check_1;
   37911           0 :       _ranki += _v*_pi;
   37912             :       _rankm += _pi;
   37913             :       _pi *= SWIG_MAXCASTRANK;
   37914             :       {
   37915           0 :         void *vptr = 0;
   37916           0 :         int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_shapeObj, 0);
   37917             :         _v = SWIG_CheckState(res);
   37918             :       }
   37919             :       if (!_v) goto check_1;
   37920           0 :       _ranki += _v*_pi;
   37921             :       _rankm += _pi;
   37922             :       _pi *= SWIG_MAXCASTRANK;
   37923             :       if (!_index || (_ranki < _rank)) {
   37924             :         _rank = _ranki; _index = 1;
   37925           0 :         if (_rank == _rankm) goto dispatch;
   37926             :       }
   37927             :     }
   37928           0 :   check_1:
   37929             :     
   37930           0 :     if (items == 2) {
   37931             :       SWIG_TypeRank _ranki = 0;
   37932             :       SWIG_TypeRank _rankm = 0;
   37933             :       SWIG_TypeRank _pi = 1;
   37934             :       int _v = 0;
   37935             :       {
   37936           0 :         void *vptr = 0;
   37937           0 :         int res = SWIG_ConvertPtr(ST(0), &vptr, SWIGTYPE_p_shapeObj, 0);
   37938             :         _v = SWIG_CheckState(res);
   37939             :       }
   37940             :       if (!_v) goto check_2;
   37941           0 :       _ranki += _v*_pi;
   37942             :       _rankm += _pi;
   37943             :       _pi *= SWIG_MAXCASTRANK;
   37944             :       {
   37945           0 :         void *vptr = 0;
   37946           0 :         int res = SWIG_ConvertPtr(ST(1), &vptr, SWIGTYPE_p_pointObj, 0);
   37947             :         _v = SWIG_CheckState(res);
   37948             :       }
   37949             :       if (!_v) goto check_2;
   37950           0 :       _ranki += _v*_pi;
   37951             :       _rankm += _pi;
   37952             :       _pi *= SWIG_MAXCASTRANK;
   37953           0 :       if (!_index || (_ranki < _rank)) {
   37954             :         _rank = _ranki; _index = 2;
   37955             :         if (_rank == _rankm) goto dispatch;
   37956             :       }
   37957             :     }
   37958           0 :   check_2:
   37959             :     
   37960           0 :   dispatch:
   37961           0 :     switch(_index) {
   37962           0 :     case 1:
   37963           0 :       PUSHMARK(MARK); SWIG_CALLXS(_wrap_shapeObj_contains__SWIG_0); return;
   37964           0 :     case 2:
   37965           0 :       PUSHMARK(MARK); SWIG_CALLXS(_wrap_shapeObj_contains__SWIG_1); return;
   37966             :     }
   37967             :   }
   37968             :   
   37969           0 :   croak("No matching function for overloaded 'shapeObj_contains'");
   37970             :   XSRETURN(0);
   37971             : }
   37972             : 
   37973             : 
   37974           0 : XS(_wrap_shapeObj_distanceToPoint) {
   37975             :   {
   37976             :     shapeObj *arg1 = (shapeObj *) 0 ;
   37977             :     pointObj *arg2 = (pointObj *) 0 ;
   37978           0 :     void *argp1 = 0 ;
   37979             :     int res1 = 0 ;
   37980           0 :     void *argp2 = 0 ;
   37981             :     int res2 = 0 ;
   37982             :     int argvi = 0;
   37983             :     double result;
   37984           0 :     dXSARGS;
   37985             :     
   37986           0 :     if ((items < 2) || (items > 2)) {
   37987           0 :       SWIG_croak("Usage: shapeObj_distanceToPoint(self,point);");
   37988             :     }
   37989           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 |  0 );
   37990           0 :     if (!SWIG_IsOK(res1)) {
   37991           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_distanceToPoint" "', argument " "1"" of type '" "shapeObj *""'"); 
   37992             :     }
   37993           0 :     arg1 = (shapeObj *)(argp1);
   37994           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_pointObj, 0 |  0 );
   37995           0 :     if (!SWIG_IsOK(res2)) {
   37996           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapeObj_distanceToPoint" "', argument " "2"" of type '" "pointObj *""'"); 
   37997             :     }
   37998           0 :     arg2 = (pointObj *)(argp2);
   37999             :     result = (double)shapeObj_distanceToPoint(arg1,arg2);
   38000           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   38001             :     
   38002             :     
   38003           0 :     XSRETURN(argvi);
   38004           0 :   fail:
   38005             :     
   38006             :     
   38007           0 :     SWIG_croak_null();
   38008             :   }
   38009             : }
   38010             : 
   38011             : 
   38012           0 : XS(_wrap_shapeObj_distanceToShape) {
   38013             :   {
   38014             :     shapeObj *arg1 = (shapeObj *) 0 ;
   38015             :     shapeObj *arg2 = (shapeObj *) 0 ;
   38016           0 :     void *argp1 = 0 ;
   38017             :     int res1 = 0 ;
   38018           0 :     void *argp2 = 0 ;
   38019             :     int res2 = 0 ;
   38020             :     int argvi = 0;
   38021             :     double result;
   38022           0 :     dXSARGS;
   38023             :     
   38024           0 :     if ((items < 2) || (items > 2)) {
   38025           0 :       SWIG_croak("Usage: shapeObj_distanceToShape(self,shape);");
   38026             :     }
   38027           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 |  0 );
   38028           0 :     if (!SWIG_IsOK(res1)) {
   38029           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_distanceToShape" "', argument " "1"" of type '" "shapeObj *""'"); 
   38030             :     }
   38031           0 :     arg1 = (shapeObj *)(argp1);
   38032           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_shapeObj, 0 |  0 );
   38033           0 :     if (!SWIG_IsOK(res2)) {
   38034           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapeObj_distanceToShape" "', argument " "2"" of type '" "shapeObj *""'"); 
   38035             :     }
   38036           0 :     arg2 = (shapeObj *)(argp2);
   38037             :     result = (double)shapeObj_distanceToShape(arg1,arg2);
   38038           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   38039             :     
   38040             :     
   38041           0 :     XSRETURN(argvi);
   38042           0 :   fail:
   38043             :     
   38044             :     
   38045           0 :     SWIG_croak_null();
   38046             :   }
   38047             : }
   38048             : 
   38049             : 
   38050           0 : XS(_wrap_shapeObj_getLabelPoint) {
   38051             :   {
   38052             :     shapeObj *arg1 = (shapeObj *) 0 ;
   38053           0 :     void *argp1 = 0 ;
   38054             :     int res1 = 0 ;
   38055             :     int argvi = 0;
   38056             :     pointObj *result = 0 ;
   38057           0 :     dXSARGS;
   38058             :     
   38059           0 :     if ((items < 1) || (items > 1)) {
   38060           0 :       SWIG_croak("Usage: shapeObj_getLabelPoint(self);");
   38061             :     }
   38062           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 |  0 );
   38063           0 :     if (!SWIG_IsOK(res1)) {
   38064           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_getLabelPoint" "', argument " "1"" of type '" "shapeObj *""'"); 
   38065             :     }
   38066           0 :     arg1 = (shapeObj *)(argp1);
   38067           0 :     result = (pointObj *)shapeObj_getLabelPoint(arg1);
   38068           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_pointObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   38069             :     
   38070           0 :     XSRETURN(argvi);
   38071           0 :   fail:
   38072             :     
   38073           0 :     SWIG_croak_null();
   38074             :   }
   38075             : }
   38076             : 
   38077             : 
   38078           0 : XS(_wrap_shapeObj_setValue) {
   38079             :   {
   38080             :     shapeObj *arg1 = (shapeObj *) 0 ;
   38081             :     int arg2 ;
   38082             :     char *arg3 = (char *) 0 ;
   38083           0 :     void *argp1 = 0 ;
   38084             :     int res1 = 0 ;
   38085             :     int val2 ;
   38086             :     int ecode2 = 0 ;
   38087             :     int res3 ;
   38088           0 :     char *buf3 = 0 ;
   38089           0 :     int alloc3 = 0 ;
   38090             :     int argvi = 0;
   38091             :     int result;
   38092           0 :     dXSARGS;
   38093             :     
   38094           0 :     if ((items < 3) || (items > 3)) {
   38095           0 :       SWIG_croak("Usage: shapeObj_setValue(self,i,value);");
   38096             :     }
   38097           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 |  0 );
   38098           0 :     if (!SWIG_IsOK(res1)) {
   38099           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_setValue" "', argument " "1"" of type '" "shapeObj *""'"); 
   38100             :     }
   38101           0 :     arg1 = (shapeObj *)(argp1);
   38102           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   38103           0 :     if (!SWIG_IsOK(ecode2)) {
   38104           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "shapeObj_setValue" "', argument " "2"" of type '" "int""'");
   38105             :     } 
   38106             :     arg2 = (int)(val2);
   38107           0 :     res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
   38108           0 :     if (!SWIG_IsOK(res3)) {
   38109           0 :       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "shapeObj_setValue" "', argument " "3"" of type '" "char *""'");
   38110             :     }
   38111           0 :     arg3 = (char *)(buf3);
   38112           0 :     result = (int)shapeObj_setValue(arg1,arg2,arg3);
   38113           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   38114             :     
   38115             :     
   38116           0 :     if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
   38117           0 :     XSRETURN(argvi);
   38118           0 :   fail:
   38119             :     
   38120             :     
   38121           0 :     if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
   38122           0 :     SWIG_croak_null();
   38123             :   }
   38124             : }
   38125             : 
   38126             : 
   38127           0 : XS(_wrap_shapeObj_initValues) {
   38128             :   {
   38129             :     shapeObj *arg1 = (shapeObj *) 0 ;
   38130             :     int arg2 ;
   38131           0 :     void *argp1 = 0 ;
   38132             :     int res1 = 0 ;
   38133             :     int val2 ;
   38134             :     int ecode2 = 0 ;
   38135             :     int argvi = 0;
   38136           0 :     dXSARGS;
   38137             :     
   38138           0 :     if ((items < 2) || (items > 2)) {
   38139           0 :       SWIG_croak("Usage: shapeObj_initValues(self,numvalues);");
   38140             :     }
   38141           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapeObj, 0 |  0 );
   38142           0 :     if (!SWIG_IsOK(res1)) {
   38143           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapeObj_initValues" "', argument " "1"" of type '" "shapeObj *""'"); 
   38144             :     }
   38145           0 :     arg1 = (shapeObj *)(argp1);
   38146           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   38147           0 :     if (!SWIG_IsOK(ecode2)) {
   38148           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "shapeObj_initValues" "', argument " "2"" of type '" "int""'");
   38149             :     } 
   38150             :     arg2 = (int)(val2);
   38151           0 :     shapeObj_initValues(arg1,arg2);
   38152           0 :     ST(argvi) = sv_newmortal();
   38153             :     
   38154             :     
   38155           0 :     XSRETURN(argvi);
   38156           0 :   fail:
   38157             :     
   38158             :     
   38159           0 :     SWIG_croak_null();
   38160             :   }
   38161             : }
   38162             : 
   38163             : 
   38164           0 : XS(_wrap_DBFInfo_fp_get) {
   38165             :   {
   38166             :     DBFInfo *arg1 = (DBFInfo *) 0 ;
   38167           0 :     void *argp1 = 0 ;
   38168             :     int res1 = 0 ;
   38169             :     int argvi = 0;
   38170             :     VSILFILE *result = 0 ;
   38171           0 :     dXSARGS;
   38172             :     
   38173           0 :     if ((items < 1) || (items > 1)) {
   38174           0 :       SWIG_croak("Usage: DBFInfo_fp_get(self);");
   38175             :     }
   38176           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_DBFInfo, 0 |  0 );
   38177           0 :     if (!SWIG_IsOK(res1)) {
   38178           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DBFInfo_fp_get" "', argument " "1"" of type '" "DBFInfo *""'"); 
   38179             :     }
   38180           0 :     arg1 = (DBFInfo *)(argp1);
   38181           0 :     result = (VSILFILE *) ((arg1)->fp);
   38182           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_VSILFILE, 0 | 0); argvi++ ;
   38183             :     
   38184           0 :     XSRETURN(argvi);
   38185           0 :   fail:
   38186             :     
   38187           0 :     SWIG_croak_null();
   38188             :   }
   38189             : }
   38190             : 
   38191             : 
   38192           0 : XS(_wrap_DBFInfo_nRecords_get) {
   38193             :   {
   38194             :     DBFInfo *arg1 = (DBFInfo *) 0 ;
   38195           0 :     void *argp1 = 0 ;
   38196             :     int res1 = 0 ;
   38197             :     int argvi = 0;
   38198             :     int result;
   38199           0 :     dXSARGS;
   38200             :     
   38201           0 :     if ((items < 1) || (items > 1)) {
   38202           0 :       SWIG_croak("Usage: DBFInfo_nRecords_get(self);");
   38203             :     }
   38204           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_DBFInfo, 0 |  0 );
   38205           0 :     if (!SWIG_IsOK(res1)) {
   38206           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DBFInfo_nRecords_get" "', argument " "1"" of type '" "DBFInfo *""'"); 
   38207             :     }
   38208           0 :     arg1 = (DBFInfo *)(argp1);
   38209           0 :     result = (int) ((arg1)->nRecords);
   38210           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   38211             :     
   38212           0 :     XSRETURN(argvi);
   38213           0 :   fail:
   38214             :     
   38215           0 :     SWIG_croak_null();
   38216             :   }
   38217             : }
   38218             : 
   38219             : 
   38220           0 : XS(_wrap_DBFInfo_nRecordLength_get) {
   38221             :   {
   38222             :     DBFInfo *arg1 = (DBFInfo *) 0 ;
   38223           0 :     void *argp1 = 0 ;
   38224             :     int res1 = 0 ;
   38225             :     int argvi = 0;
   38226             :     unsigned int result;
   38227           0 :     dXSARGS;
   38228             :     
   38229           0 :     if ((items < 1) || (items > 1)) {
   38230           0 :       SWIG_croak("Usage: DBFInfo_nRecordLength_get(self);");
   38231             :     }
   38232           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_DBFInfo, 0 |  0 );
   38233           0 :     if (!SWIG_IsOK(res1)) {
   38234           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DBFInfo_nRecordLength_get" "', argument " "1"" of type '" "DBFInfo *""'"); 
   38235             :     }
   38236           0 :     arg1 = (DBFInfo *)(argp1);
   38237           0 :     result = (unsigned int) ((arg1)->nRecordLength);
   38238           0 :     ST(argvi) = SWIG_From_unsigned_SS_int  SWIG_PERL_CALL_ARGS_1((unsigned int)(result)); argvi++ ;
   38239             :     
   38240           0 :     XSRETURN(argvi);
   38241           0 :   fail:
   38242             :     
   38243           0 :     SWIG_croak_null();
   38244             :   }
   38245             : }
   38246             : 
   38247             : 
   38248           0 : XS(_wrap_DBFInfo_nHeaderLength_get) {
   38249             :   {
   38250             :     DBFInfo *arg1 = (DBFInfo *) 0 ;
   38251           0 :     void *argp1 = 0 ;
   38252             :     int res1 = 0 ;
   38253             :     int argvi = 0;
   38254             :     int result;
   38255           0 :     dXSARGS;
   38256             :     
   38257           0 :     if ((items < 1) || (items > 1)) {
   38258           0 :       SWIG_croak("Usage: DBFInfo_nHeaderLength_get(self);");
   38259             :     }
   38260           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_DBFInfo, 0 |  0 );
   38261           0 :     if (!SWIG_IsOK(res1)) {
   38262           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DBFInfo_nHeaderLength_get" "', argument " "1"" of type '" "DBFInfo *""'"); 
   38263             :     }
   38264           0 :     arg1 = (DBFInfo *)(argp1);
   38265           0 :     result = (int) ((arg1)->nHeaderLength);
   38266           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   38267             :     
   38268           0 :     XSRETURN(argvi);
   38269           0 :   fail:
   38270             :     
   38271           0 :     SWIG_croak_null();
   38272             :   }
   38273             : }
   38274             : 
   38275             : 
   38276           0 : XS(_wrap_DBFInfo_nFields_get) {
   38277             :   {
   38278             :     DBFInfo *arg1 = (DBFInfo *) 0 ;
   38279           0 :     void *argp1 = 0 ;
   38280             :     int res1 = 0 ;
   38281             :     int argvi = 0;
   38282             :     int result;
   38283           0 :     dXSARGS;
   38284             :     
   38285           0 :     if ((items < 1) || (items > 1)) {
   38286           0 :       SWIG_croak("Usage: DBFInfo_nFields_get(self);");
   38287             :     }
   38288           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_DBFInfo, 0 |  0 );
   38289           0 :     if (!SWIG_IsOK(res1)) {
   38290           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DBFInfo_nFields_get" "', argument " "1"" of type '" "DBFInfo *""'"); 
   38291             :     }
   38292           0 :     arg1 = (DBFInfo *)(argp1);
   38293           0 :     result = (int) ((arg1)->nFields);
   38294           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   38295             :     
   38296           0 :     XSRETURN(argvi);
   38297           0 :   fail:
   38298             :     
   38299           0 :     SWIG_croak_null();
   38300             :   }
   38301             : }
   38302             : 
   38303             : 
   38304           0 : XS(_wrap_DBFInfo_panFieldOffset_get) {
   38305             :   {
   38306             :     DBFInfo *arg1 = (DBFInfo *) 0 ;
   38307           0 :     void *argp1 = 0 ;
   38308             :     int res1 = 0 ;
   38309             :     int argvi = 0;
   38310             :     int *result = 0 ;
   38311           0 :     dXSARGS;
   38312             :     
   38313           0 :     if ((items < 1) || (items > 1)) {
   38314           0 :       SWIG_croak("Usage: DBFInfo_panFieldOffset_get(self);");
   38315             :     }
   38316           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_DBFInfo, 0 |  0 );
   38317           0 :     if (!SWIG_IsOK(res1)) {
   38318           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DBFInfo_panFieldOffset_get" "', argument " "1"" of type '" "DBFInfo *""'"); 
   38319             :     }
   38320           0 :     arg1 = (DBFInfo *)(argp1);
   38321           0 :     result = (int *) ((arg1)->panFieldOffset);
   38322           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int, 0 | 0); argvi++ ;
   38323             :     
   38324           0 :     XSRETURN(argvi);
   38325           0 :   fail:
   38326             :     
   38327           0 :     SWIG_croak_null();
   38328             :   }
   38329             : }
   38330             : 
   38331             : 
   38332           0 : XS(_wrap_DBFInfo_panFieldSize_get) {
   38333             :   {
   38334             :     DBFInfo *arg1 = (DBFInfo *) 0 ;
   38335           0 :     void *argp1 = 0 ;
   38336             :     int res1 = 0 ;
   38337             :     int argvi = 0;
   38338             :     int *result = 0 ;
   38339           0 :     dXSARGS;
   38340             :     
   38341           0 :     if ((items < 1) || (items > 1)) {
   38342           0 :       SWIG_croak("Usage: DBFInfo_panFieldSize_get(self);");
   38343             :     }
   38344           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_DBFInfo, 0 |  0 );
   38345           0 :     if (!SWIG_IsOK(res1)) {
   38346           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DBFInfo_panFieldSize_get" "', argument " "1"" of type '" "DBFInfo *""'"); 
   38347             :     }
   38348           0 :     arg1 = (DBFInfo *)(argp1);
   38349           0 :     result = (int *) ((arg1)->panFieldSize);
   38350           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int, 0 | 0); argvi++ ;
   38351             :     
   38352           0 :     XSRETURN(argvi);
   38353           0 :   fail:
   38354             :     
   38355           0 :     SWIG_croak_null();
   38356             :   }
   38357             : }
   38358             : 
   38359             : 
   38360           0 : XS(_wrap_DBFInfo_panFieldDecimals_get) {
   38361             :   {
   38362             :     DBFInfo *arg1 = (DBFInfo *) 0 ;
   38363           0 :     void *argp1 = 0 ;
   38364             :     int res1 = 0 ;
   38365             :     int argvi = 0;
   38366             :     int *result = 0 ;
   38367           0 :     dXSARGS;
   38368             :     
   38369           0 :     if ((items < 1) || (items > 1)) {
   38370           0 :       SWIG_croak("Usage: DBFInfo_panFieldDecimals_get(self);");
   38371             :     }
   38372           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_DBFInfo, 0 |  0 );
   38373           0 :     if (!SWIG_IsOK(res1)) {
   38374           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DBFInfo_panFieldDecimals_get" "', argument " "1"" of type '" "DBFInfo *""'"); 
   38375             :     }
   38376           0 :     arg1 = (DBFInfo *)(argp1);
   38377           0 :     result = (int *) ((arg1)->panFieldDecimals);
   38378           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_int, 0 | 0); argvi++ ;
   38379             :     
   38380           0 :     XSRETURN(argvi);
   38381           0 :   fail:
   38382             :     
   38383           0 :     SWIG_croak_null();
   38384             :   }
   38385             : }
   38386             : 
   38387             : 
   38388           0 : XS(_wrap_DBFInfo_pachFieldType_get) {
   38389             :   {
   38390             :     DBFInfo *arg1 = (DBFInfo *) 0 ;
   38391           0 :     void *argp1 = 0 ;
   38392             :     int res1 = 0 ;
   38393             :     int argvi = 0;
   38394             :     char *result = 0 ;
   38395           0 :     dXSARGS;
   38396             :     
   38397           0 :     if ((items < 1) || (items > 1)) {
   38398           0 :       SWIG_croak("Usage: DBFInfo_pachFieldType_get(self);");
   38399             :     }
   38400           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_DBFInfo, 0 |  0 );
   38401           0 :     if (!SWIG_IsOK(res1)) {
   38402           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DBFInfo_pachFieldType_get" "', argument " "1"" of type '" "DBFInfo *""'"); 
   38403             :     }
   38404           0 :     arg1 = (DBFInfo *)(argp1);
   38405           0 :     result = (char *) ((arg1)->pachFieldType);
   38406           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   38407             :     
   38408           0 :     XSRETURN(argvi);
   38409           0 :   fail:
   38410             :     
   38411           0 :     SWIG_croak_null();
   38412             :   }
   38413             : }
   38414             : 
   38415             : 
   38416           0 : XS(_wrap_DBFInfo_pszHeader_get) {
   38417             :   {
   38418             :     DBFInfo *arg1 = (DBFInfo *) 0 ;
   38419           0 :     void *argp1 = 0 ;
   38420             :     int res1 = 0 ;
   38421             :     int argvi = 0;
   38422             :     char *result = 0 ;
   38423           0 :     dXSARGS;
   38424             :     
   38425           0 :     if ((items < 1) || (items > 1)) {
   38426           0 :       SWIG_croak("Usage: DBFInfo_pszHeader_get(self);");
   38427             :     }
   38428           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_DBFInfo, 0 |  0 );
   38429           0 :     if (!SWIG_IsOK(res1)) {
   38430           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DBFInfo_pszHeader_get" "', argument " "1"" of type '" "DBFInfo *""'"); 
   38431             :     }
   38432           0 :     arg1 = (DBFInfo *)(argp1);
   38433           0 :     result = (char *) ((arg1)->pszHeader);
   38434           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   38435             :     
   38436           0 :     XSRETURN(argvi);
   38437           0 :   fail:
   38438             :     
   38439           0 :     SWIG_croak_null();
   38440             :   }
   38441             : }
   38442             : 
   38443             : 
   38444           0 : XS(_wrap_DBFInfo_nCurrentRecord_get) {
   38445             :   {
   38446             :     DBFInfo *arg1 = (DBFInfo *) 0 ;
   38447           0 :     void *argp1 = 0 ;
   38448             :     int res1 = 0 ;
   38449             :     int argvi = 0;
   38450             :     int result;
   38451           0 :     dXSARGS;
   38452             :     
   38453           0 :     if ((items < 1) || (items > 1)) {
   38454           0 :       SWIG_croak("Usage: DBFInfo_nCurrentRecord_get(self);");
   38455             :     }
   38456           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_DBFInfo, 0 |  0 );
   38457           0 :     if (!SWIG_IsOK(res1)) {
   38458           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DBFInfo_nCurrentRecord_get" "', argument " "1"" of type '" "DBFInfo *""'"); 
   38459             :     }
   38460           0 :     arg1 = (DBFInfo *)(argp1);
   38461           0 :     result = (int) ((arg1)->nCurrentRecord);
   38462           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   38463             :     
   38464           0 :     XSRETURN(argvi);
   38465           0 :   fail:
   38466             :     
   38467           0 :     SWIG_croak_null();
   38468             :   }
   38469             : }
   38470             : 
   38471             : 
   38472           0 : XS(_wrap_DBFInfo_bCurrentRecordModified_get) {
   38473             :   {
   38474             :     DBFInfo *arg1 = (DBFInfo *) 0 ;
   38475           0 :     void *argp1 = 0 ;
   38476             :     int res1 = 0 ;
   38477             :     int argvi = 0;
   38478             :     int result;
   38479           0 :     dXSARGS;
   38480             :     
   38481           0 :     if ((items < 1) || (items > 1)) {
   38482           0 :       SWIG_croak("Usage: DBFInfo_bCurrentRecordModified_get(self);");
   38483             :     }
   38484           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_DBFInfo, 0 |  0 );
   38485           0 :     if (!SWIG_IsOK(res1)) {
   38486           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DBFInfo_bCurrentRecordModified_get" "', argument " "1"" of type '" "DBFInfo *""'"); 
   38487             :     }
   38488           0 :     arg1 = (DBFInfo *)(argp1);
   38489           0 :     result = (int) ((arg1)->bCurrentRecordModified);
   38490           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   38491             :     
   38492           0 :     XSRETURN(argvi);
   38493           0 :   fail:
   38494             :     
   38495           0 :     SWIG_croak_null();
   38496             :   }
   38497             : }
   38498             : 
   38499             : 
   38500           0 : XS(_wrap_DBFInfo_pszCurrentRecord_get) {
   38501             :   {
   38502             :     DBFInfo *arg1 = (DBFInfo *) 0 ;
   38503           0 :     void *argp1 = 0 ;
   38504             :     int res1 = 0 ;
   38505             :     int argvi = 0;
   38506             :     char *result = 0 ;
   38507           0 :     dXSARGS;
   38508             :     
   38509           0 :     if ((items < 1) || (items > 1)) {
   38510           0 :       SWIG_croak("Usage: DBFInfo_pszCurrentRecord_get(self);");
   38511             :     }
   38512           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_DBFInfo, 0 |  0 );
   38513           0 :     if (!SWIG_IsOK(res1)) {
   38514           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DBFInfo_pszCurrentRecord_get" "', argument " "1"" of type '" "DBFInfo *""'"); 
   38515             :     }
   38516           0 :     arg1 = (DBFInfo *)(argp1);
   38517           0 :     result = (char *) ((arg1)->pszCurrentRecord);
   38518           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   38519             :     
   38520           0 :     XSRETURN(argvi);
   38521           0 :   fail:
   38522             :     
   38523           0 :     SWIG_croak_null();
   38524             :   }
   38525             : }
   38526             : 
   38527             : 
   38528           0 : XS(_wrap_DBFInfo_bNoHeader_get) {
   38529             :   {
   38530             :     DBFInfo *arg1 = (DBFInfo *) 0 ;
   38531           0 :     void *argp1 = 0 ;
   38532             :     int res1 = 0 ;
   38533             :     int argvi = 0;
   38534             :     int result;
   38535           0 :     dXSARGS;
   38536             :     
   38537           0 :     if ((items < 1) || (items > 1)) {
   38538           0 :       SWIG_croak("Usage: DBFInfo_bNoHeader_get(self);");
   38539             :     }
   38540           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_DBFInfo, 0 |  0 );
   38541           0 :     if (!SWIG_IsOK(res1)) {
   38542           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DBFInfo_bNoHeader_get" "', argument " "1"" of type '" "DBFInfo *""'"); 
   38543             :     }
   38544           0 :     arg1 = (DBFInfo *)(argp1);
   38545           0 :     result = (int) ((arg1)->bNoHeader);
   38546           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   38547             :     
   38548           0 :     XSRETURN(argvi);
   38549           0 :   fail:
   38550             :     
   38551           0 :     SWIG_croak_null();
   38552             :   }
   38553             : }
   38554             : 
   38555             : 
   38556           0 : XS(_wrap_DBFInfo_bUpdated_get) {
   38557             :   {
   38558             :     DBFInfo *arg1 = (DBFInfo *) 0 ;
   38559           0 :     void *argp1 = 0 ;
   38560             :     int res1 = 0 ;
   38561             :     int argvi = 0;
   38562             :     int result;
   38563           0 :     dXSARGS;
   38564             :     
   38565           0 :     if ((items < 1) || (items > 1)) {
   38566           0 :       SWIG_croak("Usage: DBFInfo_bUpdated_get(self);");
   38567             :     }
   38568           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_DBFInfo, 0 |  0 );
   38569           0 :     if (!SWIG_IsOK(res1)) {
   38570           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DBFInfo_bUpdated_get" "', argument " "1"" of type '" "DBFInfo *""'"); 
   38571             :     }
   38572           0 :     arg1 = (DBFInfo *)(argp1);
   38573           0 :     result = (int) ((arg1)->bUpdated);
   38574           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   38575             :     
   38576           0 :     XSRETURN(argvi);
   38577           0 :   fail:
   38578             :     
   38579           0 :     SWIG_croak_null();
   38580             :   }
   38581             : }
   38582             : 
   38583             : 
   38584           0 : XS(_wrap_DBFInfo_pszStringField_get) {
   38585             :   {
   38586             :     DBFInfo *arg1 = (DBFInfo *) 0 ;
   38587           0 :     void *argp1 = 0 ;
   38588             :     int res1 = 0 ;
   38589             :     int argvi = 0;
   38590             :     char *result = 0 ;
   38591           0 :     dXSARGS;
   38592             :     
   38593           0 :     if ((items < 1) || (items > 1)) {
   38594           0 :       SWIG_croak("Usage: DBFInfo_pszStringField_get(self);");
   38595             :     }
   38596           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_DBFInfo, 0 |  0 );
   38597           0 :     if (!SWIG_IsOK(res1)) {
   38598           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DBFInfo_pszStringField_get" "', argument " "1"" of type '" "DBFInfo *""'"); 
   38599             :     }
   38600           0 :     arg1 = (DBFInfo *)(argp1);
   38601           0 :     result = (char *) ((arg1)->pszStringField);
   38602           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   38603             :     
   38604           0 :     XSRETURN(argvi);
   38605           0 :   fail:
   38606             :     
   38607           0 :     SWIG_croak_null();
   38608             :   }
   38609             : }
   38610             : 
   38611             : 
   38612           0 : XS(_wrap_DBFInfo_nStringFieldLen_get) {
   38613             :   {
   38614             :     DBFInfo *arg1 = (DBFInfo *) 0 ;
   38615           0 :     void *argp1 = 0 ;
   38616             :     int res1 = 0 ;
   38617             :     int argvi = 0;
   38618             :     int result;
   38619           0 :     dXSARGS;
   38620             :     
   38621           0 :     if ((items < 1) || (items > 1)) {
   38622           0 :       SWIG_croak("Usage: DBFInfo_nStringFieldLen_get(self);");
   38623             :     }
   38624           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_DBFInfo, 0 |  0 );
   38625           0 :     if (!SWIG_IsOK(res1)) {
   38626           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DBFInfo_nStringFieldLen_get" "', argument " "1"" of type '" "DBFInfo *""'"); 
   38627             :     }
   38628           0 :     arg1 = (DBFInfo *)(argp1);
   38629           0 :     result = (int) ((arg1)->nStringFieldLen);
   38630           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   38631             :     
   38632           0 :     XSRETURN(argvi);
   38633           0 :   fail:
   38634             :     
   38635           0 :     SWIG_croak_null();
   38636             :   }
   38637             : }
   38638             : 
   38639             : 
   38640           0 : XS(_wrap_DBFInfo_getFieldName) {
   38641             :   {
   38642             :     DBFInfo *arg1 = (DBFInfo *) 0 ;
   38643             :     int arg2 ;
   38644           0 :     void *argp1 = 0 ;
   38645             :     int res1 = 0 ;
   38646             :     int val2 ;
   38647             :     int ecode2 = 0 ;
   38648             :     int argvi = 0;
   38649             :     char *result = 0 ;
   38650           0 :     dXSARGS;
   38651             :     
   38652           0 :     if ((items < 2) || (items > 2)) {
   38653           0 :       SWIG_croak("Usage: DBFInfo_getFieldName(self,iField);");
   38654             :     }
   38655           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_DBFInfo, 0 |  0 );
   38656           0 :     if (!SWIG_IsOK(res1)) {
   38657           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DBFInfo_getFieldName" "', argument " "1"" of type '" "DBFInfo *""'"); 
   38658             :     }
   38659           0 :     arg1 = (DBFInfo *)(argp1);
   38660           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   38661           0 :     if (!SWIG_IsOK(ecode2)) {
   38662           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DBFInfo_getFieldName" "', argument " "2"" of type '" "int""'");
   38663             :     } 
   38664             :     arg2 = (int)(val2);
   38665             :     result = (char *)DBFInfo_getFieldName(arg1,arg2);
   38666           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   38667             :     
   38668             :     
   38669           0 :     XSRETURN(argvi);
   38670           0 :   fail:
   38671             :     
   38672             :     
   38673           0 :     SWIG_croak_null();
   38674             :   }
   38675             : }
   38676             : 
   38677             : 
   38678           0 : XS(_wrap_DBFInfo_getFieldWidth) {
   38679             :   {
   38680             :     DBFInfo *arg1 = (DBFInfo *) 0 ;
   38681             :     int arg2 ;
   38682           0 :     void *argp1 = 0 ;
   38683             :     int res1 = 0 ;
   38684             :     int val2 ;
   38685             :     int ecode2 = 0 ;
   38686             :     int argvi = 0;
   38687             :     int result;
   38688           0 :     dXSARGS;
   38689             :     
   38690           0 :     if ((items < 2) || (items > 2)) {
   38691           0 :       SWIG_croak("Usage: DBFInfo_getFieldWidth(self,iField);");
   38692             :     }
   38693           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_DBFInfo, 0 |  0 );
   38694           0 :     if (!SWIG_IsOK(res1)) {
   38695           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DBFInfo_getFieldWidth" "', argument " "1"" of type '" "DBFInfo *""'"); 
   38696             :     }
   38697           0 :     arg1 = (DBFInfo *)(argp1);
   38698           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   38699           0 :     if (!SWIG_IsOK(ecode2)) {
   38700           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DBFInfo_getFieldWidth" "', argument " "2"" of type '" "int""'");
   38701             :     } 
   38702             :     arg2 = (int)(val2);
   38703           0 :     result = (int)DBFInfo_getFieldWidth(arg1,arg2);
   38704           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   38705             :     
   38706             :     
   38707           0 :     XSRETURN(argvi);
   38708           0 :   fail:
   38709             :     
   38710             :     
   38711           0 :     SWIG_croak_null();
   38712             :   }
   38713             : }
   38714             : 
   38715             : 
   38716           0 : XS(_wrap_DBFInfo_getFieldDecimals) {
   38717             :   {
   38718             :     DBFInfo *arg1 = (DBFInfo *) 0 ;
   38719             :     int arg2 ;
   38720           0 :     void *argp1 = 0 ;
   38721             :     int res1 = 0 ;
   38722             :     int val2 ;
   38723             :     int ecode2 = 0 ;
   38724             :     int argvi = 0;
   38725             :     int result;
   38726           0 :     dXSARGS;
   38727             :     
   38728           0 :     if ((items < 2) || (items > 2)) {
   38729           0 :       SWIG_croak("Usage: DBFInfo_getFieldDecimals(self,iField);");
   38730             :     }
   38731           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_DBFInfo, 0 |  0 );
   38732           0 :     if (!SWIG_IsOK(res1)) {
   38733           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DBFInfo_getFieldDecimals" "', argument " "1"" of type '" "DBFInfo *""'"); 
   38734             :     }
   38735           0 :     arg1 = (DBFInfo *)(argp1);
   38736           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   38737           0 :     if (!SWIG_IsOK(ecode2)) {
   38738           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DBFInfo_getFieldDecimals" "', argument " "2"" of type '" "int""'");
   38739             :     } 
   38740             :     arg2 = (int)(val2);
   38741           0 :     result = (int)DBFInfo_getFieldDecimals(arg1,arg2);
   38742           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   38743             :     
   38744             :     
   38745           0 :     XSRETURN(argvi);
   38746           0 :   fail:
   38747             :     
   38748             :     
   38749           0 :     SWIG_croak_null();
   38750             :   }
   38751             : }
   38752             : 
   38753             : 
   38754           0 : XS(_wrap_DBFInfo_getFieldType) {
   38755             :   {
   38756             :     DBFInfo *arg1 = (DBFInfo *) 0 ;
   38757             :     int arg2 ;
   38758           0 :     void *argp1 = 0 ;
   38759             :     int res1 = 0 ;
   38760             :     int val2 ;
   38761             :     int ecode2 = 0 ;
   38762             :     int argvi = 0;
   38763             :     int result;
   38764           0 :     dXSARGS;
   38765             :     
   38766           0 :     if ((items < 2) || (items > 2)) {
   38767           0 :       SWIG_croak("Usage: DBFInfo_getFieldType(self,iField);");
   38768             :     }
   38769           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_DBFInfo, 0 |  0 );
   38770           0 :     if (!SWIG_IsOK(res1)) {
   38771           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DBFInfo_getFieldType" "', argument " "1"" of type '" "DBFInfo *""'"); 
   38772             :     }
   38773           0 :     arg1 = (DBFInfo *)(argp1);
   38774           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   38775           0 :     if (!SWIG_IsOK(ecode2)) {
   38776           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "DBFInfo_getFieldType" "', argument " "2"" of type '" "int""'");
   38777             :     } 
   38778             :     arg2 = (int)(val2);
   38779             :     result = (int)DBFInfo_getFieldType(arg1,arg2);
   38780           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   38781             :     
   38782             :     
   38783           0 :     XSRETURN(argvi);
   38784           0 :   fail:
   38785             :     
   38786             :     
   38787           0 :     SWIG_croak_null();
   38788             :   }
   38789             : }
   38790             : 
   38791             : 
   38792           0 : XS(_wrap_new_DBFInfo) {
   38793             :   {
   38794             :     int argvi = 0;
   38795             :     DBFInfo *result = 0 ;
   38796           0 :     dXSARGS;
   38797             :     
   38798           0 :     if ((items < 0) || (items > 0)) {
   38799           0 :       SWIG_croak("Usage: new_DBFInfo();");
   38800             :     }
   38801           0 :     result = (DBFInfo *)calloc(1, sizeof(DBFInfo));
   38802           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_DBFInfo, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   38803           0 :     XSRETURN(argvi);
   38804             :   fail:
   38805           0 :     SWIG_croak_null();
   38806             :   }
   38807             : }
   38808             : 
   38809             : 
   38810           0 : XS(_wrap_delete_DBFInfo) {
   38811             :   {
   38812             :     DBFInfo *arg1 = (DBFInfo *) 0 ;
   38813           0 :     void *argp1 = 0 ;
   38814             :     int res1 = 0 ;
   38815             :     int argvi = 0;
   38816           0 :     dXSARGS;
   38817             :     
   38818           0 :     if ((items < 1) || (items > 1)) {
   38819           0 :       SWIG_croak("Usage: delete_DBFInfo(self);");
   38820             :     }
   38821           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_DBFInfo, SWIG_POINTER_DISOWN |  0 );
   38822           0 :     if (!SWIG_IsOK(res1)) {
   38823           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_DBFInfo" "', argument " "1"" of type '" "DBFInfo *""'"); 
   38824             :     }
   38825           0 :     arg1 = (DBFInfo *)(argp1);
   38826           0 :     free((char *) arg1);
   38827           0 :     ST(argvi) = sv_newmortal();
   38828             :     
   38829           0 :     XSRETURN(argvi);
   38830           0 :   fail:
   38831             :     
   38832           0 :     SWIG_croak_null();
   38833             :   }
   38834             : }
   38835             : 
   38836             : 
   38837           0 : XS(_wrap_shapefileObj_source_get) {
   38838             :   {
   38839             :     shapefileObj *arg1 = (shapefileObj *) 0 ;
   38840           0 :     void *argp1 = 0 ;
   38841             :     int res1 = 0 ;
   38842             :     int argvi = 0;
   38843             :     char *result = 0 ;
   38844           0 :     dXSARGS;
   38845             :     
   38846           0 :     if ((items < 1) || (items > 1)) {
   38847           0 :       SWIG_croak("Usage: shapefileObj_source_get(self);");
   38848             :     }
   38849           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapefileObj, 0 |  0 );
   38850           0 :     if (!SWIG_IsOK(res1)) {
   38851           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapefileObj_source_get" "', argument " "1"" of type '" "shapefileObj *""'"); 
   38852             :     }
   38853           0 :     arg1 = (shapefileObj *)(argp1);
   38854           0 :     result = (char *)(char *) ((arg1)->source);
   38855             :     {
   38856           0 :       ST(argvi) = newSVpvn(result, strlen(result));
   38857             :       argvi++;
   38858             :     }
   38859             :     
   38860           0 :     XSRETURN(argvi);
   38861           0 :   fail:
   38862             :     
   38863           0 :     SWIG_croak_null();
   38864             :   }
   38865             : }
   38866             : 
   38867             : 
   38868           1 : XS(_wrap_shapefileObj_type_get) {
   38869             :   {
   38870             :     shapefileObj *arg1 = (shapefileObj *) 0 ;
   38871           1 :     void *argp1 = 0 ;
   38872             :     int res1 = 0 ;
   38873             :     int argvi = 0;
   38874             :     int result;
   38875           1 :     dXSARGS;
   38876             :     
   38877           1 :     if ((items < 1) || (items > 1)) {
   38878           0 :       SWIG_croak("Usage: shapefileObj_type_get(self);");
   38879             :     }
   38880           1 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapefileObj, 0 |  0 );
   38881           1 :     if (!SWIG_IsOK(res1)) {
   38882           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapefileObj_type_get" "', argument " "1"" of type '" "shapefileObj *""'"); 
   38883             :     }
   38884           1 :     arg1 = (shapefileObj *)(argp1);
   38885           1 :     result = (int) ((arg1)->type);
   38886           1 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   38887             :     
   38888           1 :     XSRETURN(argvi);
   38889           0 :   fail:
   38890             :     
   38891           0 :     SWIG_croak_null();
   38892             :   }
   38893             : }
   38894             : 
   38895             : 
   38896           1 : XS(_wrap_shapefileObj_numshapes_get) {
   38897             :   {
   38898             :     shapefileObj *arg1 = (shapefileObj *) 0 ;
   38899           1 :     void *argp1 = 0 ;
   38900             :     int res1 = 0 ;
   38901             :     int argvi = 0;
   38902             :     int result;
   38903           1 :     dXSARGS;
   38904             :     
   38905           1 :     if ((items < 1) || (items > 1)) {
   38906           0 :       SWIG_croak("Usage: shapefileObj_numshapes_get(self);");
   38907             :     }
   38908           1 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapefileObj, 0 |  0 );
   38909           1 :     if (!SWIG_IsOK(res1)) {
   38910           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapefileObj_numshapes_get" "', argument " "1"" of type '" "shapefileObj *""'"); 
   38911             :     }
   38912           1 :     arg1 = (shapefileObj *)(argp1);
   38913           1 :     result = (int) ((arg1)->numshapes);
   38914           1 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   38915             :     
   38916           1 :     XSRETURN(argvi);
   38917           0 :   fail:
   38918             :     
   38919           0 :     SWIG_croak_null();
   38920             :   }
   38921             : }
   38922             : 
   38923             : 
   38924           0 : XS(_wrap_shapefileObj_bounds_get) {
   38925             :   {
   38926             :     shapefileObj *arg1 = (shapefileObj *) 0 ;
   38927           0 :     void *argp1 = 0 ;
   38928             :     int res1 = 0 ;
   38929             :     int argvi = 0;
   38930             :     rectObj *result = 0 ;
   38931           0 :     dXSARGS;
   38932             :     
   38933           0 :     if ((items < 1) || (items > 1)) {
   38934           0 :       SWIG_croak("Usage: shapefileObj_bounds_get(self);");
   38935             :     }
   38936           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapefileObj, 0 |  0 );
   38937           0 :     if (!SWIG_IsOK(res1)) {
   38938           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapefileObj_bounds_get" "', argument " "1"" of type '" "shapefileObj *""'"); 
   38939             :     }
   38940           0 :     arg1 = (shapefileObj *)(argp1);
   38941           0 :     result = (rectObj *)& ((arg1)->bounds);
   38942           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_rectObj, 0 | SWIG_SHADOW); argvi++ ;
   38943             :     
   38944           0 :     XSRETURN(argvi);
   38945           0 :   fail:
   38946             :     
   38947           0 :     SWIG_croak_null();
   38948             :   }
   38949             : }
   38950             : 
   38951             : 
   38952           0 : XS(_wrap_shapefileObj_lastshape_get) {
   38953             :   {
   38954             :     shapefileObj *arg1 = (shapefileObj *) 0 ;
   38955           0 :     void *argp1 = 0 ;
   38956             :     int res1 = 0 ;
   38957             :     int argvi = 0;
   38958             :     int result;
   38959           0 :     dXSARGS;
   38960             :     
   38961           0 :     if ((items < 1) || (items > 1)) {
   38962           0 :       SWIG_croak("Usage: shapefileObj_lastshape_get(self);");
   38963             :     }
   38964           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapefileObj, 0 |  0 );
   38965           0 :     if (!SWIG_IsOK(res1)) {
   38966           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapefileObj_lastshape_get" "', argument " "1"" of type '" "shapefileObj *""'"); 
   38967             :     }
   38968           0 :     arg1 = (shapefileObj *)(argp1);
   38969           0 :     result = (int) ((arg1)->lastshape);
   38970           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   38971             :     
   38972           0 :     XSRETURN(argvi);
   38973           0 :   fail:
   38974             :     
   38975           0 :     SWIG_croak_null();
   38976             :   }
   38977             : }
   38978             : 
   38979             : 
   38980           0 : XS(_wrap_shapefileObj_status_get) {
   38981             :   {
   38982             :     shapefileObj *arg1 = (shapefileObj *) 0 ;
   38983           0 :     void *argp1 = 0 ;
   38984             :     int res1 = 0 ;
   38985             :     int argvi = 0;
   38986             :     ms_bitarray result;
   38987           0 :     dXSARGS;
   38988             :     
   38989           0 :     if ((items < 1) || (items > 1)) {
   38990           0 :       SWIG_croak("Usage: shapefileObj_status_get(self);");
   38991             :     }
   38992           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapefileObj, 0 |  0 );
   38993           0 :     if (!SWIG_IsOK(res1)) {
   38994           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapefileObj_status_get" "', argument " "1"" of type '" "shapefileObj *""'"); 
   38995             :     }
   38996           0 :     arg1 = (shapefileObj *)(argp1);
   38997           0 :     result = (ms_bitarray) ((arg1)->status);
   38998           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_uint32_t, 0 | 0); argvi++ ;
   38999             :     
   39000           0 :     XSRETURN(argvi);
   39001           0 :   fail:
   39002             :     
   39003           0 :     SWIG_croak_null();
   39004             :   }
   39005             : }
   39006             : 
   39007             : 
   39008           0 : XS(_wrap_shapefileObj_isopen_get) {
   39009             :   {
   39010             :     shapefileObj *arg1 = (shapefileObj *) 0 ;
   39011           0 :     void *argp1 = 0 ;
   39012             :     int res1 = 0 ;
   39013             :     int argvi = 0;
   39014             :     int result;
   39015           0 :     dXSARGS;
   39016             :     
   39017           0 :     if ((items < 1) || (items > 1)) {
   39018           0 :       SWIG_croak("Usage: shapefileObj_isopen_get(self);");
   39019             :     }
   39020           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapefileObj, 0 |  0 );
   39021           0 :     if (!SWIG_IsOK(res1)) {
   39022           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapefileObj_isopen_get" "', argument " "1"" of type '" "shapefileObj *""'"); 
   39023             :     }
   39024           0 :     arg1 = (shapefileObj *)(argp1);
   39025           0 :     result = (int) ((arg1)->isopen);
   39026           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   39027             :     
   39028           0 :     XSRETURN(argvi);
   39029           0 :   fail:
   39030             :     
   39031           0 :     SWIG_croak_null();
   39032             :   }
   39033             : }
   39034             : 
   39035             : 
   39036           1 : XS(_wrap_new_shapefileObj) {
   39037             :   {
   39038             :     char *arg1 = (char *) 0 ;
   39039             :     int arg2 = (int) -1 ;
   39040             :     int res1 ;
   39041           1 :     char *buf1 = 0 ;
   39042           1 :     int alloc1 = 0 ;
   39043             :     int val2 ;
   39044             :     int ecode2 = 0 ;
   39045             :     int argvi = 0;
   39046             :     shapefileObj *result = 0 ;
   39047           1 :     dXSARGS;
   39048             :     
   39049           1 :     if ((items < 1) || (items > 2)) {
   39050           0 :       SWIG_croak("Usage: new_shapefileObj(filename,type);");
   39051             :     }
   39052           1 :     res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
   39053           1 :     if (!SWIG_IsOK(res1)) {
   39054           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_shapefileObj" "', argument " "1"" of type '" "char *""'");
   39055             :     }
   39056           1 :     arg1 = (char *)(buf1);
   39057           1 :     if (items > 1) {
   39058           1 :       ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   39059           1 :       if (!SWIG_IsOK(ecode2)) {
   39060           0 :         SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_shapefileObj" "', argument " "2"" of type '" "int""'");
   39061             :       } 
   39062             :       arg2 = (int)(val2);
   39063             :     }
   39064           1 :     result = (shapefileObj *)new_shapefileObj(arg1,arg2);
   39065           1 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_shapefileObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   39066           1 :     if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
   39067             :     
   39068           1 :     XSRETURN(argvi);
   39069           0 :   fail:
   39070           0 :     if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
   39071             :     
   39072           0 :     SWIG_croak_null();
   39073             :   }
   39074             : }
   39075             : 
   39076             : 
   39077           1 : XS(_wrap_delete_shapefileObj) {
   39078             :   {
   39079             :     shapefileObj *arg1 = (shapefileObj *) 0 ;
   39080           1 :     void *argp1 = 0 ;
   39081             :     int res1 = 0 ;
   39082             :     int argvi = 0;
   39083           1 :     dXSARGS;
   39084             :     
   39085           1 :     if ((items < 1) || (items > 1)) {
   39086           0 :       SWIG_croak("Usage: delete_shapefileObj(self);");
   39087             :     }
   39088           1 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapefileObj, SWIG_POINTER_DISOWN |  0 );
   39089           1 :     if (!SWIG_IsOK(res1)) {
   39090           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_shapefileObj" "', argument " "1"" of type '" "shapefileObj *""'"); 
   39091             :     }
   39092           1 :     arg1 = (shapefileObj *)(argp1);
   39093             :     delete_shapefileObj(arg1);
   39094           1 :     ST(argvi) = sv_newmortal();
   39095             :     
   39096           1 :     XSRETURN(argvi);
   39097           0 :   fail:
   39098             :     
   39099           0 :     SWIG_croak_null();
   39100             :   }
   39101             : }
   39102             : 
   39103             : 
   39104           1 : XS(_wrap_shapefileObj_get) {
   39105             :   {
   39106             :     shapefileObj *arg1 = (shapefileObj *) 0 ;
   39107             :     int arg2 ;
   39108             :     shapeObj *arg3 = (shapeObj *) 0 ;
   39109           1 :     void *argp1 = 0 ;
   39110             :     int res1 = 0 ;
   39111             :     int val2 ;
   39112             :     int ecode2 = 0 ;
   39113           1 :     void *argp3 = 0 ;
   39114             :     int res3 = 0 ;
   39115             :     int argvi = 0;
   39116             :     int result;
   39117           1 :     dXSARGS;
   39118             :     
   39119           1 :     if ((items < 3) || (items > 3)) {
   39120           0 :       SWIG_croak("Usage: shapefileObj_get(self,i,shape);");
   39121             :     }
   39122           1 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapefileObj, 0 |  0 );
   39123           1 :     if (!SWIG_IsOK(res1)) {
   39124           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapefileObj_get" "', argument " "1"" of type '" "shapefileObj *""'"); 
   39125             :     }
   39126           1 :     arg1 = (shapefileObj *)(argp1);
   39127           1 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   39128           1 :     if (!SWIG_IsOK(ecode2)) {
   39129           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "shapefileObj_get" "', argument " "2"" of type '" "int""'");
   39130             :     } 
   39131             :     arg2 = (int)(val2);
   39132           1 :     res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_shapeObj, 0 |  0 );
   39133           1 :     if (!SWIG_IsOK(res3)) {
   39134           0 :       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "shapefileObj_get" "', argument " "3"" of type '" "shapeObj *""'"); 
   39135             :     }
   39136           1 :     arg3 = (shapeObj *)(argp3);
   39137           1 :     result = (int)shapefileObj_get(arg1,arg2,arg3);
   39138           1 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   39139             :     
   39140             :     
   39141             :     
   39142           1 :     XSRETURN(argvi);
   39143           0 :   fail:
   39144             :     
   39145             :     
   39146             :     
   39147           0 :     SWIG_croak_null();
   39148             :   }
   39149             : }
   39150             : 
   39151             : 
   39152           1 : XS(_wrap_shapefileObj_getShape) {
   39153             :   {
   39154             :     shapefileObj *arg1 = (shapefileObj *) 0 ;
   39155             :     int arg2 ;
   39156           1 :     void *argp1 = 0 ;
   39157             :     int res1 = 0 ;
   39158             :     int val2 ;
   39159             :     int ecode2 = 0 ;
   39160             :     int argvi = 0;
   39161             :     shapeObj *result = 0 ;
   39162           1 :     dXSARGS;
   39163             :     
   39164           1 :     if ((items < 2) || (items > 2)) {
   39165           0 :       SWIG_croak("Usage: shapefileObj_getShape(self,i);");
   39166             :     }
   39167           1 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapefileObj, 0 |  0 );
   39168           1 :     if (!SWIG_IsOK(res1)) {
   39169           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapefileObj_getShape" "', argument " "1"" of type '" "shapefileObj *""'"); 
   39170             :     }
   39171           1 :     arg1 = (shapefileObj *)(argp1);
   39172           1 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   39173           1 :     if (!SWIG_IsOK(ecode2)) {
   39174           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "shapefileObj_getShape" "', argument " "2"" of type '" "int""'");
   39175             :     } 
   39176             :     arg2 = (int)(val2);
   39177           1 :     result = (shapeObj *)shapefileObj_getShape(arg1,arg2);
   39178           1 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_shapeObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   39179             :     
   39180             :     
   39181           1 :     XSRETURN(argvi);
   39182           0 :   fail:
   39183             :     
   39184             :     
   39185           0 :     SWIG_croak_null();
   39186             :   }
   39187             : }
   39188             : 
   39189             : 
   39190           0 : XS(_wrap_shapefileObj_getPoint) {
   39191             :   {
   39192             :     shapefileObj *arg1 = (shapefileObj *) 0 ;
   39193             :     int arg2 ;
   39194             :     pointObj *arg3 = (pointObj *) 0 ;
   39195           0 :     void *argp1 = 0 ;
   39196             :     int res1 = 0 ;
   39197             :     int val2 ;
   39198             :     int ecode2 = 0 ;
   39199           0 :     void *argp3 = 0 ;
   39200             :     int res3 = 0 ;
   39201             :     int argvi = 0;
   39202             :     int result;
   39203           0 :     dXSARGS;
   39204             :     
   39205           0 :     if ((items < 3) || (items > 3)) {
   39206           0 :       SWIG_croak("Usage: shapefileObj_getPoint(self,i,point);");
   39207             :     }
   39208           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapefileObj, 0 |  0 );
   39209           0 :     if (!SWIG_IsOK(res1)) {
   39210           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapefileObj_getPoint" "', argument " "1"" of type '" "shapefileObj *""'"); 
   39211             :     }
   39212           0 :     arg1 = (shapefileObj *)(argp1);
   39213           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   39214           0 :     if (!SWIG_IsOK(ecode2)) {
   39215           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "shapefileObj_getPoint" "', argument " "2"" of type '" "int""'");
   39216             :     } 
   39217             :     arg2 = (int)(val2);
   39218           0 :     res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_pointObj, 0 |  0 );
   39219           0 :     if (!SWIG_IsOK(res3)) {
   39220           0 :       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "shapefileObj_getPoint" "', argument " "3"" of type '" "pointObj *""'"); 
   39221             :     }
   39222           0 :     arg3 = (pointObj *)(argp3);
   39223             :     result = (int)shapefileObj_getPoint(arg1,arg2,arg3);
   39224           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   39225             :     
   39226             :     
   39227             :     
   39228           0 :     XSRETURN(argvi);
   39229           0 :   fail:
   39230             :     
   39231             :     
   39232             :     
   39233           0 :     SWIG_croak_null();
   39234             :   }
   39235             : }
   39236             : 
   39237             : 
   39238           0 : XS(_wrap_shapefileObj_getTransformed) {
   39239             :   {
   39240             :     shapefileObj *arg1 = (shapefileObj *) 0 ;
   39241             :     mapObj *arg2 = (mapObj *) 0 ;
   39242             :     int arg3 ;
   39243             :     shapeObj *arg4 = (shapeObj *) 0 ;
   39244           0 :     void *argp1 = 0 ;
   39245             :     int res1 = 0 ;
   39246           0 :     void *argp2 = 0 ;
   39247             :     int res2 = 0 ;
   39248             :     int val3 ;
   39249             :     int ecode3 = 0 ;
   39250           0 :     void *argp4 = 0 ;
   39251             :     int res4 = 0 ;
   39252             :     int argvi = 0;
   39253             :     int result;
   39254           0 :     dXSARGS;
   39255             :     
   39256           0 :     if ((items < 4) || (items > 4)) {
   39257           0 :       SWIG_croak("Usage: shapefileObj_getTransformed(self,map,i,shape);");
   39258             :     }
   39259           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapefileObj, 0 |  0 );
   39260           0 :     if (!SWIG_IsOK(res1)) {
   39261           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapefileObj_getTransformed" "', argument " "1"" of type '" "shapefileObj *""'"); 
   39262             :     }
   39263           0 :     arg1 = (shapefileObj *)(argp1);
   39264           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_mapObj, 0 |  0 );
   39265           0 :     if (!SWIG_IsOK(res2)) {
   39266           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapefileObj_getTransformed" "', argument " "2"" of type '" "mapObj *""'"); 
   39267             :     }
   39268           0 :     arg2 = (mapObj *)(argp2);
   39269           0 :     ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
   39270           0 :     if (!SWIG_IsOK(ecode3)) {
   39271           0 :       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "shapefileObj_getTransformed" "', argument " "3"" of type '" "int""'");
   39272             :     } 
   39273             :     arg3 = (int)(val3);
   39274           0 :     res4 = SWIG_ConvertPtr(ST(3), &argp4,SWIGTYPE_p_shapeObj, 0 |  0 );
   39275           0 :     if (!SWIG_IsOK(res4)) {
   39276           0 :       SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "shapefileObj_getTransformed" "', argument " "4"" of type '" "shapeObj *""'"); 
   39277             :     }
   39278           0 :     arg4 = (shapeObj *)(argp4);
   39279           0 :     result = (int)shapefileObj_getTransformed(arg1,arg2,arg3,arg4);
   39280           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   39281             :     
   39282             :     
   39283             :     
   39284             :     
   39285           0 :     XSRETURN(argvi);
   39286           0 :   fail:
   39287             :     
   39288             :     
   39289             :     
   39290             :     
   39291           0 :     SWIG_croak_null();
   39292             :   }
   39293             : }
   39294             : 
   39295             : 
   39296           0 : XS(_wrap_shapefileObj_getExtent) {
   39297             :   {
   39298             :     shapefileObj *arg1 = (shapefileObj *) 0 ;
   39299             :     int arg2 ;
   39300             :     rectObj *arg3 = (rectObj *) 0 ;
   39301           0 :     void *argp1 = 0 ;
   39302             :     int res1 = 0 ;
   39303             :     int val2 ;
   39304             :     int ecode2 = 0 ;
   39305           0 :     void *argp3 = 0 ;
   39306             :     int res3 = 0 ;
   39307             :     int argvi = 0;
   39308           0 :     dXSARGS;
   39309             :     
   39310           0 :     if ((items < 3) || (items > 3)) {
   39311           0 :       SWIG_croak("Usage: shapefileObj_getExtent(self,i,rect);");
   39312             :     }
   39313           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapefileObj, 0 |  0 );
   39314           0 :     if (!SWIG_IsOK(res1)) {
   39315           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapefileObj_getExtent" "', argument " "1"" of type '" "shapefileObj *""'"); 
   39316             :     }
   39317           0 :     arg1 = (shapefileObj *)(argp1);
   39318           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   39319           0 :     if (!SWIG_IsOK(ecode2)) {
   39320           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "shapefileObj_getExtent" "', argument " "2"" of type '" "int""'");
   39321             :     } 
   39322             :     arg2 = (int)(val2);
   39323           0 :     res3 = SWIG_ConvertPtr(ST(2), &argp3,SWIGTYPE_p_rectObj, 0 |  0 );
   39324           0 :     if (!SWIG_IsOK(res3)) {
   39325           0 :       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "shapefileObj_getExtent" "', argument " "3"" of type '" "rectObj *""'"); 
   39326             :     }
   39327           0 :     arg3 = (rectObj *)(argp3);
   39328           0 :     shapefileObj_getExtent(arg1,arg2,arg3);
   39329           0 :     ST(argvi) = sv_newmortal();
   39330             :     
   39331             :     
   39332             :     
   39333           0 :     XSRETURN(argvi);
   39334           0 :   fail:
   39335             :     
   39336             :     
   39337             :     
   39338           0 :     SWIG_croak_null();
   39339             :   }
   39340             : }
   39341             : 
   39342             : 
   39343           1 : XS(_wrap_shapefileObj_add) {
   39344             :   {
   39345             :     shapefileObj *arg1 = (shapefileObj *) 0 ;
   39346             :     shapeObj *arg2 = (shapeObj *) 0 ;
   39347           1 :     void *argp1 = 0 ;
   39348             :     int res1 = 0 ;
   39349           1 :     void *argp2 = 0 ;
   39350             :     int res2 = 0 ;
   39351             :     int argvi = 0;
   39352             :     int result;
   39353           1 :     dXSARGS;
   39354             :     
   39355           1 :     if ((items < 2) || (items > 2)) {
   39356           0 :       SWIG_croak("Usage: shapefileObj_add(self,shape);");
   39357             :     }
   39358           1 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapefileObj, 0 |  0 );
   39359           1 :     if (!SWIG_IsOK(res1)) {
   39360           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapefileObj_add" "', argument " "1"" of type '" "shapefileObj *""'"); 
   39361             :     }
   39362           1 :     arg1 = (shapefileObj *)(argp1);
   39363           1 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_shapeObj, 0 |  0 );
   39364           1 :     if (!SWIG_IsOK(res2)) {
   39365           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapefileObj_add" "', argument " "2"" of type '" "shapeObj *""'"); 
   39366             :     }
   39367           1 :     arg2 = (shapeObj *)(argp2);
   39368           1 :     result = (int)shapefileObj_add(arg1,arg2);
   39369           1 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   39370             :     
   39371             :     
   39372           1 :     XSRETURN(argvi);
   39373           0 :   fail:
   39374             :     
   39375             :     
   39376           0 :     SWIG_croak_null();
   39377             :   }
   39378             : }
   39379             : 
   39380             : 
   39381           0 : XS(_wrap_shapefileObj_addPoint) {
   39382             :   {
   39383             :     shapefileObj *arg1 = (shapefileObj *) 0 ;
   39384             :     pointObj *arg2 = (pointObj *) 0 ;
   39385           0 :     void *argp1 = 0 ;
   39386             :     int res1 = 0 ;
   39387           0 :     void *argp2 = 0 ;
   39388             :     int res2 = 0 ;
   39389             :     int argvi = 0;
   39390             :     int result;
   39391           0 :     dXSARGS;
   39392             :     
   39393           0 :     if ((items < 2) || (items > 2)) {
   39394           0 :       SWIG_croak("Usage: shapefileObj_addPoint(self,point);");
   39395             :     }
   39396           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapefileObj, 0 |  0 );
   39397           0 :     if (!SWIG_IsOK(res1)) {
   39398           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapefileObj_addPoint" "', argument " "1"" of type '" "shapefileObj *""'"); 
   39399             :     }
   39400           0 :     arg1 = (shapefileObj *)(argp1);
   39401           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_pointObj, 0 |  0 );
   39402           0 :     if (!SWIG_IsOK(res2)) {
   39403           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "shapefileObj_addPoint" "', argument " "2"" of type '" "pointObj *""'"); 
   39404             :     }
   39405           0 :     arg2 = (pointObj *)(argp2);
   39406           0 :     result = (int)shapefileObj_addPoint(arg1,arg2);
   39407           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   39408             :     
   39409             :     
   39410           0 :     XSRETURN(argvi);
   39411           0 :   fail:
   39412             :     
   39413             :     
   39414           0 :     SWIG_croak_null();
   39415             :   }
   39416             : }
   39417             : 
   39418             : 
   39419           0 : XS(_wrap_shapefileObj_getDBF) {
   39420             :   {
   39421             :     shapefileObj *arg1 = (shapefileObj *) 0 ;
   39422           0 :     void *argp1 = 0 ;
   39423             :     int res1 = 0 ;
   39424             :     int argvi = 0;
   39425             :     DBFInfo *result = 0 ;
   39426           0 :     dXSARGS;
   39427             :     
   39428           0 :     if ((items < 1) || (items > 1)) {
   39429           0 :       SWIG_croak("Usage: shapefileObj_getDBF(self);");
   39430             :     }
   39431           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_shapefileObj, 0 |  0 );
   39432           0 :     if (!SWIG_IsOK(res1)) {
   39433           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "shapefileObj_getDBF" "', argument " "1"" of type '" "shapefileObj *""'"); 
   39434             :     }
   39435           0 :     arg1 = (shapefileObj *)(argp1);
   39436           0 :     result = (DBFInfo *)shapefileObj_getDBF(arg1);
   39437           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_DBFInfo, 0 | SWIG_SHADOW); argvi++ ;
   39438             :     
   39439           0 :     XSRETURN(argvi);
   39440           0 :   fail:
   39441             :     
   39442           0 :     SWIG_croak_null();
   39443             :   }
   39444             : }
   39445             : 
   39446             : 
   39447           0 : XS(_wrap_projectionObj_numargs_get) {
   39448             :   {
   39449             :     projectionObj *arg1 = (projectionObj *) 0 ;
   39450           0 :     void *argp1 = 0 ;
   39451             :     int res1 = 0 ;
   39452             :     int argvi = 0;
   39453             :     int result;
   39454           0 :     dXSARGS;
   39455             :     
   39456           0 :     if ((items < 1) || (items > 1)) {
   39457           0 :       SWIG_croak("Usage: projectionObj_numargs_get(self);");
   39458             :     }
   39459           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_projectionObj, 0 |  0 );
   39460           0 :     if (!SWIG_IsOK(res1)) {
   39461           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "projectionObj_numargs_get" "', argument " "1"" of type '" "projectionObj *""'"); 
   39462             :     }
   39463           0 :     arg1 = (projectionObj *)(argp1);
   39464           0 :     result = (int) ((arg1)->numargs);
   39465           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   39466             :     
   39467           0 :     XSRETURN(argvi);
   39468           0 :   fail:
   39469             :     
   39470           0 :     SWIG_croak_null();
   39471             :   }
   39472             : }
   39473             : 
   39474             : 
   39475           0 : XS(_wrap_projectionObj_automatic_get) {
   39476             :   {
   39477             :     projectionObj *arg1 = (projectionObj *) 0 ;
   39478           0 :     void *argp1 = 0 ;
   39479             :     int res1 = 0 ;
   39480             :     int argvi = 0;
   39481             :     int result;
   39482           0 :     dXSARGS;
   39483             :     
   39484           0 :     if ((items < 1) || (items > 1)) {
   39485           0 :       SWIG_croak("Usage: projectionObj_automatic_get(self);");
   39486             :     }
   39487           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_projectionObj, 0 |  0 );
   39488           0 :     if (!SWIG_IsOK(res1)) {
   39489           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "projectionObj_automatic_get" "', argument " "1"" of type '" "projectionObj *""'"); 
   39490             :     }
   39491           0 :     arg1 = (projectionObj *)(argp1);
   39492           0 :     result = (int) ((arg1)->automatic);
   39493           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   39494             :     
   39495           0 :     XSRETURN(argvi);
   39496           0 :   fail:
   39497             :     
   39498           0 :     SWIG_croak_null();
   39499             :   }
   39500             : }
   39501             : 
   39502             : 
   39503           0 : XS(_wrap_projectionObj_wellknownprojection_set) {
   39504             :   {
   39505             :     projectionObj *arg1 = (projectionObj *) 0 ;
   39506             :     int arg2 ;
   39507           0 :     void *argp1 = 0 ;
   39508             :     int res1 = 0 ;
   39509             :     int val2 ;
   39510             :     int ecode2 = 0 ;
   39511             :     int argvi = 0;
   39512           0 :     dXSARGS;
   39513             :     
   39514           0 :     if ((items < 2) || (items > 2)) {
   39515           0 :       SWIG_croak("Usage: projectionObj_wellknownprojection_set(self,wellknownprojection);");
   39516             :     }
   39517           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_projectionObj, 0 |  0 );
   39518           0 :     if (!SWIG_IsOK(res1)) {
   39519           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "projectionObj_wellknownprojection_set" "', argument " "1"" of type '" "projectionObj *""'"); 
   39520             :     }
   39521           0 :     arg1 = (projectionObj *)(argp1);
   39522           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   39523           0 :     if (!SWIG_IsOK(ecode2)) {
   39524           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "projectionObj_wellknownprojection_set" "', argument " "2"" of type '" "int""'");
   39525             :     } 
   39526             :     arg2 = (int)(val2);
   39527           0 :     if (arg1) (arg1)->wellknownprojection = arg2;
   39528           0 :     ST(argvi) = sv_newmortal();
   39529             :     
   39530             :     
   39531           0 :     XSRETURN(argvi);
   39532           0 :   fail:
   39533             :     
   39534             :     
   39535           0 :     SWIG_croak_null();
   39536             :   }
   39537             : }
   39538             : 
   39539             : 
   39540           0 : XS(_wrap_projectionObj_wellknownprojection_get) {
   39541             :   {
   39542             :     projectionObj *arg1 = (projectionObj *) 0 ;
   39543           0 :     void *argp1 = 0 ;
   39544             :     int res1 = 0 ;
   39545             :     int argvi = 0;
   39546             :     int result;
   39547           0 :     dXSARGS;
   39548             :     
   39549           0 :     if ((items < 1) || (items > 1)) {
   39550           0 :       SWIG_croak("Usage: projectionObj_wellknownprojection_get(self);");
   39551             :     }
   39552           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_projectionObj, 0 |  0 );
   39553           0 :     if (!SWIG_IsOK(res1)) {
   39554           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "projectionObj_wellknownprojection_get" "', argument " "1"" of type '" "projectionObj *""'"); 
   39555             :     }
   39556           0 :     arg1 = (projectionObj *)(argp1);
   39557           0 :     result = (int) ((arg1)->wellknownprojection);
   39558           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   39559             :     
   39560           0 :     XSRETURN(argvi);
   39561           0 :   fail:
   39562             :     
   39563           0 :     SWIG_croak_null();
   39564             :   }
   39565             : }
   39566             : 
   39567             : 
   39568           0 : XS(_wrap_new_projectionObj) {
   39569             :   {
   39570             :     char *arg1 = (char *) 0 ;
   39571             :     int res1 ;
   39572           0 :     char *buf1 = 0 ;
   39573           0 :     int alloc1 = 0 ;
   39574             :     int argvi = 0;
   39575             :     projectionObj *result = 0 ;
   39576           0 :     dXSARGS;
   39577             :     
   39578           0 :     if ((items < 1) || (items > 1)) {
   39579           0 :       SWIG_croak("Usage: new_projectionObj(proj4);");
   39580             :     }
   39581           0 :     res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
   39582           0 :     if (!SWIG_IsOK(res1)) {
   39583           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_projectionObj" "', argument " "1"" of type '" "char *""'");
   39584             :     }
   39585           0 :     arg1 = (char *)(buf1);
   39586           0 :     result = (projectionObj *)new_projectionObj(arg1);
   39587           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_projectionObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   39588           0 :     if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
   39589           0 :     XSRETURN(argvi);
   39590           0 :   fail:
   39591           0 :     if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
   39592           0 :     SWIG_croak_null();
   39593             :   }
   39594             : }
   39595             : 
   39596             : 
   39597           0 : XS(_wrap_delete_projectionObj) {
   39598             :   {
   39599             :     projectionObj *arg1 = (projectionObj *) 0 ;
   39600           0 :     void *argp1 = 0 ;
   39601             :     int res1 = 0 ;
   39602             :     int argvi = 0;
   39603           0 :     dXSARGS;
   39604             :     
   39605           0 :     if ((items < 1) || (items > 1)) {
   39606           0 :       SWIG_croak("Usage: delete_projectionObj(self);");
   39607             :     }
   39608           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_projectionObj, SWIG_POINTER_DISOWN |  0 );
   39609           0 :     if (!SWIG_IsOK(res1)) {
   39610           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_projectionObj" "', argument " "1"" of type '" "projectionObj *""'"); 
   39611             :     }
   39612           0 :     arg1 = (projectionObj *)(argp1);
   39613             :     delete_projectionObj(arg1);
   39614           0 :     ST(argvi) = sv_newmortal();
   39615             :     
   39616           0 :     XSRETURN(argvi);
   39617           0 :   fail:
   39618             :     
   39619           0 :     SWIG_croak_null();
   39620             :   }
   39621             : }
   39622             : 
   39623             : 
   39624           0 : XS(_wrap_projectionObj_setWKTProjection) {
   39625             :   {
   39626             :     projectionObj *arg1 = (projectionObj *) 0 ;
   39627             :     char *arg2 = (char *) 0 ;
   39628           0 :     void *argp1 = 0 ;
   39629             :     int res1 = 0 ;
   39630             :     int res2 ;
   39631           0 :     char *buf2 = 0 ;
   39632           0 :     int alloc2 = 0 ;
   39633             :     int argvi = 0;
   39634             :     int result;
   39635           0 :     dXSARGS;
   39636             :     
   39637           0 :     if ((items < 2) || (items > 2)) {
   39638           0 :       SWIG_croak("Usage: projectionObj_setWKTProjection(self,wkt);");
   39639             :     }
   39640           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_projectionObj, 0 |  0 );
   39641           0 :     if (!SWIG_IsOK(res1)) {
   39642           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "projectionObj_setWKTProjection" "', argument " "1"" of type '" "projectionObj *""'"); 
   39643             :     }
   39644           0 :     arg1 = (projectionObj *)(argp1);
   39645           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   39646           0 :     if (!SWIG_IsOK(res2)) {
   39647           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "projectionObj_setWKTProjection" "', argument " "2"" of type '" "char *""'");
   39648             :     }
   39649           0 :     arg2 = (char *)(buf2);
   39650             :     result = (int)projectionObj_setWKTProjection(arg1,arg2);
   39651           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   39652             :     
   39653           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   39654           0 :     XSRETURN(argvi);
   39655           0 :   fail:
   39656             :     
   39657           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   39658           0 :     SWIG_croak_null();
   39659             :   }
   39660             : }
   39661             : 
   39662             : 
   39663           0 : XS(_wrap_projectionObj_getUnits) {
   39664             :   {
   39665             :     projectionObj *arg1 = (projectionObj *) 0 ;
   39666           0 :     void *argp1 = 0 ;
   39667             :     int res1 = 0 ;
   39668             :     int argvi = 0;
   39669             :     int result;
   39670           0 :     dXSARGS;
   39671             :     
   39672           0 :     if ((items < 1) || (items > 1)) {
   39673           0 :       SWIG_croak("Usage: projectionObj_getUnits(self);");
   39674             :     }
   39675           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_projectionObj, 0 |  0 );
   39676           0 :     if (!SWIG_IsOK(res1)) {
   39677           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "projectionObj_getUnits" "', argument " "1"" of type '" "projectionObj *""'"); 
   39678             :     }
   39679           0 :     arg1 = (projectionObj *)(argp1);
   39680             :     result = (int)projectionObj_getUnits(arg1);
   39681           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   39682             :     
   39683           0 :     XSRETURN(argvi);
   39684           0 :   fail:
   39685             :     
   39686           0 :     SWIG_croak_null();
   39687             :   }
   39688             : }
   39689             : 
   39690             : 
   39691           0 : XS(_wrap_colorObj_red_set) {
   39692             :   {
   39693             :     colorObj *arg1 = (colorObj *) 0 ;
   39694             :     int arg2 ;
   39695           0 :     void *argp1 = 0 ;
   39696             :     int res1 = 0 ;
   39697             :     int val2 ;
   39698             :     int ecode2 = 0 ;
   39699             :     int argvi = 0;
   39700           0 :     dXSARGS;
   39701             :     
   39702           0 :     if ((items < 2) || (items > 2)) {
   39703           0 :       SWIG_croak("Usage: colorObj_red_set(self,red);");
   39704             :     }
   39705           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_colorObj, 0 |  0 );
   39706           0 :     if (!SWIG_IsOK(res1)) {
   39707           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "colorObj_red_set" "', argument " "1"" of type '" "colorObj *""'"); 
   39708             :     }
   39709           0 :     arg1 = (colorObj *)(argp1);
   39710           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   39711           0 :     if (!SWIG_IsOK(ecode2)) {
   39712           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "colorObj_red_set" "', argument " "2"" of type '" "int""'");
   39713             :     } 
   39714             :     arg2 = (int)(val2);
   39715           0 :     if (arg1) (arg1)->red = arg2;
   39716           0 :     ST(argvi) = sv_newmortal();
   39717             :     
   39718             :     
   39719           0 :     XSRETURN(argvi);
   39720           0 :   fail:
   39721             :     
   39722             :     
   39723           0 :     SWIG_croak_null();
   39724             :   }
   39725             : }
   39726             : 
   39727             : 
   39728           0 : XS(_wrap_colorObj_red_get) {
   39729             :   {
   39730             :     colorObj *arg1 = (colorObj *) 0 ;
   39731           0 :     void *argp1 = 0 ;
   39732             :     int res1 = 0 ;
   39733             :     int argvi = 0;
   39734             :     int result;
   39735           0 :     dXSARGS;
   39736             :     
   39737           0 :     if ((items < 1) || (items > 1)) {
   39738           0 :       SWIG_croak("Usage: colorObj_red_get(self);");
   39739             :     }
   39740           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_colorObj, 0 |  0 );
   39741           0 :     if (!SWIG_IsOK(res1)) {
   39742           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "colorObj_red_get" "', argument " "1"" of type '" "colorObj *""'"); 
   39743             :     }
   39744           0 :     arg1 = (colorObj *)(argp1);
   39745           0 :     result = (int) ((arg1)->red);
   39746           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   39747             :     
   39748           0 :     XSRETURN(argvi);
   39749           0 :   fail:
   39750             :     
   39751           0 :     SWIG_croak_null();
   39752             :   }
   39753             : }
   39754             : 
   39755             : 
   39756           0 : XS(_wrap_colorObj_green_set) {
   39757             :   {
   39758             :     colorObj *arg1 = (colorObj *) 0 ;
   39759             :     int arg2 ;
   39760           0 :     void *argp1 = 0 ;
   39761             :     int res1 = 0 ;
   39762             :     int val2 ;
   39763             :     int ecode2 = 0 ;
   39764             :     int argvi = 0;
   39765           0 :     dXSARGS;
   39766             :     
   39767           0 :     if ((items < 2) || (items > 2)) {
   39768           0 :       SWIG_croak("Usage: colorObj_green_set(self,green);");
   39769             :     }
   39770           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_colorObj, 0 |  0 );
   39771           0 :     if (!SWIG_IsOK(res1)) {
   39772           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "colorObj_green_set" "', argument " "1"" of type '" "colorObj *""'"); 
   39773             :     }
   39774           0 :     arg1 = (colorObj *)(argp1);
   39775           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   39776           0 :     if (!SWIG_IsOK(ecode2)) {
   39777           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "colorObj_green_set" "', argument " "2"" of type '" "int""'");
   39778             :     } 
   39779             :     arg2 = (int)(val2);
   39780           0 :     if (arg1) (arg1)->green = arg2;
   39781           0 :     ST(argvi) = sv_newmortal();
   39782             :     
   39783             :     
   39784           0 :     XSRETURN(argvi);
   39785           0 :   fail:
   39786             :     
   39787             :     
   39788           0 :     SWIG_croak_null();
   39789             :   }
   39790             : }
   39791             : 
   39792             : 
   39793           0 : XS(_wrap_colorObj_green_get) {
   39794             :   {
   39795             :     colorObj *arg1 = (colorObj *) 0 ;
   39796           0 :     void *argp1 = 0 ;
   39797             :     int res1 = 0 ;
   39798             :     int argvi = 0;
   39799             :     int result;
   39800           0 :     dXSARGS;
   39801             :     
   39802           0 :     if ((items < 1) || (items > 1)) {
   39803           0 :       SWIG_croak("Usage: colorObj_green_get(self);");
   39804             :     }
   39805           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_colorObj, 0 |  0 );
   39806           0 :     if (!SWIG_IsOK(res1)) {
   39807           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "colorObj_green_get" "', argument " "1"" of type '" "colorObj *""'"); 
   39808             :     }
   39809           0 :     arg1 = (colorObj *)(argp1);
   39810           0 :     result = (int) ((arg1)->green);
   39811           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   39812             :     
   39813           0 :     XSRETURN(argvi);
   39814           0 :   fail:
   39815             :     
   39816           0 :     SWIG_croak_null();
   39817             :   }
   39818             : }
   39819             : 
   39820             : 
   39821           0 : XS(_wrap_colorObj_blue_set) {
   39822             :   {
   39823             :     colorObj *arg1 = (colorObj *) 0 ;
   39824             :     int arg2 ;
   39825           0 :     void *argp1 = 0 ;
   39826             :     int res1 = 0 ;
   39827             :     int val2 ;
   39828             :     int ecode2 = 0 ;
   39829             :     int argvi = 0;
   39830           0 :     dXSARGS;
   39831             :     
   39832           0 :     if ((items < 2) || (items > 2)) {
   39833           0 :       SWIG_croak("Usage: colorObj_blue_set(self,blue);");
   39834             :     }
   39835           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_colorObj, 0 |  0 );
   39836           0 :     if (!SWIG_IsOK(res1)) {
   39837           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "colorObj_blue_set" "', argument " "1"" of type '" "colorObj *""'"); 
   39838             :     }
   39839           0 :     arg1 = (colorObj *)(argp1);
   39840           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   39841           0 :     if (!SWIG_IsOK(ecode2)) {
   39842           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "colorObj_blue_set" "', argument " "2"" of type '" "int""'");
   39843             :     } 
   39844             :     arg2 = (int)(val2);
   39845           0 :     if (arg1) (arg1)->blue = arg2;
   39846           0 :     ST(argvi) = sv_newmortal();
   39847             :     
   39848             :     
   39849           0 :     XSRETURN(argvi);
   39850           0 :   fail:
   39851             :     
   39852             :     
   39853           0 :     SWIG_croak_null();
   39854             :   }
   39855             : }
   39856             : 
   39857             : 
   39858           0 : XS(_wrap_colorObj_blue_get) {
   39859             :   {
   39860             :     colorObj *arg1 = (colorObj *) 0 ;
   39861           0 :     void *argp1 = 0 ;
   39862             :     int res1 = 0 ;
   39863             :     int argvi = 0;
   39864             :     int result;
   39865           0 :     dXSARGS;
   39866             :     
   39867           0 :     if ((items < 1) || (items > 1)) {
   39868           0 :       SWIG_croak("Usage: colorObj_blue_get(self);");
   39869             :     }
   39870           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_colorObj, 0 |  0 );
   39871           0 :     if (!SWIG_IsOK(res1)) {
   39872           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "colorObj_blue_get" "', argument " "1"" of type '" "colorObj *""'"); 
   39873             :     }
   39874           0 :     arg1 = (colorObj *)(argp1);
   39875           0 :     result = (int) ((arg1)->blue);
   39876           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   39877             :     
   39878           0 :     XSRETURN(argvi);
   39879           0 :   fail:
   39880             :     
   39881           0 :     SWIG_croak_null();
   39882             :   }
   39883             : }
   39884             : 
   39885             : 
   39886           0 : XS(_wrap_colorObj_alpha_set) {
   39887             :   {
   39888             :     colorObj *arg1 = (colorObj *) 0 ;
   39889             :     int arg2 ;
   39890           0 :     void *argp1 = 0 ;
   39891             :     int res1 = 0 ;
   39892             :     int val2 ;
   39893             :     int ecode2 = 0 ;
   39894             :     int argvi = 0;
   39895           0 :     dXSARGS;
   39896             :     
   39897           0 :     if ((items < 2) || (items > 2)) {
   39898           0 :       SWIG_croak("Usage: colorObj_alpha_set(self,alpha);");
   39899             :     }
   39900           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_colorObj, 0 |  0 );
   39901           0 :     if (!SWIG_IsOK(res1)) {
   39902           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "colorObj_alpha_set" "', argument " "1"" of type '" "colorObj *""'"); 
   39903             :     }
   39904           0 :     arg1 = (colorObj *)(argp1);
   39905           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   39906           0 :     if (!SWIG_IsOK(ecode2)) {
   39907           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "colorObj_alpha_set" "', argument " "2"" of type '" "int""'");
   39908             :     } 
   39909             :     arg2 = (int)(val2);
   39910           0 :     if (arg1) (arg1)->alpha = arg2;
   39911           0 :     ST(argvi) = sv_newmortal();
   39912             :     
   39913             :     
   39914           0 :     XSRETURN(argvi);
   39915           0 :   fail:
   39916             :     
   39917             :     
   39918           0 :     SWIG_croak_null();
   39919             :   }
   39920             : }
   39921             : 
   39922             : 
   39923           0 : XS(_wrap_colorObj_alpha_get) {
   39924             :   {
   39925             :     colorObj *arg1 = (colorObj *) 0 ;
   39926           0 :     void *argp1 = 0 ;
   39927             :     int res1 = 0 ;
   39928             :     int argvi = 0;
   39929             :     int result;
   39930           0 :     dXSARGS;
   39931             :     
   39932           0 :     if ((items < 1) || (items > 1)) {
   39933           0 :       SWIG_croak("Usage: colorObj_alpha_get(self);");
   39934             :     }
   39935           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_colorObj, 0 |  0 );
   39936           0 :     if (!SWIG_IsOK(res1)) {
   39937           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "colorObj_alpha_get" "', argument " "1"" of type '" "colorObj *""'"); 
   39938             :     }
   39939           0 :     arg1 = (colorObj *)(argp1);
   39940           0 :     result = (int) ((arg1)->alpha);
   39941           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   39942             :     
   39943           0 :     XSRETURN(argvi);
   39944           0 :   fail:
   39945             :     
   39946           0 :     SWIG_croak_null();
   39947             :   }
   39948             : }
   39949             : 
   39950             : 
   39951           0 : XS(_wrap_new_colorObj) {
   39952             :   {
   39953             :     int arg1 = (int) 0 ;
   39954             :     int arg2 = (int) 0 ;
   39955             :     int arg3 = (int) 0 ;
   39956             :     int arg4 = (int) 255 ;
   39957             :     int val1 ;
   39958             :     int ecode1 = 0 ;
   39959             :     int val2 ;
   39960             :     int ecode2 = 0 ;
   39961             :     int val3 ;
   39962             :     int ecode3 = 0 ;
   39963             :     int val4 ;
   39964             :     int ecode4 = 0 ;
   39965             :     int argvi = 0;
   39966             :     colorObj *result = 0 ;
   39967           0 :     dXSARGS;
   39968             :     
   39969           0 :     if ((items < 0) || (items > 4)) {
   39970           0 :       SWIG_croak("Usage: new_colorObj(red,green,blue,alpha);");
   39971             :     }
   39972           0 :     if (items > 0) {
   39973           0 :       ecode1 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(0), &val1);
   39974           0 :       if (!SWIG_IsOK(ecode1)) {
   39975           0 :         SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "new_colorObj" "', argument " "1"" of type '" "int""'");
   39976             :       } 
   39977             :       arg1 = (int)(val1);
   39978             :     }
   39979           0 :     if (items > 1) {
   39980           0 :       ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   39981           0 :       if (!SWIG_IsOK(ecode2)) {
   39982           0 :         SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_colorObj" "', argument " "2"" of type '" "int""'");
   39983             :       } 
   39984             :       arg2 = (int)(val2);
   39985             :     }
   39986           0 :     if (items > 2) {
   39987           0 :       ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
   39988           0 :       if (!SWIG_IsOK(ecode3)) {
   39989           0 :         SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_colorObj" "', argument " "3"" of type '" "int""'");
   39990             :       } 
   39991             :       arg3 = (int)(val3);
   39992             :     }
   39993           0 :     if (items > 3) {
   39994           0 :       ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
   39995           0 :       if (!SWIG_IsOK(ecode4)) {
   39996           0 :         SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_colorObj" "', argument " "4"" of type '" "int""'");
   39997             :       } 
   39998             :       arg4 = (int)(val4);
   39999             :     }
   40000           0 :     result = (colorObj *)new_colorObj(arg1,arg2,arg3,arg4);
   40001           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_colorObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   40002             :     
   40003             :     
   40004             :     
   40005             :     
   40006           0 :     XSRETURN(argvi);
   40007           0 :   fail:
   40008             :     
   40009             :     
   40010             :     
   40011             :     
   40012           0 :     SWIG_croak_null();
   40013             :   }
   40014             : }
   40015             : 
   40016             : 
   40017           0 : XS(_wrap_delete_colorObj) {
   40018             :   {
   40019             :     colorObj *arg1 = (colorObj *) 0 ;
   40020           0 :     void *argp1 = 0 ;
   40021             :     int res1 = 0 ;
   40022             :     int argvi = 0;
   40023           0 :     dXSARGS;
   40024             :     
   40025           0 :     if ((items < 1) || (items > 1)) {
   40026           0 :       SWIG_croak("Usage: delete_colorObj(self);");
   40027             :     }
   40028           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_colorObj, SWIG_POINTER_DISOWN |  0 );
   40029           0 :     if (!SWIG_IsOK(res1)) {
   40030           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_colorObj" "', argument " "1"" of type '" "colorObj *""'"); 
   40031             :     }
   40032           0 :     arg1 = (colorObj *)(argp1);
   40033             :     delete_colorObj(arg1);
   40034           0 :     ST(argvi) = sv_newmortal();
   40035             :     
   40036           0 :     XSRETURN(argvi);
   40037           0 :   fail:
   40038             :     
   40039           0 :     SWIG_croak_null();
   40040             :   }
   40041             : }
   40042             : 
   40043             : 
   40044           0 : XS(_wrap_colorObj_setRGB) {
   40045             :   {
   40046             :     colorObj *arg1 = (colorObj *) 0 ;
   40047             :     int arg2 ;
   40048             :     int arg3 ;
   40049             :     int arg4 ;
   40050             :     int arg5 = (int) 255 ;
   40051           0 :     void *argp1 = 0 ;
   40052             :     int res1 = 0 ;
   40053             :     int val2 ;
   40054             :     int ecode2 = 0 ;
   40055             :     int val3 ;
   40056             :     int ecode3 = 0 ;
   40057             :     int val4 ;
   40058             :     int ecode4 = 0 ;
   40059             :     int val5 ;
   40060             :     int ecode5 = 0 ;
   40061             :     int argvi = 0;
   40062             :     int result;
   40063           0 :     dXSARGS;
   40064             :     
   40065           0 :     if ((items < 4) || (items > 5)) {
   40066           0 :       SWIG_croak("Usage: colorObj_setRGB(self,red,green,blue,alpha);");
   40067             :     }
   40068           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_colorObj, 0 |  0 );
   40069           0 :     if (!SWIG_IsOK(res1)) {
   40070           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "colorObj_setRGB" "', argument " "1"" of type '" "colorObj *""'"); 
   40071             :     }
   40072           0 :     arg1 = (colorObj *)(argp1);
   40073           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   40074           0 :     if (!SWIG_IsOK(ecode2)) {
   40075           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "colorObj_setRGB" "', argument " "2"" of type '" "int""'");
   40076             :     } 
   40077             :     arg2 = (int)(val2);
   40078           0 :     ecode3 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(2), &val3);
   40079           0 :     if (!SWIG_IsOK(ecode3)) {
   40080           0 :       SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "colorObj_setRGB" "', argument " "3"" of type '" "int""'");
   40081             :     } 
   40082             :     arg3 = (int)(val3);
   40083           0 :     ecode4 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(3), &val4);
   40084           0 :     if (!SWIG_IsOK(ecode4)) {
   40085           0 :       SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "colorObj_setRGB" "', argument " "4"" of type '" "int""'");
   40086             :     } 
   40087             :     arg4 = (int)(val4);
   40088           0 :     if (items > 4) {
   40089           0 :       ecode5 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(4), &val5);
   40090           0 :       if (!SWIG_IsOK(ecode5)) {
   40091           0 :         SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "colorObj_setRGB" "', argument " "5"" of type '" "int""'");
   40092             :       } 
   40093             :       arg5 = (int)(val5);
   40094             :     }
   40095           0 :     result = (int)colorObj_setRGB(arg1,arg2,arg3,arg4,arg5);
   40096           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   40097             :     
   40098             :     
   40099             :     
   40100             :     
   40101             :     
   40102           0 :     XSRETURN(argvi);
   40103           0 :   fail:
   40104             :     
   40105             :     
   40106             :     
   40107             :     
   40108             :     
   40109           0 :     SWIG_croak_null();
   40110             :   }
   40111             : }
   40112             : 
   40113             : 
   40114           0 : XS(_wrap_colorObj_setHex) {
   40115             :   {
   40116             :     colorObj *arg1 = (colorObj *) 0 ;
   40117             :     char *arg2 = (char *) 0 ;
   40118           0 :     void *argp1 = 0 ;
   40119             :     int res1 = 0 ;
   40120             :     int res2 ;
   40121           0 :     char *buf2 = 0 ;
   40122           0 :     int alloc2 = 0 ;
   40123             :     int argvi = 0;
   40124             :     int result;
   40125           0 :     dXSARGS;
   40126             :     
   40127           0 :     if ((items < 2) || (items > 2)) {
   40128           0 :       SWIG_croak("Usage: colorObj_setHex(self,psHexColor);");
   40129             :     }
   40130           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_colorObj, 0 |  0 );
   40131           0 :     if (!SWIG_IsOK(res1)) {
   40132           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "colorObj_setHex" "', argument " "1"" of type '" "colorObj *""'"); 
   40133             :     }
   40134           0 :     arg1 = (colorObj *)(argp1);
   40135           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   40136           0 :     if (!SWIG_IsOK(res2)) {
   40137           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "colorObj_setHex" "', argument " "2"" of type '" "char *""'");
   40138             :     }
   40139           0 :     arg2 = (char *)(buf2);
   40140           0 :     result = (int)colorObj_setHex(arg1,arg2);
   40141           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   40142             :     
   40143           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   40144           0 :     XSRETURN(argvi);
   40145           0 :   fail:
   40146             :     
   40147           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   40148           0 :     SWIG_croak_null();
   40149             :   }
   40150             : }
   40151             : 
   40152             : 
   40153           0 : XS(_wrap_colorObj_toHex) {
   40154             :   {
   40155             :     colorObj *arg1 = (colorObj *) 0 ;
   40156           0 :     void *argp1 = 0 ;
   40157             :     int res1 = 0 ;
   40158             :     int argvi = 0;
   40159             :     char *result = 0 ;
   40160           0 :     dXSARGS;
   40161             :     
   40162           0 :     if ((items < 1) || (items > 1)) {
   40163           0 :       SWIG_croak("Usage: colorObj_toHex(self);");
   40164             :     }
   40165           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_colorObj, 0 |  0 );
   40166           0 :     if (!SWIG_IsOK(res1)) {
   40167           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "colorObj_toHex" "', argument " "1"" of type '" "colorObj *""'"); 
   40168             :     }
   40169           0 :     arg1 = (colorObj *)(argp1);
   40170           0 :     result = (char *)colorObj_toHex(arg1);
   40171           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   40172             :     
   40173           0 :     free((char*)result);
   40174           0 :     XSRETURN(argvi);
   40175           0 :   fail:
   40176             :     
   40177           0 :     SWIG_croak_null();
   40178             :   }
   40179             : }
   40180             : 
   40181             : 
   40182           0 : XS(_wrap_symbolObj_name_set) {
   40183             :   {
   40184             :     struct symbolObj *arg1 = (struct symbolObj *) 0 ;
   40185             :     char *arg2 = (char *) 0 ;
   40186           0 :     void *argp1 = 0 ;
   40187             :     int res1 = 0 ;
   40188             :     int res2 ;
   40189           0 :     char *buf2 = 0 ;
   40190           0 :     int alloc2 = 0 ;
   40191             :     int argvi = 0;
   40192           0 :     dXSARGS;
   40193             :     
   40194           0 :     if ((items < 2) || (items > 2)) {
   40195           0 :       SWIG_croak("Usage: symbolObj_name_set(self,name);");
   40196             :     }
   40197           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 |  0 );
   40198           0 :     if (!SWIG_IsOK(res1)) {
   40199           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_name_set" "', argument " "1"" of type '" "struct symbolObj *""'"); 
   40200             :     }
   40201           0 :     arg1 = (struct symbolObj *)(argp1);
   40202           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   40203           0 :     if (!SWIG_IsOK(res2)) {
   40204           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "symbolObj_name_set" "', argument " "2"" of type '" "char *""'");
   40205             :     }
   40206           0 :     arg2 = (char *)(buf2);
   40207             :     {
   40208           0 :       if (arg1->name) free((char*)arg1->name);
   40209           0 :       if (arg2) {
   40210           0 :         arg1->name = (char *) malloc(strlen(arg2)+1);
   40211             :         strcpy((char*)arg1->name,arg2);
   40212             :       } else {
   40213           0 :         arg1->name = 0;
   40214             :       }
   40215             :     }
   40216           0 :     ST(argvi) = sv_newmortal();
   40217             :     
   40218           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   40219           0 :     XSRETURN(argvi);
   40220           0 :   fail:
   40221             :     
   40222           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   40223           0 :     SWIG_croak_null();
   40224             :   }
   40225             : }
   40226             : 
   40227             : 
   40228           0 : XS(_wrap_symbolObj_name_get) {
   40229             :   {
   40230             :     struct symbolObj *arg1 = (struct symbolObj *) 0 ;
   40231           0 :     void *argp1 = 0 ;
   40232             :     int res1 = 0 ;
   40233             :     int argvi = 0;
   40234             :     char *result = 0 ;
   40235           0 :     dXSARGS;
   40236             :     
   40237           0 :     if ((items < 1) || (items > 1)) {
   40238           0 :       SWIG_croak("Usage: symbolObj_name_get(self);");
   40239             :     }
   40240           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 |  0 );
   40241           0 :     if (!SWIG_IsOK(res1)) {
   40242           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_name_get" "', argument " "1"" of type '" "struct symbolObj *""'"); 
   40243             :     }
   40244           0 :     arg1 = (struct symbolObj *)(argp1);
   40245           0 :     result = (char *) ((arg1)->name);
   40246           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   40247             :     
   40248           0 :     XSRETURN(argvi);
   40249           0 :   fail:
   40250             :     
   40251           0 :     SWIG_croak_null();
   40252             :   }
   40253             : }
   40254             : 
   40255             : 
   40256           0 : XS(_wrap_symbolObj_type_set) {
   40257             :   {
   40258             :     struct symbolObj *arg1 = (struct symbolObj *) 0 ;
   40259             :     int arg2 ;
   40260           0 :     void *argp1 = 0 ;
   40261             :     int res1 = 0 ;
   40262             :     int val2 ;
   40263             :     int ecode2 = 0 ;
   40264             :     int argvi = 0;
   40265           0 :     dXSARGS;
   40266             :     
   40267           0 :     if ((items < 2) || (items > 2)) {
   40268           0 :       SWIG_croak("Usage: symbolObj_type_set(self,type);");
   40269             :     }
   40270           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 |  0 );
   40271           0 :     if (!SWIG_IsOK(res1)) {
   40272           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_type_set" "', argument " "1"" of type '" "struct symbolObj *""'"); 
   40273             :     }
   40274           0 :     arg1 = (struct symbolObj *)(argp1);
   40275           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   40276           0 :     if (!SWIG_IsOK(ecode2)) {
   40277           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "symbolObj_type_set" "', argument " "2"" of type '" "int""'");
   40278             :     } 
   40279             :     arg2 = (int)(val2);
   40280           0 :     if (arg1) (arg1)->type = arg2;
   40281           0 :     ST(argvi) = sv_newmortal();
   40282             :     
   40283             :     
   40284           0 :     XSRETURN(argvi);
   40285           0 :   fail:
   40286             :     
   40287             :     
   40288           0 :     SWIG_croak_null();
   40289             :   }
   40290             : }
   40291             : 
   40292             : 
   40293           0 : XS(_wrap_symbolObj_type_get) {
   40294             :   {
   40295             :     struct symbolObj *arg1 = (struct symbolObj *) 0 ;
   40296           0 :     void *argp1 = 0 ;
   40297             :     int res1 = 0 ;
   40298             :     int argvi = 0;
   40299             :     int result;
   40300           0 :     dXSARGS;
   40301             :     
   40302           0 :     if ((items < 1) || (items > 1)) {
   40303           0 :       SWIG_croak("Usage: symbolObj_type_get(self);");
   40304             :     }
   40305           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 |  0 );
   40306           0 :     if (!SWIG_IsOK(res1)) {
   40307           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_type_get" "', argument " "1"" of type '" "struct symbolObj *""'"); 
   40308             :     }
   40309           0 :     arg1 = (struct symbolObj *)(argp1);
   40310           0 :     result = (int) ((arg1)->type);
   40311           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   40312             :     
   40313           0 :     XSRETURN(argvi);
   40314           0 :   fail:
   40315             :     
   40316           0 :     SWIG_croak_null();
   40317             :   }
   40318             : }
   40319             : 
   40320             : 
   40321           0 : XS(_wrap_symbolObj_inmapfile_set) {
   40322             :   {
   40323             :     struct symbolObj *arg1 = (struct symbolObj *) 0 ;
   40324             :     int arg2 ;
   40325           0 :     void *argp1 = 0 ;
   40326             :     int res1 = 0 ;
   40327             :     int val2 ;
   40328             :     int ecode2 = 0 ;
   40329             :     int argvi = 0;
   40330           0 :     dXSARGS;
   40331             :     
   40332           0 :     if ((items < 2) || (items > 2)) {
   40333           0 :       SWIG_croak("Usage: symbolObj_inmapfile_set(self,inmapfile);");
   40334             :     }
   40335           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 |  0 );
   40336           0 :     if (!SWIG_IsOK(res1)) {
   40337           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_inmapfile_set" "', argument " "1"" of type '" "struct symbolObj *""'"); 
   40338             :     }
   40339           0 :     arg1 = (struct symbolObj *)(argp1);
   40340           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   40341           0 :     if (!SWIG_IsOK(ecode2)) {
   40342           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "symbolObj_inmapfile_set" "', argument " "2"" of type '" "int""'");
   40343             :     } 
   40344             :     arg2 = (int)(val2);
   40345           0 :     if (arg1) (arg1)->inmapfile = arg2;
   40346           0 :     ST(argvi) = sv_newmortal();
   40347             :     
   40348             :     
   40349           0 :     XSRETURN(argvi);
   40350           0 :   fail:
   40351             :     
   40352             :     
   40353           0 :     SWIG_croak_null();
   40354             :   }
   40355             : }
   40356             : 
   40357             : 
   40358           0 : XS(_wrap_symbolObj_inmapfile_get) {
   40359             :   {
   40360             :     struct symbolObj *arg1 = (struct symbolObj *) 0 ;
   40361           0 :     void *argp1 = 0 ;
   40362             :     int res1 = 0 ;
   40363             :     int argvi = 0;
   40364             :     int result;
   40365           0 :     dXSARGS;
   40366             :     
   40367           0 :     if ((items < 1) || (items > 1)) {
   40368           0 :       SWIG_croak("Usage: symbolObj_inmapfile_get(self);");
   40369             :     }
   40370           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 |  0 );
   40371           0 :     if (!SWIG_IsOK(res1)) {
   40372           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_inmapfile_get" "', argument " "1"" of type '" "struct symbolObj *""'"); 
   40373             :     }
   40374           0 :     arg1 = (struct symbolObj *)(argp1);
   40375           0 :     result = (int) ((arg1)->inmapfile);
   40376           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   40377             :     
   40378           0 :     XSRETURN(argvi);
   40379           0 :   fail:
   40380             :     
   40381           0 :     SWIG_croak_null();
   40382             :   }
   40383             : }
   40384             : 
   40385             : 
   40386           0 : XS(_wrap_symbolObj_sizex_set) {
   40387             :   {
   40388             :     struct symbolObj *arg1 = (struct symbolObj *) 0 ;
   40389             :     double arg2 ;
   40390           0 :     void *argp1 = 0 ;
   40391             :     int res1 = 0 ;
   40392             :     double val2 ;
   40393             :     int ecode2 = 0 ;
   40394             :     int argvi = 0;
   40395           0 :     dXSARGS;
   40396             :     
   40397           0 :     if ((items < 2) || (items > 2)) {
   40398           0 :       SWIG_croak("Usage: symbolObj_sizex_set(self,sizex);");
   40399             :     }
   40400           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 |  0 );
   40401           0 :     if (!SWIG_IsOK(res1)) {
   40402           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_sizex_set" "', argument " "1"" of type '" "struct symbolObj *""'"); 
   40403             :     }
   40404           0 :     arg1 = (struct symbolObj *)(argp1);
   40405           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   40406           0 :     if (!SWIG_IsOK(ecode2)) {
   40407           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "symbolObj_sizex_set" "', argument " "2"" of type '" "double""'");
   40408             :     } 
   40409           0 :     arg2 = (double)(val2);
   40410           0 :     if (arg1) (arg1)->sizex = arg2;
   40411           0 :     ST(argvi) = sv_newmortal();
   40412             :     
   40413             :     
   40414           0 :     XSRETURN(argvi);
   40415           0 :   fail:
   40416             :     
   40417             :     
   40418           0 :     SWIG_croak_null();
   40419             :   }
   40420             : }
   40421             : 
   40422             : 
   40423           0 : XS(_wrap_symbolObj_sizex_get) {
   40424             :   {
   40425             :     struct symbolObj *arg1 = (struct symbolObj *) 0 ;
   40426           0 :     void *argp1 = 0 ;
   40427             :     int res1 = 0 ;
   40428             :     int argvi = 0;
   40429             :     double result;
   40430           0 :     dXSARGS;
   40431             :     
   40432           0 :     if ((items < 1) || (items > 1)) {
   40433           0 :       SWIG_croak("Usage: symbolObj_sizex_get(self);");
   40434             :     }
   40435           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 |  0 );
   40436           0 :     if (!SWIG_IsOK(res1)) {
   40437           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_sizex_get" "', argument " "1"" of type '" "struct symbolObj *""'"); 
   40438             :     }
   40439           0 :     arg1 = (struct symbolObj *)(argp1);
   40440           0 :     result = (double) ((arg1)->sizex);
   40441           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   40442             :     
   40443           0 :     XSRETURN(argvi);
   40444           0 :   fail:
   40445             :     
   40446           0 :     SWIG_croak_null();
   40447             :   }
   40448             : }
   40449             : 
   40450             : 
   40451           0 : XS(_wrap_symbolObj_sizey_set) {
   40452             :   {
   40453             :     struct symbolObj *arg1 = (struct symbolObj *) 0 ;
   40454             :     double arg2 ;
   40455           0 :     void *argp1 = 0 ;
   40456             :     int res1 = 0 ;
   40457             :     double val2 ;
   40458             :     int ecode2 = 0 ;
   40459             :     int argvi = 0;
   40460           0 :     dXSARGS;
   40461             :     
   40462           0 :     if ((items < 2) || (items > 2)) {
   40463           0 :       SWIG_croak("Usage: symbolObj_sizey_set(self,sizey);");
   40464             :     }
   40465           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 |  0 );
   40466           0 :     if (!SWIG_IsOK(res1)) {
   40467           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_sizey_set" "', argument " "1"" of type '" "struct symbolObj *""'"); 
   40468             :     }
   40469           0 :     arg1 = (struct symbolObj *)(argp1);
   40470           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   40471           0 :     if (!SWIG_IsOK(ecode2)) {
   40472           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "symbolObj_sizey_set" "', argument " "2"" of type '" "double""'");
   40473             :     } 
   40474           0 :     arg2 = (double)(val2);
   40475           0 :     if (arg1) (arg1)->sizey = arg2;
   40476           0 :     ST(argvi) = sv_newmortal();
   40477             :     
   40478             :     
   40479           0 :     XSRETURN(argvi);
   40480           0 :   fail:
   40481             :     
   40482             :     
   40483           0 :     SWIG_croak_null();
   40484             :   }
   40485             : }
   40486             : 
   40487             : 
   40488           0 : XS(_wrap_symbolObj_sizey_get) {
   40489             :   {
   40490             :     struct symbolObj *arg1 = (struct symbolObj *) 0 ;
   40491           0 :     void *argp1 = 0 ;
   40492             :     int res1 = 0 ;
   40493             :     int argvi = 0;
   40494             :     double result;
   40495           0 :     dXSARGS;
   40496             :     
   40497           0 :     if ((items < 1) || (items > 1)) {
   40498           0 :       SWIG_croak("Usage: symbolObj_sizey_get(self);");
   40499             :     }
   40500           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 |  0 );
   40501           0 :     if (!SWIG_IsOK(res1)) {
   40502           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_sizey_get" "', argument " "1"" of type '" "struct symbolObj *""'"); 
   40503             :     }
   40504           0 :     arg1 = (struct symbolObj *)(argp1);
   40505           0 :     result = (double) ((arg1)->sizey);
   40506           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   40507             :     
   40508           0 :     XSRETURN(argvi);
   40509           0 :   fail:
   40510             :     
   40511           0 :     SWIG_croak_null();
   40512             :   }
   40513             : }
   40514             : 
   40515             : 
   40516           0 : XS(_wrap_symbolObj_minx_set) {
   40517             :   {
   40518             :     struct symbolObj *arg1 = (struct symbolObj *) 0 ;
   40519             :     double arg2 ;
   40520           0 :     void *argp1 = 0 ;
   40521             :     int res1 = 0 ;
   40522             :     double val2 ;
   40523             :     int ecode2 = 0 ;
   40524             :     int argvi = 0;
   40525           0 :     dXSARGS;
   40526             :     
   40527           0 :     if ((items < 2) || (items > 2)) {
   40528           0 :       SWIG_croak("Usage: symbolObj_minx_set(self,minx);");
   40529             :     }
   40530           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 |  0 );
   40531           0 :     if (!SWIG_IsOK(res1)) {
   40532           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_minx_set" "', argument " "1"" of type '" "struct symbolObj *""'"); 
   40533             :     }
   40534           0 :     arg1 = (struct symbolObj *)(argp1);
   40535           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   40536           0 :     if (!SWIG_IsOK(ecode2)) {
   40537           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "symbolObj_minx_set" "', argument " "2"" of type '" "double""'");
   40538             :     } 
   40539           0 :     arg2 = (double)(val2);
   40540           0 :     if (arg1) (arg1)->minx = arg2;
   40541           0 :     ST(argvi) = sv_newmortal();
   40542             :     
   40543             :     
   40544           0 :     XSRETURN(argvi);
   40545           0 :   fail:
   40546             :     
   40547             :     
   40548           0 :     SWIG_croak_null();
   40549             :   }
   40550             : }
   40551             : 
   40552             : 
   40553           0 : XS(_wrap_symbolObj_minx_get) {
   40554             :   {
   40555             :     struct symbolObj *arg1 = (struct symbolObj *) 0 ;
   40556           0 :     void *argp1 = 0 ;
   40557             :     int res1 = 0 ;
   40558             :     int argvi = 0;
   40559             :     double result;
   40560           0 :     dXSARGS;
   40561             :     
   40562           0 :     if ((items < 1) || (items > 1)) {
   40563           0 :       SWIG_croak("Usage: symbolObj_minx_get(self);");
   40564             :     }
   40565           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 |  0 );
   40566           0 :     if (!SWIG_IsOK(res1)) {
   40567           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_minx_get" "', argument " "1"" of type '" "struct symbolObj *""'"); 
   40568             :     }
   40569           0 :     arg1 = (struct symbolObj *)(argp1);
   40570           0 :     result = (double) ((arg1)->minx);
   40571           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   40572             :     
   40573           0 :     XSRETURN(argvi);
   40574           0 :   fail:
   40575             :     
   40576           0 :     SWIG_croak_null();
   40577             :   }
   40578             : }
   40579             : 
   40580             : 
   40581           0 : XS(_wrap_symbolObj_miny_set) {
   40582             :   {
   40583             :     struct symbolObj *arg1 = (struct symbolObj *) 0 ;
   40584             :     double arg2 ;
   40585           0 :     void *argp1 = 0 ;
   40586             :     int res1 = 0 ;
   40587             :     double val2 ;
   40588             :     int ecode2 = 0 ;
   40589             :     int argvi = 0;
   40590           0 :     dXSARGS;
   40591             :     
   40592           0 :     if ((items < 2) || (items > 2)) {
   40593           0 :       SWIG_croak("Usage: symbolObj_miny_set(self,miny);");
   40594             :     }
   40595           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 |  0 );
   40596           0 :     if (!SWIG_IsOK(res1)) {
   40597           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_miny_set" "', argument " "1"" of type '" "struct symbolObj *""'"); 
   40598             :     }
   40599           0 :     arg1 = (struct symbolObj *)(argp1);
   40600           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   40601           0 :     if (!SWIG_IsOK(ecode2)) {
   40602           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "symbolObj_miny_set" "', argument " "2"" of type '" "double""'");
   40603             :     } 
   40604           0 :     arg2 = (double)(val2);
   40605           0 :     if (arg1) (arg1)->miny = arg2;
   40606           0 :     ST(argvi) = sv_newmortal();
   40607             :     
   40608             :     
   40609           0 :     XSRETURN(argvi);
   40610           0 :   fail:
   40611             :     
   40612             :     
   40613           0 :     SWIG_croak_null();
   40614             :   }
   40615             : }
   40616             : 
   40617             : 
   40618           0 : XS(_wrap_symbolObj_miny_get) {
   40619             :   {
   40620             :     struct symbolObj *arg1 = (struct symbolObj *) 0 ;
   40621           0 :     void *argp1 = 0 ;
   40622             :     int res1 = 0 ;
   40623             :     int argvi = 0;
   40624             :     double result;
   40625           0 :     dXSARGS;
   40626             :     
   40627           0 :     if ((items < 1) || (items > 1)) {
   40628           0 :       SWIG_croak("Usage: symbolObj_miny_get(self);");
   40629             :     }
   40630           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 |  0 );
   40631           0 :     if (!SWIG_IsOK(res1)) {
   40632           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_miny_get" "', argument " "1"" of type '" "struct symbolObj *""'"); 
   40633             :     }
   40634           0 :     arg1 = (struct symbolObj *)(argp1);
   40635           0 :     result = (double) ((arg1)->miny);
   40636           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   40637             :     
   40638           0 :     XSRETURN(argvi);
   40639           0 :   fail:
   40640             :     
   40641           0 :     SWIG_croak_null();
   40642             :   }
   40643             : }
   40644             : 
   40645             : 
   40646           0 : XS(_wrap_symbolObj_maxx_set) {
   40647             :   {
   40648             :     struct symbolObj *arg1 = (struct symbolObj *) 0 ;
   40649             :     double arg2 ;
   40650           0 :     void *argp1 = 0 ;
   40651             :     int res1 = 0 ;
   40652             :     double val2 ;
   40653             :     int ecode2 = 0 ;
   40654             :     int argvi = 0;
   40655           0 :     dXSARGS;
   40656             :     
   40657           0 :     if ((items < 2) || (items > 2)) {
   40658           0 :       SWIG_croak("Usage: symbolObj_maxx_set(self,maxx);");
   40659             :     }
   40660           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 |  0 );
   40661           0 :     if (!SWIG_IsOK(res1)) {
   40662           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_maxx_set" "', argument " "1"" of type '" "struct symbolObj *""'"); 
   40663             :     }
   40664           0 :     arg1 = (struct symbolObj *)(argp1);
   40665           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   40666           0 :     if (!SWIG_IsOK(ecode2)) {
   40667           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "symbolObj_maxx_set" "', argument " "2"" of type '" "double""'");
   40668             :     } 
   40669           0 :     arg2 = (double)(val2);
   40670           0 :     if (arg1) (arg1)->maxx = arg2;
   40671           0 :     ST(argvi) = sv_newmortal();
   40672             :     
   40673             :     
   40674           0 :     XSRETURN(argvi);
   40675           0 :   fail:
   40676             :     
   40677             :     
   40678           0 :     SWIG_croak_null();
   40679             :   }
   40680             : }
   40681             : 
   40682             : 
   40683           0 : XS(_wrap_symbolObj_maxx_get) {
   40684             :   {
   40685             :     struct symbolObj *arg1 = (struct symbolObj *) 0 ;
   40686           0 :     void *argp1 = 0 ;
   40687             :     int res1 = 0 ;
   40688             :     int argvi = 0;
   40689             :     double result;
   40690           0 :     dXSARGS;
   40691             :     
   40692           0 :     if ((items < 1) || (items > 1)) {
   40693           0 :       SWIG_croak("Usage: symbolObj_maxx_get(self);");
   40694             :     }
   40695           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 |  0 );
   40696           0 :     if (!SWIG_IsOK(res1)) {
   40697           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_maxx_get" "', argument " "1"" of type '" "struct symbolObj *""'"); 
   40698             :     }
   40699           0 :     arg1 = (struct symbolObj *)(argp1);
   40700           0 :     result = (double) ((arg1)->maxx);
   40701           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   40702             :     
   40703           0 :     XSRETURN(argvi);
   40704           0 :   fail:
   40705             :     
   40706           0 :     SWIG_croak_null();
   40707             :   }
   40708             : }
   40709             : 
   40710             : 
   40711           0 : XS(_wrap_symbolObj_maxy_set) {
   40712             :   {
   40713             :     struct symbolObj *arg1 = (struct symbolObj *) 0 ;
   40714             :     double arg2 ;
   40715           0 :     void *argp1 = 0 ;
   40716             :     int res1 = 0 ;
   40717             :     double val2 ;
   40718             :     int ecode2 = 0 ;
   40719             :     int argvi = 0;
   40720           0 :     dXSARGS;
   40721             :     
   40722           0 :     if ((items < 2) || (items > 2)) {
   40723           0 :       SWIG_croak("Usage: symbolObj_maxy_set(self,maxy);");
   40724             :     }
   40725           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 |  0 );
   40726           0 :     if (!SWIG_IsOK(res1)) {
   40727           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_maxy_set" "', argument " "1"" of type '" "struct symbolObj *""'"); 
   40728             :     }
   40729           0 :     arg1 = (struct symbolObj *)(argp1);
   40730           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   40731           0 :     if (!SWIG_IsOK(ecode2)) {
   40732           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "symbolObj_maxy_set" "', argument " "2"" of type '" "double""'");
   40733             :     } 
   40734           0 :     arg2 = (double)(val2);
   40735           0 :     if (arg1) (arg1)->maxy = arg2;
   40736           0 :     ST(argvi) = sv_newmortal();
   40737             :     
   40738             :     
   40739           0 :     XSRETURN(argvi);
   40740           0 :   fail:
   40741             :     
   40742             :     
   40743           0 :     SWIG_croak_null();
   40744             :   }
   40745             : }
   40746             : 
   40747             : 
   40748           0 : XS(_wrap_symbolObj_maxy_get) {
   40749             :   {
   40750             :     struct symbolObj *arg1 = (struct symbolObj *) 0 ;
   40751           0 :     void *argp1 = 0 ;
   40752             :     int res1 = 0 ;
   40753             :     int argvi = 0;
   40754             :     double result;
   40755           0 :     dXSARGS;
   40756             :     
   40757           0 :     if ((items < 1) || (items > 1)) {
   40758           0 :       SWIG_croak("Usage: symbolObj_maxy_get(self);");
   40759             :     }
   40760           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 |  0 );
   40761           0 :     if (!SWIG_IsOK(res1)) {
   40762           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_maxy_get" "', argument " "1"" of type '" "struct symbolObj *""'"); 
   40763             :     }
   40764           0 :     arg1 = (struct symbolObj *)(argp1);
   40765           0 :     result = (double) ((arg1)->maxy);
   40766           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   40767             :     
   40768           0 :     XSRETURN(argvi);
   40769           0 :   fail:
   40770             :     
   40771           0 :     SWIG_croak_null();
   40772             :   }
   40773             : }
   40774             : 
   40775             : 
   40776           0 : XS(_wrap_symbolObj_refcount_get) {
   40777             :   {
   40778             :     struct symbolObj *arg1 = (struct symbolObj *) 0 ;
   40779           0 :     void *argp1 = 0 ;
   40780             :     int res1 = 0 ;
   40781             :     int argvi = 0;
   40782             :     int result;
   40783           0 :     dXSARGS;
   40784             :     
   40785           0 :     if ((items < 1) || (items > 1)) {
   40786           0 :       SWIG_croak("Usage: symbolObj_refcount_get(self);");
   40787             :     }
   40788           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 |  0 );
   40789           0 :     if (!SWIG_IsOK(res1)) {
   40790           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_refcount_get" "', argument " "1"" of type '" "struct symbolObj *""'"); 
   40791             :     }
   40792           0 :     arg1 = (struct symbolObj *)(argp1);
   40793           0 :     result = (int) ((arg1)->refcount);
   40794           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   40795             :     
   40796           0 :     XSRETURN(argvi);
   40797           0 :   fail:
   40798             :     
   40799           0 :     SWIG_croak_null();
   40800             :   }
   40801             : }
   40802             : 
   40803             : 
   40804           0 : XS(_wrap_symbolObj_numpoints_get) {
   40805             :   {
   40806             :     struct symbolObj *arg1 = (struct symbolObj *) 0 ;
   40807           0 :     void *argp1 = 0 ;
   40808             :     int res1 = 0 ;
   40809             :     int argvi = 0;
   40810             :     int result;
   40811           0 :     dXSARGS;
   40812             :     
   40813           0 :     if ((items < 1) || (items > 1)) {
   40814           0 :       SWIG_croak("Usage: symbolObj_numpoints_get(self);");
   40815             :     }
   40816           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 |  0 );
   40817           0 :     if (!SWIG_IsOK(res1)) {
   40818           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_numpoints_get" "', argument " "1"" of type '" "struct symbolObj *""'"); 
   40819             :     }
   40820           0 :     arg1 = (struct symbolObj *)(argp1);
   40821           0 :     result = (int) ((arg1)->numpoints);
   40822           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   40823             :     
   40824           0 :     XSRETURN(argvi);
   40825           0 :   fail:
   40826             :     
   40827           0 :     SWIG_croak_null();
   40828             :   }
   40829             : }
   40830             : 
   40831             : 
   40832           0 : XS(_wrap_symbolObj_filled_set) {
   40833             :   {
   40834             :     struct symbolObj *arg1 = (struct symbolObj *) 0 ;
   40835             :     int arg2 ;
   40836           0 :     void *argp1 = 0 ;
   40837             :     int res1 = 0 ;
   40838             :     int val2 ;
   40839             :     int ecode2 = 0 ;
   40840             :     int argvi = 0;
   40841           0 :     dXSARGS;
   40842             :     
   40843           0 :     if ((items < 2) || (items > 2)) {
   40844           0 :       SWIG_croak("Usage: symbolObj_filled_set(self,filled);");
   40845             :     }
   40846           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 |  0 );
   40847           0 :     if (!SWIG_IsOK(res1)) {
   40848           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_filled_set" "', argument " "1"" of type '" "struct symbolObj *""'"); 
   40849             :     }
   40850           0 :     arg1 = (struct symbolObj *)(argp1);
   40851           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   40852           0 :     if (!SWIG_IsOK(ecode2)) {
   40853           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "symbolObj_filled_set" "', argument " "2"" of type '" "int""'");
   40854             :     } 
   40855             :     arg2 = (int)(val2);
   40856           0 :     if (arg1) (arg1)->filled = arg2;
   40857           0 :     ST(argvi) = sv_newmortal();
   40858             :     
   40859             :     
   40860           0 :     XSRETURN(argvi);
   40861           0 :   fail:
   40862             :     
   40863             :     
   40864           0 :     SWIG_croak_null();
   40865             :   }
   40866             : }
   40867             : 
   40868             : 
   40869           0 : XS(_wrap_symbolObj_filled_get) {
   40870             :   {
   40871             :     struct symbolObj *arg1 = (struct symbolObj *) 0 ;
   40872           0 :     void *argp1 = 0 ;
   40873             :     int res1 = 0 ;
   40874             :     int argvi = 0;
   40875             :     int result;
   40876           0 :     dXSARGS;
   40877             :     
   40878           0 :     if ((items < 1) || (items > 1)) {
   40879           0 :       SWIG_croak("Usage: symbolObj_filled_get(self);");
   40880             :     }
   40881           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 |  0 );
   40882           0 :     if (!SWIG_IsOK(res1)) {
   40883           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_filled_get" "', argument " "1"" of type '" "struct symbolObj *""'"); 
   40884             :     }
   40885           0 :     arg1 = (struct symbolObj *)(argp1);
   40886           0 :     result = (int) ((arg1)->filled);
   40887           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   40888             :     
   40889           0 :     XSRETURN(argvi);
   40890           0 :   fail:
   40891             :     
   40892           0 :     SWIG_croak_null();
   40893             :   }
   40894             : }
   40895             : 
   40896             : 
   40897           0 : XS(_wrap_symbolObj_anchorpoint_x_set) {
   40898             :   {
   40899             :     struct symbolObj *arg1 = (struct symbolObj *) 0 ;
   40900             :     double arg2 ;
   40901           0 :     void *argp1 = 0 ;
   40902             :     int res1 = 0 ;
   40903             :     double val2 ;
   40904             :     int ecode2 = 0 ;
   40905             :     int argvi = 0;
   40906           0 :     dXSARGS;
   40907             :     
   40908           0 :     if ((items < 2) || (items > 2)) {
   40909           0 :       SWIG_croak("Usage: symbolObj_anchorpoint_x_set(self,anchorpoint_x);");
   40910             :     }
   40911           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 |  0 );
   40912           0 :     if (!SWIG_IsOK(res1)) {
   40913           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_anchorpoint_x_set" "', argument " "1"" of type '" "struct symbolObj *""'"); 
   40914             :     }
   40915           0 :     arg1 = (struct symbolObj *)(argp1);
   40916           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   40917           0 :     if (!SWIG_IsOK(ecode2)) {
   40918           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "symbolObj_anchorpoint_x_set" "', argument " "2"" of type '" "double""'");
   40919             :     } 
   40920           0 :     arg2 = (double)(val2);
   40921           0 :     if (arg1) (arg1)->anchorpoint_x = arg2;
   40922           0 :     ST(argvi) = sv_newmortal();
   40923             :     
   40924             :     
   40925           0 :     XSRETURN(argvi);
   40926           0 :   fail:
   40927             :     
   40928             :     
   40929           0 :     SWIG_croak_null();
   40930             :   }
   40931             : }
   40932             : 
   40933             : 
   40934           0 : XS(_wrap_symbolObj_anchorpoint_x_get) {
   40935             :   {
   40936             :     struct symbolObj *arg1 = (struct symbolObj *) 0 ;
   40937           0 :     void *argp1 = 0 ;
   40938             :     int res1 = 0 ;
   40939             :     int argvi = 0;
   40940             :     double result;
   40941           0 :     dXSARGS;
   40942             :     
   40943           0 :     if ((items < 1) || (items > 1)) {
   40944           0 :       SWIG_croak("Usage: symbolObj_anchorpoint_x_get(self);");
   40945             :     }
   40946           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 |  0 );
   40947           0 :     if (!SWIG_IsOK(res1)) {
   40948           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_anchorpoint_x_get" "', argument " "1"" of type '" "struct symbolObj *""'"); 
   40949             :     }
   40950           0 :     arg1 = (struct symbolObj *)(argp1);
   40951           0 :     result = (double) ((arg1)->anchorpoint_x);
   40952           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   40953             :     
   40954           0 :     XSRETURN(argvi);
   40955           0 :   fail:
   40956             :     
   40957           0 :     SWIG_croak_null();
   40958             :   }
   40959             : }
   40960             : 
   40961             : 
   40962           0 : XS(_wrap_symbolObj_anchorpoint_y_set) {
   40963             :   {
   40964             :     struct symbolObj *arg1 = (struct symbolObj *) 0 ;
   40965             :     double arg2 ;
   40966           0 :     void *argp1 = 0 ;
   40967             :     int res1 = 0 ;
   40968             :     double val2 ;
   40969             :     int ecode2 = 0 ;
   40970             :     int argvi = 0;
   40971           0 :     dXSARGS;
   40972             :     
   40973           0 :     if ((items < 2) || (items > 2)) {
   40974           0 :       SWIG_croak("Usage: symbolObj_anchorpoint_y_set(self,anchorpoint_y);");
   40975             :     }
   40976           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 |  0 );
   40977           0 :     if (!SWIG_IsOK(res1)) {
   40978           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_anchorpoint_y_set" "', argument " "1"" of type '" "struct symbolObj *""'"); 
   40979             :     }
   40980           0 :     arg1 = (struct symbolObj *)(argp1);
   40981           0 :     ecode2 = SWIG_AsVal_double SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   40982           0 :     if (!SWIG_IsOK(ecode2)) {
   40983           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "symbolObj_anchorpoint_y_set" "', argument " "2"" of type '" "double""'");
   40984             :     } 
   40985           0 :     arg2 = (double)(val2);
   40986           0 :     if (arg1) (arg1)->anchorpoint_y = arg2;
   40987           0 :     ST(argvi) = sv_newmortal();
   40988             :     
   40989             :     
   40990           0 :     XSRETURN(argvi);
   40991           0 :   fail:
   40992             :     
   40993             :     
   40994           0 :     SWIG_croak_null();
   40995             :   }
   40996             : }
   40997             : 
   40998             : 
   40999           0 : XS(_wrap_symbolObj_anchorpoint_y_get) {
   41000             :   {
   41001             :     struct symbolObj *arg1 = (struct symbolObj *) 0 ;
   41002           0 :     void *argp1 = 0 ;
   41003             :     int res1 = 0 ;
   41004             :     int argvi = 0;
   41005             :     double result;
   41006           0 :     dXSARGS;
   41007             :     
   41008           0 :     if ((items < 1) || (items > 1)) {
   41009           0 :       SWIG_croak("Usage: symbolObj_anchorpoint_y_get(self);");
   41010             :     }
   41011           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 |  0 );
   41012           0 :     if (!SWIG_IsOK(res1)) {
   41013           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_anchorpoint_y_get" "', argument " "1"" of type '" "struct symbolObj *""'"); 
   41014             :     }
   41015           0 :     arg1 = (struct symbolObj *)(argp1);
   41016           0 :     result = (double) ((arg1)->anchorpoint_y);
   41017           0 :     ST(argvi) = SWIG_From_double  SWIG_PERL_CALL_ARGS_1((double)(result)); argvi++ ;
   41018             :     
   41019           0 :     XSRETURN(argvi);
   41020           0 :   fail:
   41021             :     
   41022           0 :     SWIG_croak_null();
   41023             :   }
   41024             : }
   41025             : 
   41026             : 
   41027           0 : XS(_wrap_symbolObj_imagepath_get) {
   41028             :   {
   41029             :     struct symbolObj *arg1 = (struct symbolObj *) 0 ;
   41030           0 :     void *argp1 = 0 ;
   41031             :     int res1 = 0 ;
   41032             :     int argvi = 0;
   41033             :     char *result = 0 ;
   41034           0 :     dXSARGS;
   41035             :     
   41036           0 :     if ((items < 1) || (items > 1)) {
   41037           0 :       SWIG_croak("Usage: symbolObj_imagepath_get(self);");
   41038             :     }
   41039           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 |  0 );
   41040           0 :     if (!SWIG_IsOK(res1)) {
   41041           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_imagepath_get" "', argument " "1"" of type '" "struct symbolObj *""'"); 
   41042             :     }
   41043           0 :     arg1 = (struct symbolObj *)(argp1);
   41044           0 :     result = (char *) ((arg1)->imagepath);
   41045           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   41046             :     
   41047           0 :     XSRETURN(argvi);
   41048           0 :   fail:
   41049             :     
   41050           0 :     SWIG_croak_null();
   41051             :   }
   41052             : }
   41053             : 
   41054             : 
   41055           0 : XS(_wrap_symbolObj_transparent_set) {
   41056             :   {
   41057             :     struct symbolObj *arg1 = (struct symbolObj *) 0 ;
   41058             :     int arg2 ;
   41059           0 :     void *argp1 = 0 ;
   41060             :     int res1 = 0 ;
   41061             :     int val2 ;
   41062             :     int ecode2 = 0 ;
   41063             :     int argvi = 0;
   41064           0 :     dXSARGS;
   41065             :     
   41066           0 :     if ((items < 2) || (items > 2)) {
   41067           0 :       SWIG_croak("Usage: symbolObj_transparent_set(self,transparent);");
   41068             :     }
   41069           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 |  0 );
   41070           0 :     if (!SWIG_IsOK(res1)) {
   41071           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_transparent_set" "', argument " "1"" of type '" "struct symbolObj *""'"); 
   41072             :     }
   41073           0 :     arg1 = (struct symbolObj *)(argp1);
   41074           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   41075           0 :     if (!SWIG_IsOK(ecode2)) {
   41076           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "symbolObj_transparent_set" "', argument " "2"" of type '" "int""'");
   41077             :     } 
   41078             :     arg2 = (int)(val2);
   41079           0 :     if (arg1) (arg1)->transparent = arg2;
   41080           0 :     ST(argvi) = sv_newmortal();
   41081             :     
   41082             :     
   41083           0 :     XSRETURN(argvi);
   41084           0 :   fail:
   41085             :     
   41086             :     
   41087           0 :     SWIG_croak_null();
   41088             :   }
   41089             : }
   41090             : 
   41091             : 
   41092           0 : XS(_wrap_symbolObj_transparent_get) {
   41093             :   {
   41094             :     struct symbolObj *arg1 = (struct symbolObj *) 0 ;
   41095           0 :     void *argp1 = 0 ;
   41096             :     int res1 = 0 ;
   41097             :     int argvi = 0;
   41098             :     int result;
   41099           0 :     dXSARGS;
   41100             :     
   41101           0 :     if ((items < 1) || (items > 1)) {
   41102           0 :       SWIG_croak("Usage: symbolObj_transparent_get(self);");
   41103             :     }
   41104           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 |  0 );
   41105           0 :     if (!SWIG_IsOK(res1)) {
   41106           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_transparent_get" "', argument " "1"" of type '" "struct symbolObj *""'"); 
   41107             :     }
   41108           0 :     arg1 = (struct symbolObj *)(argp1);
   41109           0 :     result = (int) ((arg1)->transparent);
   41110           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   41111             :     
   41112           0 :     XSRETURN(argvi);
   41113           0 :   fail:
   41114             :     
   41115           0 :     SWIG_croak_null();
   41116             :   }
   41117             : }
   41118             : 
   41119             : 
   41120           0 : XS(_wrap_symbolObj_transparentcolor_set) {
   41121             :   {
   41122             :     struct symbolObj *arg1 = (struct symbolObj *) 0 ;
   41123             :     int arg2 ;
   41124           0 :     void *argp1 = 0 ;
   41125             :     int res1 = 0 ;
   41126             :     int val2 ;
   41127             :     int ecode2 = 0 ;
   41128             :     int argvi = 0;
   41129           0 :     dXSARGS;
   41130             :     
   41131           0 :     if ((items < 2) || (items > 2)) {
   41132           0 :       SWIG_croak("Usage: symbolObj_transparentcolor_set(self,transparentcolor);");
   41133             :     }
   41134           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 |  0 );
   41135           0 :     if (!SWIG_IsOK(res1)) {
   41136           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_transparentcolor_set" "', argument " "1"" of type '" "struct symbolObj *""'"); 
   41137             :     }
   41138           0 :     arg1 = (struct symbolObj *)(argp1);
   41139           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   41140           0 :     if (!SWIG_IsOK(ecode2)) {
   41141           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "symbolObj_transparentcolor_set" "', argument " "2"" of type '" "int""'");
   41142             :     } 
   41143             :     arg2 = (int)(val2);
   41144           0 :     if (arg1) (arg1)->transparentcolor = arg2;
   41145           0 :     ST(argvi) = sv_newmortal();
   41146             :     
   41147             :     
   41148           0 :     XSRETURN(argvi);
   41149           0 :   fail:
   41150             :     
   41151             :     
   41152           0 :     SWIG_croak_null();
   41153             :   }
   41154             : }
   41155             : 
   41156             : 
   41157           0 : XS(_wrap_symbolObj_transparentcolor_get) {
   41158             :   {
   41159             :     struct symbolObj *arg1 = (struct symbolObj *) 0 ;
   41160           0 :     void *argp1 = 0 ;
   41161             :     int res1 = 0 ;
   41162             :     int argvi = 0;
   41163             :     int result;
   41164           0 :     dXSARGS;
   41165             :     
   41166           0 :     if ((items < 1) || (items > 1)) {
   41167           0 :       SWIG_croak("Usage: symbolObj_transparentcolor_get(self);");
   41168             :     }
   41169           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 |  0 );
   41170           0 :     if (!SWIG_IsOK(res1)) {
   41171           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_transparentcolor_get" "', argument " "1"" of type '" "struct symbolObj *""'"); 
   41172             :     }
   41173           0 :     arg1 = (struct symbolObj *)(argp1);
   41174           0 :     result = (int) ((arg1)->transparentcolor);
   41175           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   41176             :     
   41177           0 :     XSRETURN(argvi);
   41178           0 :   fail:
   41179             :     
   41180           0 :     SWIG_croak_null();
   41181             :   }
   41182             : }
   41183             : 
   41184             : 
   41185           0 : XS(_wrap_symbolObj_character_set) {
   41186             :   {
   41187             :     struct symbolObj *arg1 = (struct symbolObj *) 0 ;
   41188             :     char *arg2 = (char *) 0 ;
   41189           0 :     void *argp1 = 0 ;
   41190             :     int res1 = 0 ;
   41191             :     int res2 ;
   41192           0 :     char *buf2 = 0 ;
   41193           0 :     int alloc2 = 0 ;
   41194             :     int argvi = 0;
   41195           0 :     dXSARGS;
   41196             :     
   41197           0 :     if ((items < 2) || (items > 2)) {
   41198           0 :       SWIG_croak("Usage: symbolObj_character_set(self,character);");
   41199             :     }
   41200           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 |  0 );
   41201           0 :     if (!SWIG_IsOK(res1)) {
   41202           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_character_set" "', argument " "1"" of type '" "struct symbolObj *""'"); 
   41203             :     }
   41204           0 :     arg1 = (struct symbolObj *)(argp1);
   41205           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   41206           0 :     if (!SWIG_IsOK(res2)) {
   41207           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "symbolObj_character_set" "', argument " "2"" of type '" "char *""'");
   41208             :     }
   41209           0 :     arg2 = (char *)(buf2);
   41210             :     {
   41211           0 :       if (arg1->character) free((char*)arg1->character);
   41212           0 :       if (arg2) {
   41213           0 :         arg1->character = (char *) malloc(strlen(arg2)+1);
   41214             :         strcpy((char*)arg1->character,arg2);
   41215             :       } else {
   41216           0 :         arg1->character = 0;
   41217             :       }
   41218             :     }
   41219           0 :     ST(argvi) = sv_newmortal();
   41220             :     
   41221           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   41222           0 :     XSRETURN(argvi);
   41223           0 :   fail:
   41224             :     
   41225           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   41226           0 :     SWIG_croak_null();
   41227             :   }
   41228             : }
   41229             : 
   41230             : 
   41231           0 : XS(_wrap_symbolObj_character_get) {
   41232             :   {
   41233             :     struct symbolObj *arg1 = (struct symbolObj *) 0 ;
   41234           0 :     void *argp1 = 0 ;
   41235             :     int res1 = 0 ;
   41236             :     int argvi = 0;
   41237             :     char *result = 0 ;
   41238           0 :     dXSARGS;
   41239             :     
   41240           0 :     if ((items < 1) || (items > 1)) {
   41241           0 :       SWIG_croak("Usage: symbolObj_character_get(self);");
   41242             :     }
   41243           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 |  0 );
   41244           0 :     if (!SWIG_IsOK(res1)) {
   41245           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_character_get" "', argument " "1"" of type '" "struct symbolObj *""'"); 
   41246             :     }
   41247           0 :     arg1 = (struct symbolObj *)(argp1);
   41248           0 :     result = (char *) ((arg1)->character);
   41249           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   41250             :     
   41251           0 :     XSRETURN(argvi);
   41252           0 :   fail:
   41253             :     
   41254           0 :     SWIG_croak_null();
   41255             :   }
   41256             : }
   41257             : 
   41258             : 
   41259           0 : XS(_wrap_symbolObj_font_set) {
   41260             :   {
   41261             :     struct symbolObj *arg1 = (struct symbolObj *) 0 ;
   41262             :     char *arg2 = (char *) 0 ;
   41263           0 :     void *argp1 = 0 ;
   41264             :     int res1 = 0 ;
   41265             :     int res2 ;
   41266           0 :     char *buf2 = 0 ;
   41267           0 :     int alloc2 = 0 ;
   41268             :     int argvi = 0;
   41269           0 :     dXSARGS;
   41270             :     
   41271           0 :     if ((items < 2) || (items > 2)) {
   41272           0 :       SWIG_croak("Usage: symbolObj_font_set(self,font);");
   41273             :     }
   41274           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 |  0 );
   41275           0 :     if (!SWIG_IsOK(res1)) {
   41276           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_font_set" "', argument " "1"" of type '" "struct symbolObj *""'"); 
   41277             :     }
   41278           0 :     arg1 = (struct symbolObj *)(argp1);
   41279           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   41280           0 :     if (!SWIG_IsOK(res2)) {
   41281           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "symbolObj_font_set" "', argument " "2"" of type '" "char *""'");
   41282             :     }
   41283           0 :     arg2 = (char *)(buf2);
   41284             :     {
   41285           0 :       if (arg1->font) free((char*)arg1->font);
   41286           0 :       if (arg2) {
   41287           0 :         arg1->font = (char *) malloc(strlen(arg2)+1);
   41288             :         strcpy((char*)arg1->font,arg2);
   41289             :       } else {
   41290           0 :         arg1->font = 0;
   41291             :       }
   41292             :     }
   41293           0 :     ST(argvi) = sv_newmortal();
   41294             :     
   41295           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   41296           0 :     XSRETURN(argvi);
   41297           0 :   fail:
   41298             :     
   41299           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   41300           0 :     SWIG_croak_null();
   41301             :   }
   41302             : }
   41303             : 
   41304             : 
   41305           0 : XS(_wrap_symbolObj_font_get) {
   41306             :   {
   41307             :     struct symbolObj *arg1 = (struct symbolObj *) 0 ;
   41308           0 :     void *argp1 = 0 ;
   41309             :     int res1 = 0 ;
   41310             :     int argvi = 0;
   41311             :     char *result = 0 ;
   41312           0 :     dXSARGS;
   41313             :     
   41314           0 :     if ((items < 1) || (items > 1)) {
   41315           0 :       SWIG_croak("Usage: symbolObj_font_get(self);");
   41316             :     }
   41317           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 |  0 );
   41318           0 :     if (!SWIG_IsOK(res1)) {
   41319           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_font_get" "', argument " "1"" of type '" "struct symbolObj *""'"); 
   41320             :     }
   41321           0 :     arg1 = (struct symbolObj *)(argp1);
   41322           0 :     result = (char *) ((arg1)->font);
   41323           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   41324             :     
   41325           0 :     XSRETURN(argvi);
   41326           0 :   fail:
   41327             :     
   41328           0 :     SWIG_croak_null();
   41329             :   }
   41330             : }
   41331             : 
   41332             : 
   41333           0 : XS(_wrap_new_symbolObj) {
   41334             :   {
   41335             :     char *arg1 = (char *) 0 ;
   41336             :     char *arg2 = (char *) NULL ;
   41337             :     int res1 ;
   41338           0 :     char *buf1 = 0 ;
   41339           0 :     int alloc1 = 0 ;
   41340             :     int res2 ;
   41341           0 :     char *buf2 = 0 ;
   41342           0 :     int alloc2 = 0 ;
   41343             :     int argvi = 0;
   41344             :     struct symbolObj *result = 0 ;
   41345           0 :     dXSARGS;
   41346             :     
   41347           0 :     if ((items < 1) || (items > 2)) {
   41348           0 :       SWIG_croak("Usage: new_symbolObj(symbolname,imagefile);");
   41349             :     }
   41350           0 :     res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
   41351           0 :     if (!SWIG_IsOK(res1)) {
   41352           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_symbolObj" "', argument " "1"" of type '" "char *""'");
   41353             :     }
   41354           0 :     arg1 = (char *)(buf1);
   41355           0 :     if (items > 1) {
   41356           0 :       res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   41357           0 :       if (!SWIG_IsOK(res2)) {
   41358           0 :         SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_symbolObj" "', argument " "2"" of type '" "char const *""'");
   41359             :       }
   41360           0 :       arg2 = (char *)(buf2);
   41361             :     }
   41362           0 :     result = (struct symbolObj *)new_symbolObj(arg1,(char const *)arg2);
   41363           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_symbolObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   41364           0 :     if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
   41365           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   41366           0 :     XSRETURN(argvi);
   41367           0 :   fail:
   41368           0 :     if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
   41369           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   41370           0 :     SWIG_croak_null();
   41371             :   }
   41372             : }
   41373             : 
   41374             : 
   41375           0 : XS(_wrap_delete_symbolObj) {
   41376             :   {
   41377             :     struct symbolObj *arg1 = (struct symbolObj *) 0 ;
   41378           0 :     void *argp1 = 0 ;
   41379             :     int res1 = 0 ;
   41380             :     int argvi = 0;
   41381           0 :     dXSARGS;
   41382             :     
   41383           0 :     if ((items < 1) || (items > 1)) {
   41384           0 :       SWIG_croak("Usage: delete_symbolObj(self);");
   41385             :     }
   41386           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, SWIG_POINTER_DISOWN |  0 );
   41387           0 :     if (!SWIG_IsOK(res1)) {
   41388           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_symbolObj" "', argument " "1"" of type '" "struct symbolObj *""'"); 
   41389             :     }
   41390           0 :     arg1 = (struct symbolObj *)(argp1);
   41391           0 :     delete_symbolObj(arg1);
   41392           0 :     ST(argvi) = sv_newmortal();
   41393             :     
   41394           0 :     XSRETURN(argvi);
   41395           0 :   fail:
   41396             :     
   41397           0 :     SWIG_croak_null();
   41398             :   }
   41399             : }
   41400             : 
   41401             : 
   41402           0 : XS(_wrap_symbolObj_setImagepath) {
   41403             :   {
   41404             :     struct symbolObj *arg1 = (struct symbolObj *) 0 ;
   41405             :     char *arg2 = (char *) 0 ;
   41406           0 :     void *argp1 = 0 ;
   41407             :     int res1 = 0 ;
   41408             :     int res2 ;
   41409           0 :     char *buf2 = 0 ;
   41410           0 :     int alloc2 = 0 ;
   41411             :     int argvi = 0;
   41412             :     int result;
   41413           0 :     dXSARGS;
   41414             :     
   41415           0 :     if ((items < 2) || (items > 2)) {
   41416           0 :       SWIG_croak("Usage: symbolObj_setImagepath(self,imagefile);");
   41417             :     }
   41418           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 |  0 );
   41419           0 :     if (!SWIG_IsOK(res1)) {
   41420           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_setImagepath" "', argument " "1"" of type '" "struct symbolObj *""'"); 
   41421             :     }
   41422           0 :     arg1 = (struct symbolObj *)(argp1);
   41423           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   41424           0 :     if (!SWIG_IsOK(res2)) {
   41425           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "symbolObj_setImagepath" "', argument " "2"" of type '" "char const *""'");
   41426             :     }
   41427           0 :     arg2 = (char *)(buf2);
   41428             :     result = (int)symbolObj_setImagepath(arg1,(char const *)arg2);
   41429           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   41430             :     
   41431           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   41432           0 :     XSRETURN(argvi);
   41433           0 :   fail:
   41434             :     
   41435           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   41436           0 :     SWIG_croak_null();
   41437             :   }
   41438             : }
   41439             : 
   41440             : 
   41441           0 : XS(_wrap_symbolObj_setPoints) {
   41442             :   {
   41443             :     struct symbolObj *arg1 = (struct symbolObj *) 0 ;
   41444             :     lineObj *arg2 = (lineObj *) 0 ;
   41445           0 :     void *argp1 = 0 ;
   41446             :     int res1 = 0 ;
   41447           0 :     void *argp2 = 0 ;
   41448             :     int res2 = 0 ;
   41449             :     int argvi = 0;
   41450             :     int result;
   41451           0 :     dXSARGS;
   41452             :     
   41453           0 :     if ((items < 2) || (items > 2)) {
   41454           0 :       SWIG_croak("Usage: symbolObj_setPoints(self,line);");
   41455             :     }
   41456           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 |  0 );
   41457           0 :     if (!SWIG_IsOK(res1)) {
   41458           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_setPoints" "', argument " "1"" of type '" "struct symbolObj *""'"); 
   41459             :     }
   41460           0 :     arg1 = (struct symbolObj *)(argp1);
   41461           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_lineObj, 0 |  0 );
   41462           0 :     if (!SWIG_IsOK(res2)) {
   41463           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "symbolObj_setPoints" "', argument " "2"" of type '" "lineObj *""'"); 
   41464             :     }
   41465           0 :     arg2 = (lineObj *)(argp2);
   41466           0 :     result = (int)symbolObj_setPoints(arg1,arg2);
   41467           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   41468             :     
   41469             :     
   41470           0 :     XSRETURN(argvi);
   41471           0 :   fail:
   41472             :     
   41473             :     
   41474           0 :     SWIG_croak_null();
   41475             :   }
   41476             : }
   41477             : 
   41478             : 
   41479           0 : XS(_wrap_symbolObj_getPoints) {
   41480             :   {
   41481             :     struct symbolObj *arg1 = (struct symbolObj *) 0 ;
   41482           0 :     void *argp1 = 0 ;
   41483             :     int res1 = 0 ;
   41484             :     int argvi = 0;
   41485             :     lineObj *result = 0 ;
   41486           0 :     dXSARGS;
   41487             :     
   41488           0 :     if ((items < 1) || (items > 1)) {
   41489           0 :       SWIG_croak("Usage: symbolObj_getPoints(self);");
   41490             :     }
   41491           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 |  0 );
   41492           0 :     if (!SWIG_IsOK(res1)) {
   41493           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_getPoints" "', argument " "1"" of type '" "struct symbolObj *""'"); 
   41494             :     }
   41495           0 :     arg1 = (struct symbolObj *)(argp1);
   41496           0 :     result = (lineObj *)symbolObj_getPoints(arg1);
   41497           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_lineObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   41498             :     
   41499           0 :     XSRETURN(argvi);
   41500           0 :   fail:
   41501             :     
   41502           0 :     SWIG_croak_null();
   41503             :   }
   41504             : }
   41505             : 
   41506             : 
   41507           0 : XS(_wrap_symbolObj_getImage) {
   41508             :   {
   41509             :     struct symbolObj *arg1 = (struct symbolObj *) 0 ;
   41510             :     outputFormatObj *arg2 = (outputFormatObj *) 0 ;
   41511           0 :     void *argp1 = 0 ;
   41512             :     int res1 = 0 ;
   41513           0 :     void *argp2 = 0 ;
   41514             :     int res2 = 0 ;
   41515             :     int argvi = 0;
   41516             :     imageObj *result = 0 ;
   41517           0 :     dXSARGS;
   41518             :     
   41519           0 :     if ((items < 2) || (items > 2)) {
   41520           0 :       SWIG_croak("Usage: symbolObj_getImage(self,input_format);");
   41521             :     }
   41522           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 |  0 );
   41523           0 :     if (!SWIG_IsOK(res1)) {
   41524           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_getImage" "', argument " "1"" of type '" "struct symbolObj *""'"); 
   41525             :     }
   41526           0 :     arg1 = (struct symbolObj *)(argp1);
   41527           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_outputFormatObj, 0 |  0 );
   41528           0 :     if (!SWIG_IsOK(res2)) {
   41529           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "symbolObj_getImage" "', argument " "2"" of type '" "outputFormatObj *""'"); 
   41530             :     }
   41531           0 :     arg2 = (outputFormatObj *)(argp2);
   41532           0 :     result = (imageObj *)symbolObj_getImage(arg1,arg2);
   41533           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_imageObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   41534             :     
   41535             :     
   41536           0 :     XSRETURN(argvi);
   41537           0 :   fail:
   41538             :     
   41539             :     
   41540           0 :     SWIG_croak_null();
   41541             :   }
   41542             : }
   41543             : 
   41544             : 
   41545           0 : XS(_wrap_symbolObj_setImage) {
   41546             :   {
   41547             :     struct symbolObj *arg1 = (struct symbolObj *) 0 ;
   41548             :     imageObj *arg2 = (imageObj *) 0 ;
   41549           0 :     void *argp1 = 0 ;
   41550             :     int res1 = 0 ;
   41551           0 :     void *argp2 = 0 ;
   41552             :     int res2 = 0 ;
   41553             :     int argvi = 0;
   41554             :     int result;
   41555           0 :     dXSARGS;
   41556             :     
   41557           0 :     if ((items < 2) || (items > 2)) {
   41558           0 :       SWIG_croak("Usage: symbolObj_setImage(self,image);");
   41559             :     }
   41560           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_symbolObj, 0 |  0 );
   41561           0 :     if (!SWIG_IsOK(res1)) {
   41562           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "symbolObj_setImage" "', argument " "1"" of type '" "struct symbolObj *""'"); 
   41563             :     }
   41564           0 :     arg1 = (struct symbolObj *)(argp1);
   41565           0 :     res2 = SWIG_ConvertPtr(ST(1), &argp2,SWIGTYPE_p_imageObj, 0 |  0 );
   41566           0 :     if (!SWIG_IsOK(res2)) {
   41567           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "symbolObj_setImage" "', argument " "2"" of type '" "imageObj *""'"); 
   41568             :     }
   41569           0 :     arg2 = (imageObj *)(argp2);
   41570           0 :     result = (int)symbolObj_setImage(arg1,arg2);
   41571           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   41572             :     
   41573             :     
   41574           0 :     XSRETURN(argvi);
   41575           0 :   fail:
   41576             :     
   41577             :     
   41578           0 :     SWIG_croak_null();
   41579             :   }
   41580             : }
   41581             : 
   41582             : 
   41583           0 : XS(_wrap_hashTableObj_numitems_get) {
   41584             :   {
   41585             :     hashTableObj *arg1 = (hashTableObj *) 0 ;
   41586           0 :     void *argp1 = 0 ;
   41587             :     int res1 = 0 ;
   41588             :     int argvi = 0;
   41589             :     int result;
   41590           0 :     dXSARGS;
   41591             :     
   41592           0 :     if ((items < 1) || (items > 1)) {
   41593           0 :       SWIG_croak("Usage: hashTableObj_numitems_get(self);");
   41594             :     }
   41595           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_hashTableObj, 0 |  0 );
   41596           0 :     if (!SWIG_IsOK(res1)) {
   41597           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "hashTableObj_numitems_get" "', argument " "1"" of type '" "hashTableObj *""'"); 
   41598             :     }
   41599           0 :     arg1 = (hashTableObj *)(argp1);
   41600           0 :     result = (int) ((arg1)->numitems);
   41601           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   41602             :     
   41603           0 :     XSRETURN(argvi);
   41604           0 :   fail:
   41605             :     
   41606           0 :     SWIG_croak_null();
   41607             :   }
   41608             : }
   41609             : 
   41610             : 
   41611           0 : XS(_wrap_new_hashTableObj) {
   41612             :   {
   41613             :     int argvi = 0;
   41614             :     hashTableObj *result = 0 ;
   41615           0 :     dXSARGS;
   41616             :     
   41617           0 :     if ((items < 0) || (items > 0)) {
   41618           0 :       SWIG_croak("Usage: new_hashTableObj();");
   41619             :     }
   41620             :     result = (hashTableObj *)new_hashTableObj();
   41621           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_hashTableObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   41622           0 :     XSRETURN(argvi);
   41623             :   fail:
   41624           0 :     SWIG_croak_null();
   41625             :   }
   41626             : }
   41627             : 
   41628             : 
   41629           1 : XS(_wrap_delete_hashTableObj) {
   41630             :   {
   41631             :     hashTableObj *arg1 = (hashTableObj *) 0 ;
   41632           1 :     void *argp1 = 0 ;
   41633             :     int res1 = 0 ;
   41634             :     int argvi = 0;
   41635           1 :     dXSARGS;
   41636             :     
   41637           1 :     if ((items < 1) || (items > 1)) {
   41638           0 :       SWIG_croak("Usage: delete_hashTableObj(self);");
   41639             :     }
   41640           1 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_hashTableObj, SWIG_POINTER_DISOWN |  0 );
   41641           1 :     if (!SWIG_IsOK(res1)) {
   41642           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_hashTableObj" "', argument " "1"" of type '" "hashTableObj *""'"); 
   41643             :     }
   41644           1 :     arg1 = (hashTableObj *)(argp1);
   41645             :     delete_hashTableObj(arg1);
   41646           1 :     ST(argvi) = sv_newmortal();
   41647             :     
   41648           1 :     XSRETURN(argvi);
   41649           0 :   fail:
   41650             :     
   41651           0 :     SWIG_croak_null();
   41652             :   }
   41653             : }
   41654             : 
   41655             : 
   41656           0 : XS(_wrap_hashTableObj_set) {
   41657             :   {
   41658             :     hashTableObj *arg1 = (hashTableObj *) 0 ;
   41659             :     char *arg2 = (char *) 0 ;
   41660             :     char *arg3 = (char *) 0 ;
   41661           0 :     void *argp1 = 0 ;
   41662             :     int res1 = 0 ;
   41663             :     int res2 ;
   41664           0 :     char *buf2 = 0 ;
   41665           0 :     int alloc2 = 0 ;
   41666             :     int res3 ;
   41667           0 :     char *buf3 = 0 ;
   41668           0 :     int alloc3 = 0 ;
   41669             :     int argvi = 0;
   41670             :     int result;
   41671           0 :     dXSARGS;
   41672             :     
   41673           0 :     if ((items < 3) || (items > 3)) {
   41674           0 :       SWIG_croak("Usage: hashTableObj_set(self,key,value);");
   41675             :     }
   41676           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_hashTableObj, 0 |  0 );
   41677           0 :     if (!SWIG_IsOK(res1)) {
   41678           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "hashTableObj_set" "', argument " "1"" of type '" "hashTableObj *""'"); 
   41679             :     }
   41680           0 :     arg1 = (hashTableObj *)(argp1);
   41681           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   41682           0 :     if (!SWIG_IsOK(res2)) {
   41683           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "hashTableObj_set" "', argument " "2"" of type '" "char *""'");
   41684             :     }
   41685           0 :     arg2 = (char *)(buf2);
   41686           0 :     res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
   41687           0 :     if (!SWIG_IsOK(res3)) {
   41688           0 :       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "hashTableObj_set" "', argument " "3"" of type '" "char *""'");
   41689             :     }
   41690           0 :     arg3 = (char *)(buf3);
   41691             :     result = (int)hashTableObj_set(arg1,arg2,arg3);
   41692           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   41693             :     
   41694           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   41695           0 :     if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
   41696           0 :     XSRETURN(argvi);
   41697           0 :   fail:
   41698             :     
   41699           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   41700           0 :     if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
   41701           0 :     SWIG_croak_null();
   41702             :   }
   41703             : }
   41704             : 
   41705             : 
   41706           1 : XS(_wrap_hashTableObj_get) {
   41707             :   {
   41708             :     hashTableObj *arg1 = (hashTableObj *) 0 ;
   41709             :     char *arg2 = (char *) 0 ;
   41710             :     char *arg3 = (char *) NULL ;
   41711           1 :     void *argp1 = 0 ;
   41712             :     int res1 = 0 ;
   41713             :     int res2 ;
   41714           1 :     char *buf2 = 0 ;
   41715           1 :     int alloc2 = 0 ;
   41716             :     int res3 ;
   41717           1 :     char *buf3 = 0 ;
   41718           1 :     int alloc3 = 0 ;
   41719             :     int argvi = 0;
   41720             :     char *result = 0 ;
   41721           1 :     dXSARGS;
   41722             :     
   41723           1 :     if ((items < 2) || (items > 3)) {
   41724           0 :       SWIG_croak("Usage: hashTableObj_get(self,key,default_value);");
   41725             :     }
   41726           1 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_hashTableObj, 0 |  0 );
   41727           1 :     if (!SWIG_IsOK(res1)) {
   41728           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "hashTableObj_get" "', argument " "1"" of type '" "hashTableObj *""'"); 
   41729             :     }
   41730           1 :     arg1 = (hashTableObj *)(argp1);
   41731           1 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   41732           1 :     if (!SWIG_IsOK(res2)) {
   41733           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "hashTableObj_get" "', argument " "2"" of type '" "char *""'");
   41734             :     }
   41735           1 :     arg2 = (char *)(buf2);
   41736           1 :     if (items > 2) {
   41737           0 :       res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
   41738           0 :       if (!SWIG_IsOK(res3)) {
   41739           0 :         SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "hashTableObj_get" "', argument " "3"" of type '" "char *""'");
   41740             :       }
   41741           0 :       arg3 = (char *)(buf3);
   41742             :     }
   41743           1 :     result = (char *)hashTableObj_get(arg1,arg2,arg3);
   41744           1 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   41745             :     
   41746           1 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   41747           1 :     if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
   41748           1 :     XSRETURN(argvi);
   41749           0 :   fail:
   41750             :     
   41751           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   41752           0 :     if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
   41753           0 :     SWIG_croak_null();
   41754             :   }
   41755             : }
   41756             : 
   41757             : 
   41758           0 : XS(_wrap_hashTableObj_remove) {
   41759             :   {
   41760             :     hashTableObj *arg1 = (hashTableObj *) 0 ;
   41761             :     char *arg2 = (char *) 0 ;
   41762           0 :     void *argp1 = 0 ;
   41763             :     int res1 = 0 ;
   41764             :     int res2 ;
   41765           0 :     char *buf2 = 0 ;
   41766           0 :     int alloc2 = 0 ;
   41767             :     int argvi = 0;
   41768             :     int result;
   41769           0 :     dXSARGS;
   41770             :     
   41771           0 :     if ((items < 2) || (items > 2)) {
   41772           0 :       SWIG_croak("Usage: hashTableObj_remove(self,key);");
   41773             :     }
   41774           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_hashTableObj, 0 |  0 );
   41775           0 :     if (!SWIG_IsOK(res1)) {
   41776           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "hashTableObj_remove" "', argument " "1"" of type '" "hashTableObj *""'"); 
   41777             :     }
   41778           0 :     arg1 = (hashTableObj *)(argp1);
   41779           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   41780           0 :     if (!SWIG_IsOK(res2)) {
   41781           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "hashTableObj_remove" "', argument " "2"" of type '" "char *""'");
   41782             :     }
   41783           0 :     arg2 = (char *)(buf2);
   41784             :     result = (int)hashTableObj_remove(arg1,arg2);
   41785           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   41786             :     
   41787           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   41788           0 :     XSRETURN(argvi);
   41789           0 :   fail:
   41790             :     
   41791           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   41792           0 :     SWIG_croak_null();
   41793             :   }
   41794             : }
   41795             : 
   41796             : 
   41797           0 : XS(_wrap_hashTableObj_clear) {
   41798             :   {
   41799             :     hashTableObj *arg1 = (hashTableObj *) 0 ;
   41800           0 :     void *argp1 = 0 ;
   41801             :     int res1 = 0 ;
   41802             :     int argvi = 0;
   41803           0 :     dXSARGS;
   41804             :     
   41805           0 :     if ((items < 1) || (items > 1)) {
   41806           0 :       SWIG_croak("Usage: hashTableObj_clear(self);");
   41807             :     }
   41808           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_hashTableObj, 0 |  0 );
   41809           0 :     if (!SWIG_IsOK(res1)) {
   41810           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "hashTableObj_clear" "', argument " "1"" of type '" "hashTableObj *""'"); 
   41811             :     }
   41812           0 :     arg1 = (hashTableObj *)(argp1);
   41813             :     hashTableObj_clear(arg1);
   41814           0 :     ST(argvi) = sv_newmortal();
   41815             :     
   41816           0 :     XSRETURN(argvi);
   41817           0 :   fail:
   41818             :     
   41819           0 :     SWIG_croak_null();
   41820             :   }
   41821             : }
   41822             : 
   41823             : 
   41824           0 : XS(_wrap_hashTableObj_nextKey) {
   41825             :   {
   41826             :     hashTableObj *arg1 = (hashTableObj *) 0 ;
   41827             :     char *arg2 = (char *) NULL ;
   41828           0 :     void *argp1 = 0 ;
   41829             :     int res1 = 0 ;
   41830             :     int res2 ;
   41831           0 :     char *buf2 = 0 ;
   41832           0 :     int alloc2 = 0 ;
   41833             :     int argvi = 0;
   41834             :     char *result = 0 ;
   41835           0 :     dXSARGS;
   41836             :     
   41837           0 :     if ((items < 1) || (items > 2)) {
   41838           0 :       SWIG_croak("Usage: hashTableObj_nextKey(self,prevkey);");
   41839             :     }
   41840           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_hashTableObj, 0 |  0 );
   41841           0 :     if (!SWIG_IsOK(res1)) {
   41842           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "hashTableObj_nextKey" "', argument " "1"" of type '" "hashTableObj *""'"); 
   41843             :     }
   41844           0 :     arg1 = (hashTableObj *)(argp1);
   41845           0 :     if (items > 1) {
   41846           0 :       res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   41847           0 :       if (!SWIG_IsOK(res2)) {
   41848           0 :         SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "hashTableObj_nextKey" "', argument " "2"" of type '" "char *""'");
   41849             :       }
   41850           0 :       arg2 = (char *)(buf2);
   41851             :     }
   41852             :     result = (char *)hashTableObj_nextKey(arg1,arg2);
   41853           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   41854             :     
   41855           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   41856           0 :     XSRETURN(argvi);
   41857           0 :   fail:
   41858             :     
   41859           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   41860           0 :     SWIG_croak_null();
   41861             :   }
   41862             : }
   41863             : 
   41864             : 
   41865           0 : XS(_wrap_errorObj_code_set) {
   41866             :   {
   41867             :     struct errorObj *arg1 = (struct errorObj *) 0 ;
   41868             :     int arg2 ;
   41869           0 :     void *argp1 = 0 ;
   41870             :     int res1 = 0 ;
   41871             :     int val2 ;
   41872             :     int ecode2 = 0 ;
   41873             :     int argvi = 0;
   41874           0 :     dXSARGS;
   41875             :     
   41876           0 :     if ((items < 2) || (items > 2)) {
   41877           0 :       SWIG_croak("Usage: errorObj_code_set(self,code);");
   41878             :     }
   41879           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_errorObj, 0 |  0 );
   41880           0 :     if (!SWIG_IsOK(res1)) {
   41881           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "errorObj_code_set" "', argument " "1"" of type '" "struct errorObj *""'"); 
   41882             :     }
   41883           0 :     arg1 = (struct errorObj *)(argp1);
   41884           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   41885           0 :     if (!SWIG_IsOK(ecode2)) {
   41886           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "errorObj_code_set" "', argument " "2"" of type '" "int""'");
   41887             :     } 
   41888             :     arg2 = (int)(val2);
   41889           0 :     if (arg1) (arg1)->code = arg2;
   41890           0 :     ST(argvi) = sv_newmortal();
   41891             :     
   41892             :     
   41893           0 :     XSRETURN(argvi);
   41894           0 :   fail:
   41895             :     
   41896             :     
   41897           0 :     SWIG_croak_null();
   41898             :   }
   41899             : }
   41900             : 
   41901             : 
   41902           0 : XS(_wrap_errorObj_code_get) {
   41903             :   {
   41904             :     struct errorObj *arg1 = (struct errorObj *) 0 ;
   41905           0 :     void *argp1 = 0 ;
   41906             :     int res1 = 0 ;
   41907             :     int argvi = 0;
   41908             :     int result;
   41909           0 :     dXSARGS;
   41910             :     
   41911           0 :     if ((items < 1) || (items > 1)) {
   41912           0 :       SWIG_croak("Usage: errorObj_code_get(self);");
   41913             :     }
   41914           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_errorObj, 0 |  0 );
   41915           0 :     if (!SWIG_IsOK(res1)) {
   41916           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "errorObj_code_get" "', argument " "1"" of type '" "struct errorObj *""'"); 
   41917             :     }
   41918           0 :     arg1 = (struct errorObj *)(argp1);
   41919           0 :     result = (int) ((arg1)->code);
   41920           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   41921             :     
   41922           0 :     XSRETURN(argvi);
   41923           0 :   fail:
   41924             :     
   41925           0 :     SWIG_croak_null();
   41926             :   }
   41927             : }
   41928             : 
   41929             : 
   41930           0 : XS(_wrap_errorObj_routine_set) {
   41931             :   {
   41932             :     struct errorObj *arg1 = (struct errorObj *) 0 ;
   41933             :     char *arg2 ;
   41934           0 :     void *argp1 = 0 ;
   41935             :     int res1 = 0 ;
   41936             :     char temp2[64] ;
   41937             :     int res2 ;
   41938             :     int argvi = 0;
   41939           0 :     dXSARGS;
   41940             :     
   41941           0 :     if ((items < 2) || (items > 2)) {
   41942           0 :       SWIG_croak("Usage: errorObj_routine_set(self,routine);");
   41943             :     }
   41944           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_errorObj, 0 |  0 );
   41945           0 :     if (!SWIG_IsOK(res1)) {
   41946           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "errorObj_routine_set" "', argument " "1"" of type '" "struct errorObj *""'"); 
   41947             :     }
   41948           0 :     arg1 = (struct errorObj *)(argp1);
   41949           0 :     res2 = SWIG_AsCharArray(ST(1), temp2, 64);
   41950           0 :     if (!SWIG_IsOK(res2)) {
   41951           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "errorObj_routine_set" "', argument " "2"" of type '" "char [64]""'");
   41952             :     }
   41953             :     arg2 = (char *)(temp2);
   41954           0 :     if (arg2) memcpy(arg1->routine,arg2,64*sizeof(char));
   41955             :     else memset(arg1->routine,0,64*sizeof(char));
   41956           0 :     ST(argvi) = sv_newmortal();
   41957             :     
   41958             :     
   41959           0 :     XSRETURN(argvi);
   41960           0 :   fail:
   41961             :     
   41962             :     
   41963           0 :     SWIG_croak_null();
   41964             :   }
   41965             : }
   41966             : 
   41967             : 
   41968           0 : XS(_wrap_errorObj_routine_get) {
   41969             :   {
   41970             :     struct errorObj *arg1 = (struct errorObj *) 0 ;
   41971           0 :     void *argp1 = 0 ;
   41972             :     int res1 = 0 ;
   41973             :     int argvi = 0;
   41974             :     char *result = 0 ;
   41975           0 :     dXSARGS;
   41976             :     
   41977           0 :     if ((items < 1) || (items > 1)) {
   41978           0 :       SWIG_croak("Usage: errorObj_routine_get(self);");
   41979             :     }
   41980           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_errorObj, 0 |  0 );
   41981           0 :     if (!SWIG_IsOK(res1)) {
   41982           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "errorObj_routine_get" "', argument " "1"" of type '" "struct errorObj *""'"); 
   41983             :     }
   41984           0 :     arg1 = (struct errorObj *)(argp1);
   41985           0 :     result = (char *)(char *) ((arg1)->routine);
   41986             :     {
   41987           0 :       ST(argvi) = newSVpvn(result, strlen(result));
   41988             :       argvi++;
   41989             :     }
   41990             :     
   41991           0 :     XSRETURN(argvi);
   41992           0 :   fail:
   41993             :     
   41994           0 :     SWIG_croak_null();
   41995             :   }
   41996             : }
   41997             : 
   41998             : 
   41999           0 : XS(_wrap_errorObj_message_set) {
   42000             :   {
   42001             :     struct errorObj *arg1 = (struct errorObj *) 0 ;
   42002             :     char *arg2 ;
   42003           0 :     void *argp1 = 0 ;
   42004             :     int res1 = 0 ;
   42005             :     char temp2[2048] ;
   42006             :     int res2 ;
   42007             :     int argvi = 0;
   42008           0 :     dXSARGS;
   42009             :     
   42010           0 :     if ((items < 2) || (items > 2)) {
   42011           0 :       SWIG_croak("Usage: errorObj_message_set(self,message);");
   42012             :     }
   42013           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_errorObj, 0 |  0 );
   42014           0 :     if (!SWIG_IsOK(res1)) {
   42015           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "errorObj_message_set" "', argument " "1"" of type '" "struct errorObj *""'"); 
   42016             :     }
   42017           0 :     arg1 = (struct errorObj *)(argp1);
   42018           0 :     res2 = SWIG_AsCharArray(ST(1), temp2, 2048);
   42019           0 :     if (!SWIG_IsOK(res2)) {
   42020           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "errorObj_message_set" "', argument " "2"" of type '" "char [2048]""'");
   42021             :     }
   42022             :     arg2 = (char *)(temp2);
   42023           0 :     if (arg2) memcpy(arg1->message,arg2,2048*sizeof(char));
   42024             :     else memset(arg1->message,0,2048*sizeof(char));
   42025           0 :     ST(argvi) = sv_newmortal();
   42026             :     
   42027             :     
   42028           0 :     XSRETURN(argvi);
   42029           0 :   fail:
   42030             :     
   42031             :     
   42032           0 :     SWIG_croak_null();
   42033             :   }
   42034             : }
   42035             : 
   42036             : 
   42037           0 : XS(_wrap_errorObj_message_get) {
   42038             :   {
   42039             :     struct errorObj *arg1 = (struct errorObj *) 0 ;
   42040           0 :     void *argp1 = 0 ;
   42041             :     int res1 = 0 ;
   42042             :     int argvi = 0;
   42043             :     char *result = 0 ;
   42044           0 :     dXSARGS;
   42045             :     
   42046           0 :     if ((items < 1) || (items > 1)) {
   42047           0 :       SWIG_croak("Usage: errorObj_message_get(self);");
   42048             :     }
   42049           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_errorObj, 0 |  0 );
   42050           0 :     if (!SWIG_IsOK(res1)) {
   42051           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "errorObj_message_get" "', argument " "1"" of type '" "struct errorObj *""'"); 
   42052             :     }
   42053           0 :     arg1 = (struct errorObj *)(argp1);
   42054           0 :     result = (char *)(char *) ((arg1)->message);
   42055             :     {
   42056           0 :       ST(argvi) = newSVpvn(result, strlen(result));
   42057             :       argvi++;
   42058             :     }
   42059             :     
   42060           0 :     XSRETURN(argvi);
   42061           0 :   fail:
   42062             :     
   42063           0 :     SWIG_croak_null();
   42064             :   }
   42065             : }
   42066             : 
   42067             : 
   42068           0 : XS(_wrap_errorObj_isreported_set) {
   42069             :   {
   42070             :     struct errorObj *arg1 = (struct errorObj *) 0 ;
   42071             :     int arg2 ;
   42072           0 :     void *argp1 = 0 ;
   42073             :     int res1 = 0 ;
   42074             :     int val2 ;
   42075             :     int ecode2 = 0 ;
   42076             :     int argvi = 0;
   42077           0 :     dXSARGS;
   42078             :     
   42079           0 :     if ((items < 2) || (items > 2)) {
   42080           0 :       SWIG_croak("Usage: errorObj_isreported_set(self,isreported);");
   42081             :     }
   42082           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_errorObj, 0 |  0 );
   42083           0 :     if (!SWIG_IsOK(res1)) {
   42084           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "errorObj_isreported_set" "', argument " "1"" of type '" "struct errorObj *""'"); 
   42085             :     }
   42086           0 :     arg1 = (struct errorObj *)(argp1);
   42087           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   42088           0 :     if (!SWIG_IsOK(ecode2)) {
   42089           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "errorObj_isreported_set" "', argument " "2"" of type '" "int""'");
   42090             :     } 
   42091             :     arg2 = (int)(val2);
   42092           0 :     if (arg1) (arg1)->isreported = arg2;
   42093           0 :     ST(argvi) = sv_newmortal();
   42094             :     
   42095             :     
   42096           0 :     XSRETURN(argvi);
   42097           0 :   fail:
   42098             :     
   42099             :     
   42100           0 :     SWIG_croak_null();
   42101             :   }
   42102             : }
   42103             : 
   42104             : 
   42105           0 : XS(_wrap_errorObj_isreported_get) {
   42106             :   {
   42107             :     struct errorObj *arg1 = (struct errorObj *) 0 ;
   42108           0 :     void *argp1 = 0 ;
   42109             :     int res1 = 0 ;
   42110             :     int argvi = 0;
   42111             :     int result;
   42112           0 :     dXSARGS;
   42113             :     
   42114           0 :     if ((items < 1) || (items > 1)) {
   42115           0 :       SWIG_croak("Usage: errorObj_isreported_get(self);");
   42116             :     }
   42117           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_errorObj, 0 |  0 );
   42118           0 :     if (!SWIG_IsOK(res1)) {
   42119           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "errorObj_isreported_get" "', argument " "1"" of type '" "struct errorObj *""'"); 
   42120             :     }
   42121           0 :     arg1 = (struct errorObj *)(argp1);
   42122           0 :     result = (int) ((arg1)->isreported);
   42123           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   42124             :     
   42125           0 :     XSRETURN(argvi);
   42126           0 :   fail:
   42127             :     
   42128           0 :     SWIG_croak_null();
   42129             :   }
   42130             : }
   42131             : 
   42132             : 
   42133           0 : XS(_wrap_errorObj_errorcount_set) {
   42134             :   {
   42135             :     struct errorObj *arg1 = (struct errorObj *) 0 ;
   42136             :     int arg2 ;
   42137           0 :     void *argp1 = 0 ;
   42138             :     int res1 = 0 ;
   42139             :     int val2 ;
   42140             :     int ecode2 = 0 ;
   42141             :     int argvi = 0;
   42142           0 :     dXSARGS;
   42143             :     
   42144           0 :     if ((items < 2) || (items > 2)) {
   42145           0 :       SWIG_croak("Usage: errorObj_errorcount_set(self,errorcount);");
   42146             :     }
   42147           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_errorObj, 0 |  0 );
   42148           0 :     if (!SWIG_IsOK(res1)) {
   42149           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "errorObj_errorcount_set" "', argument " "1"" of type '" "struct errorObj *""'"); 
   42150             :     }
   42151           0 :     arg1 = (struct errorObj *)(argp1);
   42152           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   42153           0 :     if (!SWIG_IsOK(ecode2)) {
   42154           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "errorObj_errorcount_set" "', argument " "2"" of type '" "int""'");
   42155             :     } 
   42156             :     arg2 = (int)(val2);
   42157           0 :     if (arg1) (arg1)->errorcount = arg2;
   42158           0 :     ST(argvi) = sv_newmortal();
   42159             :     
   42160             :     
   42161           0 :     XSRETURN(argvi);
   42162           0 :   fail:
   42163             :     
   42164             :     
   42165           0 :     SWIG_croak_null();
   42166             :   }
   42167             : }
   42168             : 
   42169             : 
   42170           0 : XS(_wrap_errorObj_errorcount_get) {
   42171             :   {
   42172             :     struct errorObj *arg1 = (struct errorObj *) 0 ;
   42173           0 :     void *argp1 = 0 ;
   42174             :     int res1 = 0 ;
   42175             :     int argvi = 0;
   42176             :     int result;
   42177           0 :     dXSARGS;
   42178             :     
   42179           0 :     if ((items < 1) || (items > 1)) {
   42180           0 :       SWIG_croak("Usage: errorObj_errorcount_get(self);");
   42181             :     }
   42182           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_errorObj, 0 |  0 );
   42183           0 :     if (!SWIG_IsOK(res1)) {
   42184           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "errorObj_errorcount_get" "', argument " "1"" of type '" "struct errorObj *""'"); 
   42185             :     }
   42186           0 :     arg1 = (struct errorObj *)(argp1);
   42187           0 :     result = (int) ((arg1)->errorcount);
   42188           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   42189             :     
   42190           0 :     XSRETURN(argvi);
   42191           0 :   fail:
   42192             :     
   42193           0 :     SWIG_croak_null();
   42194             :   }
   42195             : }
   42196             : 
   42197             : 
   42198           0 : XS(_wrap_new_errorObj) {
   42199             :   {
   42200             :     int argvi = 0;
   42201             :     struct errorObj *result = 0 ;
   42202           0 :     dXSARGS;
   42203             :     
   42204           0 :     if ((items < 0) || (items > 0)) {
   42205           0 :       SWIG_croak("Usage: new_errorObj();");
   42206             :     }
   42207             :     result = (struct errorObj *)new_errorObj();
   42208           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_errorObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   42209           0 :     XSRETURN(argvi);
   42210             :   fail:
   42211           0 :     SWIG_croak_null();
   42212             :   }
   42213             : }
   42214             : 
   42215             : 
   42216           0 : XS(_wrap_delete_errorObj) {
   42217             :   {
   42218             :     struct errorObj *arg1 = (struct errorObj *) 0 ;
   42219           0 :     void *argp1 = 0 ;
   42220             :     int res1 = 0 ;
   42221             :     int argvi = 0;
   42222           0 :     dXSARGS;
   42223             :     
   42224           0 :     if ((items < 1) || (items > 1)) {
   42225           0 :       SWIG_croak("Usage: delete_errorObj(self);");
   42226             :     }
   42227           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_errorObj, SWIG_POINTER_DISOWN |  0 );
   42228           0 :     if (!SWIG_IsOK(res1)) {
   42229           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_errorObj" "', argument " "1"" of type '" "struct errorObj *""'"); 
   42230             :     }
   42231             :     arg1 = (struct errorObj *)(argp1);
   42232             :     delete_errorObj(arg1);
   42233           0 :     ST(argvi) = sv_newmortal();
   42234             :     
   42235           0 :     XSRETURN(argvi);
   42236           0 :   fail:
   42237             :     
   42238           0 :     SWIG_croak_null();
   42239             :   }
   42240             : }
   42241             : 
   42242             : 
   42243           0 : XS(_wrap_errorObj_next) {
   42244             :   {
   42245             :     struct errorObj *arg1 = (struct errorObj *) 0 ;
   42246           0 :     void *argp1 = 0 ;
   42247             :     int res1 = 0 ;
   42248             :     int argvi = 0;
   42249             :     errorObj *result = 0 ;
   42250           0 :     dXSARGS;
   42251             :     
   42252           0 :     if ((items < 1) || (items > 1)) {
   42253           0 :       SWIG_croak("Usage: errorObj_next(self);");
   42254             :     }
   42255           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_errorObj, 0 |  0 );
   42256           0 :     if (!SWIG_IsOK(res1)) {
   42257           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "errorObj_next" "', argument " "1"" of type '" "struct errorObj *""'"); 
   42258             :     }
   42259           0 :     arg1 = (struct errorObj *)(argp1);
   42260           0 :     result = (errorObj *)errorObj_next(arg1);
   42261           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_errorObj, 0 | SWIG_SHADOW); argvi++ ;
   42262             :     
   42263           0 :     XSRETURN(argvi);
   42264           0 :   fail:
   42265             :     
   42266           0 :     SWIG_croak_null();
   42267             :   }
   42268             : }
   42269             : 
   42270             : 
   42271           0 : XS(_wrap_msGetErrorObj) {
   42272             :   {
   42273             :     int argvi = 0;
   42274             :     errorObj *result = 0 ;
   42275           0 :     dXSARGS;
   42276             :     
   42277           0 :     if ((items < 0) || (items > 0)) {
   42278           0 :       SWIG_croak("Usage: msGetErrorObj();");
   42279             :     }
   42280           0 :     result = (errorObj *)msGetErrorObj();
   42281           0 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_errorObj, 0 | SWIG_SHADOW); argvi++ ;
   42282           0 :     XSRETURN(argvi);
   42283             :   fail:
   42284           0 :     SWIG_croak_null();
   42285             :   }
   42286             : }
   42287             : 
   42288             : 
   42289           0 : XS(_wrap_msResetErrorList) {
   42290             :   {
   42291             :     int argvi = 0;
   42292           0 :     dXSARGS;
   42293             :     
   42294           0 :     if ((items < 0) || (items > 0)) {
   42295           0 :       SWIG_croak("Usage: msResetErrorList();");
   42296             :     }
   42297           0 :     msResetErrorList();
   42298           0 :     ST(argvi) = sv_newmortal();
   42299           0 :     XSRETURN(argvi);
   42300             :   fail:
   42301           0 :     SWIG_croak_null();
   42302             :   }
   42303             : }
   42304             : 
   42305             : 
   42306           1 : XS(_wrap_msGetVersion) {
   42307             :   {
   42308             :     int argvi = 0;
   42309             :     char *result = 0 ;
   42310           1 :     dXSARGS;
   42311             :     
   42312           1 :     if ((items < 0) || (items > 0)) {
   42313           0 :       SWIG_croak("Usage: msGetVersion();");
   42314             :     }
   42315           1 :     result = (char *)msGetVersion();
   42316           1 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   42317           1 :     XSRETURN(argvi);
   42318             :   fail:
   42319           0 :     SWIG_croak_null();
   42320             :   }
   42321             : }
   42322             : 
   42323             : 
   42324           0 : XS(_wrap_msGetVersionInt) {
   42325             :   {
   42326             :     int argvi = 0;
   42327             :     int result;
   42328           0 :     dXSARGS;
   42329             :     
   42330           0 :     if ((items < 0) || (items > 0)) {
   42331           0 :       SWIG_croak("Usage: msGetVersionInt();");
   42332             :     }
   42333           0 :     result = (int)msGetVersionInt();
   42334           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   42335           0 :     XSRETURN(argvi);
   42336             :   fail:
   42337           0 :     SWIG_croak_null();
   42338             :   }
   42339             : }
   42340             : 
   42341             : 
   42342           0 : XS(_wrap_msGetErrorString) {
   42343             :   {
   42344             :     char *arg1 = (char *) 0 ;
   42345             :     int res1 ;
   42346           0 :     char *buf1 = 0 ;
   42347           0 :     int alloc1 = 0 ;
   42348             :     int argvi = 0;
   42349             :     char *result = 0 ;
   42350           0 :     dXSARGS;
   42351             :     
   42352           0 :     if ((items < 1) || (items > 1)) {
   42353           0 :       SWIG_croak("Usage: msGetErrorString(delimiter);");
   42354             :     }
   42355           0 :     res1 = SWIG_AsCharPtrAndSize(ST(0), &buf1, NULL, &alloc1);
   42356           0 :     if (!SWIG_IsOK(res1)) {
   42357           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "msGetErrorString" "', argument " "1"" of type '" "char const *""'");
   42358             :     }
   42359           0 :     arg1 = (char *)(buf1);
   42360           0 :     result = (char *)msGetErrorString((char const *)arg1);
   42361           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   42362           0 :     if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
   42363           0 :     XSRETURN(argvi);
   42364           0 :   fail:
   42365           0 :     if (alloc1 == SWIG_NEWOBJ) free((char*)buf1);
   42366           0 :     SWIG_croak_null();
   42367             :   }
   42368             : }
   42369             : 
   42370             : 
   42371           0 : XS(_wrap_OWSRequest_NumParams_get) {
   42372             :   {
   42373             :     cgiRequestObj *arg1 = (cgiRequestObj *) 0 ;
   42374           0 :     void *argp1 = 0 ;
   42375             :     int res1 = 0 ;
   42376             :     int argvi = 0;
   42377             :     int result;
   42378           0 :     dXSARGS;
   42379             :     
   42380           0 :     if ((items < 1) || (items > 1)) {
   42381           0 :       SWIG_croak("Usage: OWSRequest_NumParams_get(self);");
   42382             :     }
   42383           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_cgiRequestObj, 0 |  0 );
   42384           0 :     if (!SWIG_IsOK(res1)) {
   42385           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OWSRequest_NumParams_get" "', argument " "1"" of type '" "cgiRequestObj *""'"); 
   42386             :     }
   42387           0 :     arg1 = (cgiRequestObj *)(argp1);
   42388           0 :     result = (int) ((arg1)->NumParams);
   42389           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   42390             :     
   42391           0 :     XSRETURN(argvi);
   42392           0 :   fail:
   42393             :     
   42394           0 :     SWIG_croak_null();
   42395             :   }
   42396             : }
   42397             : 
   42398             : 
   42399           0 : XS(_wrap_OWSRequest_type_set) {
   42400             :   {
   42401             :     cgiRequestObj *arg1 = (cgiRequestObj *) 0 ;
   42402             :     enum MS_REQUEST_TYPE arg2 ;
   42403           0 :     void *argp1 = 0 ;
   42404             :     int res1 = 0 ;
   42405             :     int val2 ;
   42406             :     int ecode2 = 0 ;
   42407             :     int argvi = 0;
   42408           0 :     dXSARGS;
   42409             :     
   42410           0 :     if ((items < 2) || (items > 2)) {
   42411           0 :       SWIG_croak("Usage: OWSRequest_type_set(self,type);");
   42412             :     }
   42413           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_cgiRequestObj, 0 |  0 );
   42414           0 :     if (!SWIG_IsOK(res1)) {
   42415           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OWSRequest_type_set" "', argument " "1"" of type '" "cgiRequestObj *""'"); 
   42416             :     }
   42417           0 :     arg1 = (cgiRequestObj *)(argp1);
   42418           0 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   42419           0 :     if (!SWIG_IsOK(ecode2)) {
   42420           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OWSRequest_type_set" "', argument " "2"" of type '" "enum MS_REQUEST_TYPE""'");
   42421             :     } 
   42422           0 :     arg2 = (enum MS_REQUEST_TYPE)(val2);
   42423           0 :     if (arg1) (arg1)->type = arg2;
   42424           0 :     ST(argvi) = sv_newmortal();
   42425             :     
   42426             :     
   42427           0 :     XSRETURN(argvi);
   42428           0 :   fail:
   42429             :     
   42430             :     
   42431           0 :     SWIG_croak_null();
   42432             :   }
   42433             : }
   42434             : 
   42435             : 
   42436           0 : XS(_wrap_OWSRequest_type_get) {
   42437             :   {
   42438             :     cgiRequestObj *arg1 = (cgiRequestObj *) 0 ;
   42439           0 :     void *argp1 = 0 ;
   42440             :     int res1 = 0 ;
   42441             :     int argvi = 0;
   42442             :     enum MS_REQUEST_TYPE result;
   42443           0 :     dXSARGS;
   42444             :     
   42445           0 :     if ((items < 1) || (items > 1)) {
   42446           0 :       SWIG_croak("Usage: OWSRequest_type_get(self);");
   42447             :     }
   42448           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_cgiRequestObj, 0 |  0 );
   42449           0 :     if (!SWIG_IsOK(res1)) {
   42450           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OWSRequest_type_get" "', argument " "1"" of type '" "cgiRequestObj *""'"); 
   42451             :     }
   42452           0 :     arg1 = (cgiRequestObj *)(argp1);
   42453           0 :     result = (enum MS_REQUEST_TYPE) ((arg1)->type);
   42454           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   42455             :     
   42456           0 :     XSRETURN(argvi);
   42457           0 :   fail:
   42458             :     
   42459           0 :     SWIG_croak_null();
   42460             :   }
   42461             : }
   42462             : 
   42463             : 
   42464           0 : XS(_wrap_OWSRequest_contenttype_set) {
   42465             :   {
   42466             :     cgiRequestObj *arg1 = (cgiRequestObj *) 0 ;
   42467             :     char *arg2 = (char *) 0 ;
   42468           0 :     void *argp1 = 0 ;
   42469             :     int res1 = 0 ;
   42470             :     int res2 ;
   42471           0 :     char *buf2 = 0 ;
   42472           0 :     int alloc2 = 0 ;
   42473             :     int argvi = 0;
   42474           0 :     dXSARGS;
   42475             :     
   42476           0 :     if ((items < 2) || (items > 2)) {
   42477           0 :       SWIG_croak("Usage: OWSRequest_contenttype_set(self,contenttype);");
   42478             :     }
   42479           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_cgiRequestObj, 0 |  0 );
   42480           0 :     if (!SWIG_IsOK(res1)) {
   42481           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OWSRequest_contenttype_set" "', argument " "1"" of type '" "cgiRequestObj *""'"); 
   42482             :     }
   42483           0 :     arg1 = (cgiRequestObj *)(argp1);
   42484           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   42485           0 :     if (!SWIG_IsOK(res2)) {
   42486           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OWSRequest_contenttype_set" "', argument " "2"" of type '" "char *""'");
   42487             :     }
   42488           0 :     arg2 = (char *)(buf2);
   42489             :     {
   42490           0 :       if (arg1->contenttype) free((char*)arg1->contenttype);
   42491           0 :       if (arg2) {
   42492           0 :         arg1->contenttype = (char *) malloc(strlen(arg2)+1);
   42493             :         strcpy((char*)arg1->contenttype,arg2);
   42494             :       } else {
   42495           0 :         arg1->contenttype = 0;
   42496             :       }
   42497             :     }
   42498           0 :     ST(argvi) = sv_newmortal();
   42499             :     
   42500           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   42501           0 :     XSRETURN(argvi);
   42502           0 :   fail:
   42503             :     
   42504           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   42505           0 :     SWIG_croak_null();
   42506             :   }
   42507             : }
   42508             : 
   42509             : 
   42510           0 : XS(_wrap_OWSRequest_contenttype_get) {
   42511             :   {
   42512             :     cgiRequestObj *arg1 = (cgiRequestObj *) 0 ;
   42513           0 :     void *argp1 = 0 ;
   42514             :     int res1 = 0 ;
   42515             :     int argvi = 0;
   42516             :     char *result = 0 ;
   42517           0 :     dXSARGS;
   42518             :     
   42519           0 :     if ((items < 1) || (items > 1)) {
   42520           0 :       SWIG_croak("Usage: OWSRequest_contenttype_get(self);");
   42521             :     }
   42522           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_cgiRequestObj, 0 |  0 );
   42523           0 :     if (!SWIG_IsOK(res1)) {
   42524           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OWSRequest_contenttype_get" "', argument " "1"" of type '" "cgiRequestObj *""'"); 
   42525             :     }
   42526           0 :     arg1 = (cgiRequestObj *)(argp1);
   42527           0 :     result = (char *) ((arg1)->contenttype);
   42528           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   42529             :     
   42530           0 :     XSRETURN(argvi);
   42531           0 :   fail:
   42532             :     
   42533           0 :     SWIG_croak_null();
   42534             :   }
   42535             : }
   42536             : 
   42537             : 
   42538           0 : XS(_wrap_OWSRequest_postrequest_set) {
   42539             :   {
   42540             :     cgiRequestObj *arg1 = (cgiRequestObj *) 0 ;
   42541             :     char *arg2 = (char *) 0 ;
   42542           0 :     void *argp1 = 0 ;
   42543             :     int res1 = 0 ;
   42544             :     int res2 ;
   42545           0 :     char *buf2 = 0 ;
   42546           0 :     int alloc2 = 0 ;
   42547             :     int argvi = 0;
   42548           0 :     dXSARGS;
   42549             :     
   42550           0 :     if ((items < 2) || (items > 2)) {
   42551           0 :       SWIG_croak("Usage: OWSRequest_postrequest_set(self,postrequest);");
   42552             :     }
   42553           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_cgiRequestObj, 0 |  0 );
   42554           0 :     if (!SWIG_IsOK(res1)) {
   42555           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OWSRequest_postrequest_set" "', argument " "1"" of type '" "cgiRequestObj *""'"); 
   42556             :     }
   42557           0 :     arg1 = (cgiRequestObj *)(argp1);
   42558           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   42559           0 :     if (!SWIG_IsOK(res2)) {
   42560           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OWSRequest_postrequest_set" "', argument " "2"" of type '" "char *""'");
   42561             :     }
   42562           0 :     arg2 = (char *)(buf2);
   42563             :     {
   42564           0 :       if (arg1->postrequest) free((char*)arg1->postrequest);
   42565           0 :       if (arg2) {
   42566           0 :         arg1->postrequest = (char *) malloc(strlen(arg2)+1);
   42567             :         strcpy((char*)arg1->postrequest,arg2);
   42568             :       } else {
   42569           0 :         arg1->postrequest = 0;
   42570             :       }
   42571             :     }
   42572           0 :     ST(argvi) = sv_newmortal();
   42573             :     
   42574           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   42575           0 :     XSRETURN(argvi);
   42576           0 :   fail:
   42577             :     
   42578           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   42579           0 :     SWIG_croak_null();
   42580             :   }
   42581             : }
   42582             : 
   42583             : 
   42584           0 : XS(_wrap_OWSRequest_postrequest_get) {
   42585             :   {
   42586             :     cgiRequestObj *arg1 = (cgiRequestObj *) 0 ;
   42587           0 :     void *argp1 = 0 ;
   42588             :     int res1 = 0 ;
   42589             :     int argvi = 0;
   42590             :     char *result = 0 ;
   42591           0 :     dXSARGS;
   42592             :     
   42593           0 :     if ((items < 1) || (items > 1)) {
   42594           0 :       SWIG_croak("Usage: OWSRequest_postrequest_get(self);");
   42595             :     }
   42596           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_cgiRequestObj, 0 |  0 );
   42597           0 :     if (!SWIG_IsOK(res1)) {
   42598           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OWSRequest_postrequest_get" "', argument " "1"" of type '" "cgiRequestObj *""'"); 
   42599             :     }
   42600           0 :     arg1 = (cgiRequestObj *)(argp1);
   42601           0 :     result = (char *) ((arg1)->postrequest);
   42602           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   42603             :     
   42604           0 :     XSRETURN(argvi);
   42605           0 :   fail:
   42606             :     
   42607           0 :     SWIG_croak_null();
   42608             :   }
   42609             : }
   42610             : 
   42611             : 
   42612           0 : XS(_wrap_OWSRequest_httpcookiedata_set) {
   42613             :   {
   42614             :     cgiRequestObj *arg1 = (cgiRequestObj *) 0 ;
   42615             :     char *arg2 = (char *) 0 ;
   42616           0 :     void *argp1 = 0 ;
   42617             :     int res1 = 0 ;
   42618             :     int res2 ;
   42619           0 :     char *buf2 = 0 ;
   42620           0 :     int alloc2 = 0 ;
   42621             :     int argvi = 0;
   42622           0 :     dXSARGS;
   42623             :     
   42624           0 :     if ((items < 2) || (items > 2)) {
   42625           0 :       SWIG_croak("Usage: OWSRequest_httpcookiedata_set(self,httpcookiedata);");
   42626             :     }
   42627           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_cgiRequestObj, 0 |  0 );
   42628           0 :     if (!SWIG_IsOK(res1)) {
   42629           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OWSRequest_httpcookiedata_set" "', argument " "1"" of type '" "cgiRequestObj *""'"); 
   42630             :     }
   42631           0 :     arg1 = (cgiRequestObj *)(argp1);
   42632           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   42633           0 :     if (!SWIG_IsOK(res2)) {
   42634           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OWSRequest_httpcookiedata_set" "', argument " "2"" of type '" "char *""'");
   42635             :     }
   42636           0 :     arg2 = (char *)(buf2);
   42637             :     {
   42638           0 :       if (arg1->httpcookiedata) free((char*)arg1->httpcookiedata);
   42639           0 :       if (arg2) {
   42640           0 :         arg1->httpcookiedata = (char *) malloc(strlen(arg2)+1);
   42641             :         strcpy((char*)arg1->httpcookiedata,arg2);
   42642             :       } else {
   42643           0 :         arg1->httpcookiedata = 0;
   42644             :       }
   42645             :     }
   42646           0 :     ST(argvi) = sv_newmortal();
   42647             :     
   42648           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   42649           0 :     XSRETURN(argvi);
   42650           0 :   fail:
   42651             :     
   42652           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   42653           0 :     SWIG_croak_null();
   42654             :   }
   42655             : }
   42656             : 
   42657             : 
   42658           0 : XS(_wrap_OWSRequest_httpcookiedata_get) {
   42659             :   {
   42660             :     cgiRequestObj *arg1 = (cgiRequestObj *) 0 ;
   42661           0 :     void *argp1 = 0 ;
   42662             :     int res1 = 0 ;
   42663             :     int argvi = 0;
   42664             :     char *result = 0 ;
   42665           0 :     dXSARGS;
   42666             :     
   42667           0 :     if ((items < 1) || (items > 1)) {
   42668           0 :       SWIG_croak("Usage: OWSRequest_httpcookiedata_get(self);");
   42669             :     }
   42670           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_cgiRequestObj, 0 |  0 );
   42671           0 :     if (!SWIG_IsOK(res1)) {
   42672           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OWSRequest_httpcookiedata_get" "', argument " "1"" of type '" "cgiRequestObj *""'"); 
   42673             :     }
   42674           0 :     arg1 = (cgiRequestObj *)(argp1);
   42675           0 :     result = (char *) ((arg1)->httpcookiedata);
   42676           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   42677             :     
   42678           0 :     XSRETURN(argvi);
   42679           0 :   fail:
   42680             :     
   42681           0 :     SWIG_croak_null();
   42682             :   }
   42683             : }
   42684             : 
   42685             : 
   42686           1 : XS(_wrap_new_OWSRequest) {
   42687             :   {
   42688             :     int argvi = 0;
   42689             :     cgiRequestObj *result = 0 ;
   42690           1 :     dXSARGS;
   42691             :     
   42692           1 :     if ((items < 0) || (items > 0)) {
   42693           0 :       SWIG_croak("Usage: new_OWSRequest();");
   42694             :     }
   42695           1 :     result = (cgiRequestObj *)new_cgiRequestObj();
   42696           1 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_cgiRequestObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   42697           1 :     XSRETURN(argvi);
   42698             :   fail:
   42699           0 :     SWIG_croak_null();
   42700             :   }
   42701             : }
   42702             : 
   42703             : 
   42704           1 : XS(_wrap_delete_OWSRequest) {
   42705             :   {
   42706             :     cgiRequestObj *arg1 = (cgiRequestObj *) 0 ;
   42707           1 :     void *argp1 = 0 ;
   42708             :     int res1 = 0 ;
   42709             :     int argvi = 0;
   42710           1 :     dXSARGS;
   42711             :     
   42712           1 :     if ((items < 1) || (items > 1)) {
   42713           0 :       SWIG_croak("Usage: delete_OWSRequest(self);");
   42714             :     }
   42715           1 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_cgiRequestObj, SWIG_POINTER_DISOWN |  0 );
   42716           1 :     if (!SWIG_IsOK(res1)) {
   42717           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_OWSRequest" "', argument " "1"" of type '" "cgiRequestObj *""'"); 
   42718             :     }
   42719           1 :     arg1 = (cgiRequestObj *)(argp1);
   42720             :     delete_cgiRequestObj(arg1);
   42721           1 :     ST(argvi) = sv_newmortal();
   42722             :     
   42723           1 :     XSRETURN(argvi);
   42724           0 :   fail:
   42725             :     
   42726           0 :     SWIG_croak_null();
   42727             :   }
   42728             : }
   42729             : 
   42730             : 
   42731           0 : XS(_wrap_OWSRequest_loadParams) {
   42732             :   {
   42733             :     cgiRequestObj *arg1 = (cgiRequestObj *) 0 ;
   42734           0 :     void *argp1 = 0 ;
   42735             :     int res1 = 0 ;
   42736             :     int argvi = 0;
   42737             :     int result;
   42738           0 :     dXSARGS;
   42739             :     
   42740           0 :     if ((items < 1) || (items > 1)) {
   42741           0 :       SWIG_croak("Usage: OWSRequest_loadParams(self);");
   42742             :     }
   42743           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_cgiRequestObj, 0 |  0 );
   42744           0 :     if (!SWIG_IsOK(res1)) {
   42745           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OWSRequest_loadParams" "', argument " "1"" of type '" "cgiRequestObj *""'"); 
   42746             :     }
   42747           0 :     arg1 = (cgiRequestObj *)(argp1);
   42748             :     result = (int)cgiRequestObj_loadParams(arg1);
   42749           0 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   42750             :     
   42751           0 :     XSRETURN(argvi);
   42752           0 :   fail:
   42753             :     
   42754           0 :     SWIG_croak_null();
   42755             :   }
   42756             : }
   42757             : 
   42758             : 
   42759           1 : XS(_wrap_OWSRequest_loadParamsFromURL) {
   42760             :   {
   42761             :     cgiRequestObj *arg1 = (cgiRequestObj *) 0 ;
   42762             :     char *arg2 = (char *) 0 ;
   42763           1 :     void *argp1 = 0 ;
   42764             :     int res1 = 0 ;
   42765             :     int res2 ;
   42766           1 :     char *buf2 = 0 ;
   42767           1 :     int alloc2 = 0 ;
   42768             :     int argvi = 0;
   42769             :     int result;
   42770           1 :     dXSARGS;
   42771             :     
   42772           1 :     if ((items < 2) || (items > 2)) {
   42773           0 :       SWIG_croak("Usage: OWSRequest_loadParamsFromURL(self,url);");
   42774             :     }
   42775           1 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_cgiRequestObj, 0 |  0 );
   42776           1 :     if (!SWIG_IsOK(res1)) {
   42777           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OWSRequest_loadParamsFromURL" "', argument " "1"" of type '" "cgiRequestObj *""'"); 
   42778             :     }
   42779           1 :     arg1 = (cgiRequestObj *)(argp1);
   42780           1 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   42781           1 :     if (!SWIG_IsOK(res2)) {
   42782           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OWSRequest_loadParamsFromURL" "', argument " "2"" of type '" "char const *""'");
   42783             :     }
   42784           1 :     arg2 = (char *)(buf2);
   42785             :     result = (int)cgiRequestObj_loadParamsFromURL(arg1,(char const *)arg2);
   42786           1 :     ST(argvi) = SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(result)); argvi++ ;
   42787             :     
   42788           1 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   42789           1 :     XSRETURN(argvi);
   42790           0 :   fail:
   42791             :     
   42792           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   42793           0 :     SWIG_croak_null();
   42794             :   }
   42795             : }
   42796             : 
   42797             : 
   42798           0 : XS(_wrap_OWSRequest_setParameter) {
   42799             :   {
   42800             :     cgiRequestObj *arg1 = (cgiRequestObj *) 0 ;
   42801             :     char *arg2 = (char *) 0 ;
   42802             :     char *arg3 = (char *) 0 ;
   42803           0 :     void *argp1 = 0 ;
   42804             :     int res1 = 0 ;
   42805             :     int res2 ;
   42806           0 :     char *buf2 = 0 ;
   42807           0 :     int alloc2 = 0 ;
   42808             :     int res3 ;
   42809           0 :     char *buf3 = 0 ;
   42810           0 :     int alloc3 = 0 ;
   42811             :     int argvi = 0;
   42812           0 :     dXSARGS;
   42813             :     
   42814           0 :     if ((items < 3) || (items > 3)) {
   42815           0 :       SWIG_croak("Usage: OWSRequest_setParameter(self,name,value);");
   42816             :     }
   42817           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_cgiRequestObj, 0 |  0 );
   42818           0 :     if (!SWIG_IsOK(res1)) {
   42819           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OWSRequest_setParameter" "', argument " "1"" of type '" "cgiRequestObj *""'"); 
   42820             :     }
   42821           0 :     arg1 = (cgiRequestObj *)(argp1);
   42822           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   42823           0 :     if (!SWIG_IsOK(res2)) {
   42824           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OWSRequest_setParameter" "', argument " "2"" of type '" "char *""'");
   42825             :     }
   42826           0 :     arg2 = (char *)(buf2);
   42827           0 :     res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
   42828           0 :     if (!SWIG_IsOK(res3)) {
   42829           0 :       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OWSRequest_setParameter" "', argument " "3"" of type '" "char *""'");
   42830             :     }
   42831           0 :     arg3 = (char *)(buf3);
   42832           0 :     cgiRequestObj_setParameter(arg1,arg2,arg3);
   42833           0 :     ST(argvi) = sv_newmortal();
   42834             :     
   42835           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   42836           0 :     if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
   42837           0 :     XSRETURN(argvi);
   42838           0 :   fail:
   42839             :     
   42840           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   42841           0 :     if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
   42842           0 :     SWIG_croak_null();
   42843             :   }
   42844             : }
   42845             : 
   42846             : 
   42847           0 : XS(_wrap_OWSRequest_addParameter) {
   42848             :   {
   42849             :     cgiRequestObj *arg1 = (cgiRequestObj *) 0 ;
   42850             :     char *arg2 = (char *) 0 ;
   42851             :     char *arg3 = (char *) 0 ;
   42852           0 :     void *argp1 = 0 ;
   42853             :     int res1 = 0 ;
   42854             :     int res2 ;
   42855           0 :     char *buf2 = 0 ;
   42856           0 :     int alloc2 = 0 ;
   42857             :     int res3 ;
   42858           0 :     char *buf3 = 0 ;
   42859           0 :     int alloc3 = 0 ;
   42860             :     int argvi = 0;
   42861           0 :     dXSARGS;
   42862             :     
   42863           0 :     if ((items < 3) || (items > 3)) {
   42864           0 :       SWIG_croak("Usage: OWSRequest_addParameter(self,name,value);");
   42865             :     }
   42866           0 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_cgiRequestObj, 0 |  0 );
   42867           0 :     if (!SWIG_IsOK(res1)) {
   42868           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OWSRequest_addParameter" "', argument " "1"" of type '" "cgiRequestObj *""'"); 
   42869             :     }
   42870           0 :     arg1 = (cgiRequestObj *)(argp1);
   42871           0 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   42872           0 :     if (!SWIG_IsOK(res2)) {
   42873           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OWSRequest_addParameter" "', argument " "2"" of type '" "char *""'");
   42874             :     }
   42875           0 :     arg2 = (char *)(buf2);
   42876           0 :     res3 = SWIG_AsCharPtrAndSize(ST(2), &buf3, NULL, &alloc3);
   42877           0 :     if (!SWIG_IsOK(res3)) {
   42878           0 :       SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "OWSRequest_addParameter" "', argument " "3"" of type '" "char *""'");
   42879             :     }
   42880           0 :     arg3 = (char *)(buf3);
   42881           0 :     cgiRequestObj_addParameter(arg1,arg2,arg3);
   42882           0 :     ST(argvi) = sv_newmortal();
   42883             :     
   42884           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   42885           0 :     if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
   42886           0 :     XSRETURN(argvi);
   42887           0 :   fail:
   42888             :     
   42889           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   42890           0 :     if (alloc3 == SWIG_NEWOBJ) free((char*)buf3);
   42891           0 :     SWIG_croak_null();
   42892             :   }
   42893             : }
   42894             : 
   42895             : 
   42896           1 : XS(_wrap_OWSRequest_getName) {
   42897             :   {
   42898             :     cgiRequestObj *arg1 = (cgiRequestObj *) 0 ;
   42899             :     int arg2 ;
   42900           1 :     void *argp1 = 0 ;
   42901             :     int res1 = 0 ;
   42902             :     int val2 ;
   42903             :     int ecode2 = 0 ;
   42904             :     int argvi = 0;
   42905             :     char *result = 0 ;
   42906           1 :     dXSARGS;
   42907             :     
   42908           1 :     if ((items < 2) || (items > 2)) {
   42909           0 :       SWIG_croak("Usage: OWSRequest_getName(self,index);");
   42910             :     }
   42911           1 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_cgiRequestObj, 0 |  0 );
   42912           1 :     if (!SWIG_IsOK(res1)) {
   42913           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OWSRequest_getName" "', argument " "1"" of type '" "cgiRequestObj *""'"); 
   42914             :     }
   42915           1 :     arg1 = (cgiRequestObj *)(argp1);
   42916           1 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   42917           1 :     if (!SWIG_IsOK(ecode2)) {
   42918           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OWSRequest_getName" "', argument " "2"" of type '" "int""'");
   42919             :     } 
   42920             :     arg2 = (int)(val2);
   42921           1 :     result = (char *)cgiRequestObj_getName(arg1,arg2);
   42922           1 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   42923             :     
   42924             :     
   42925           1 :     XSRETURN(argvi);
   42926           0 :   fail:
   42927             :     
   42928             :     
   42929           0 :     SWIG_croak_null();
   42930             :   }
   42931             : }
   42932             : 
   42933             : 
   42934           1 : XS(_wrap_OWSRequest_getValue) {
   42935             :   {
   42936             :     cgiRequestObj *arg1 = (cgiRequestObj *) 0 ;
   42937             :     int arg2 ;
   42938           1 :     void *argp1 = 0 ;
   42939             :     int res1 = 0 ;
   42940             :     int val2 ;
   42941             :     int ecode2 = 0 ;
   42942             :     int argvi = 0;
   42943             :     char *result = 0 ;
   42944           1 :     dXSARGS;
   42945             :     
   42946           1 :     if ((items < 2) || (items > 2)) {
   42947           0 :       SWIG_croak("Usage: OWSRequest_getValue(self,index);");
   42948             :     }
   42949           1 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_cgiRequestObj, 0 |  0 );
   42950           1 :     if (!SWIG_IsOK(res1)) {
   42951           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OWSRequest_getValue" "', argument " "1"" of type '" "cgiRequestObj *""'"); 
   42952             :     }
   42953           1 :     arg1 = (cgiRequestObj *)(argp1);
   42954           1 :     ecode2 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(1), &val2);
   42955           1 :     if (!SWIG_IsOK(ecode2)) {
   42956           0 :       SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "OWSRequest_getValue" "', argument " "2"" of type '" "int""'");
   42957             :     } 
   42958             :     arg2 = (int)(val2);
   42959           1 :     result = (char *)cgiRequestObj_getValue(arg1,arg2);
   42960           1 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   42961             :     
   42962             :     
   42963           1 :     XSRETURN(argvi);
   42964           0 :   fail:
   42965             :     
   42966             :     
   42967           0 :     SWIG_croak_null();
   42968             :   }
   42969             : }
   42970             : 
   42971             : 
   42972           1 : XS(_wrap_OWSRequest_getValueByName) {
   42973             :   {
   42974             :     cgiRequestObj *arg1 = (cgiRequestObj *) 0 ;
   42975             :     char *arg2 = (char *) 0 ;
   42976           1 :     void *argp1 = 0 ;
   42977             :     int res1 = 0 ;
   42978             :     int res2 ;
   42979           1 :     char *buf2 = 0 ;
   42980           1 :     int alloc2 = 0 ;
   42981             :     int argvi = 0;
   42982             :     char *result = 0 ;
   42983           1 :     dXSARGS;
   42984             :     
   42985           1 :     if ((items < 2) || (items > 2)) {
   42986           0 :       SWIG_croak("Usage: OWSRequest_getValueByName(self,name);");
   42987             :     }
   42988           1 :     res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_cgiRequestObj, 0 |  0 );
   42989           1 :     if (!SWIG_IsOK(res1)) {
   42990           0 :       SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "OWSRequest_getValueByName" "', argument " "1"" of type '" "cgiRequestObj *""'"); 
   42991             :     }
   42992           1 :     arg1 = (cgiRequestObj *)(argp1);
   42993           1 :     res2 = SWIG_AsCharPtrAndSize(ST(1), &buf2, NULL, &alloc2);
   42994           1 :     if (!SWIG_IsOK(res2)) {
   42995           0 :       SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "OWSRequest_getValueByName" "', argument " "2"" of type '" "char const *""'");
   42996             :     }
   42997           1 :     arg2 = (char *)(buf2);
   42998           1 :     result = (char *)cgiRequestObj_getValueByName(arg1,(char const *)arg2);
   42999           1 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   43000             :     
   43001           1 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   43002           1 :     XSRETURN(argvi);
   43003           0 :   fail:
   43004             :     
   43005           0 :     if (alloc2 == SWIG_NEWOBJ) free((char*)buf2);
   43006           0 :     SWIG_croak_null();
   43007             :   }
   43008             : }
   43009             : 
   43010             : 
   43011           0 : XS(_wrap_msConnPoolCloseUnreferenced) {
   43012             :   {
   43013             :     int argvi = 0;
   43014           0 :     dXSARGS;
   43015             :     
   43016           0 :     if ((items < 0) || (items > 0)) {
   43017           0 :       SWIG_croak("Usage: msConnPoolCloseUnreferenced();");
   43018             :     }
   43019           0 :     msConnPoolCloseUnreferenced();
   43020           0 :     ST(argvi) = sv_newmortal();
   43021           0 :     XSRETURN(argvi);
   43022             :   fail:
   43023           0 :     SWIG_croak_null();
   43024             :   }
   43025             : }
   43026             : 
   43027             : 
   43028           0 : XS(_wrap_msIO_resetHandlers) {
   43029             :   {
   43030             :     int argvi = 0;
   43031           0 :     dXSARGS;
   43032             :     
   43033           0 :     if ((items < 0) || (items > 0)) {
   43034           0 :       SWIG_croak("Usage: msIO_resetHandlers();");
   43035             :     }
   43036           0 :     msIO_resetHandlers();
   43037           0 :     ST(argvi) = sv_newmortal();
   43038           0 :     XSRETURN(argvi);
   43039             :   fail:
   43040           0 :     SWIG_croak_null();
   43041             :   }
   43042             : }
   43043             : 
   43044             : 
   43045           1 : XS(_wrap_msIO_installStdoutToBuffer) {
   43046             :   {
   43047             :     int argvi = 0;
   43048           1 :     dXSARGS;
   43049             :     
   43050           1 :     if ((items < 0) || (items > 0)) {
   43051           0 :       SWIG_croak("Usage: msIO_installStdoutToBuffer();");
   43052             :     }
   43053           1 :     msIO_installStdoutToBuffer();
   43054           1 :     ST(argvi) = sv_newmortal();
   43055           1 :     XSRETURN(argvi);
   43056             :   fail:
   43057           0 :     SWIG_croak_null();
   43058             :   }
   43059             : }
   43060             : 
   43061             : 
   43062           0 : XS(_wrap_msIO_installStdinFromBuffer) {
   43063             :   {
   43064             :     int argvi = 0;
   43065           0 :     dXSARGS;
   43066             :     
   43067           0 :     if ((items < 0) || (items > 0)) {
   43068           0 :       SWIG_croak("Usage: msIO_installStdinFromBuffer();");
   43069             :     }
   43070           0 :     msIO_installStdinFromBuffer();
   43071           0 :     ST(argvi) = sv_newmortal();
   43072           0 :     XSRETURN(argvi);
   43073             :   fail:
   43074           0 :     SWIG_croak_null();
   43075             :   }
   43076             : }
   43077             : 
   43078             : 
   43079           0 : XS(_wrap_msIO_stripStdoutBufferContentType) {
   43080             :   {
   43081             :     int argvi = 0;
   43082             :     char *result = 0 ;
   43083           0 :     dXSARGS;
   43084             :     
   43085           0 :     if ((items < 0) || (items > 0)) {
   43086           0 :       SWIG_croak("Usage: msIO_stripStdoutBufferContentType();");
   43087             :     }
   43088           0 :     result = (char *)msIO_stripStdoutBufferContentType();
   43089           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   43090           0 :     free((char*)result);
   43091           0 :     XSRETURN(argvi);
   43092             :   fail:
   43093           0 :     SWIG_croak_null();
   43094             :   }
   43095             : }
   43096             : 
   43097             : 
   43098           0 : XS(_wrap_msIO_stripStdoutBufferContentHeaders) {
   43099             :   {
   43100             :     int argvi = 0;
   43101           0 :     dXSARGS;
   43102             :     
   43103           0 :     if ((items < 0) || (items > 0)) {
   43104           0 :       SWIG_croak("Usage: msIO_stripStdoutBufferContentHeaders();");
   43105             :     }
   43106           0 :     msIO_stripStdoutBufferContentHeaders();
   43107           0 :     ST(argvi) = sv_newmortal();
   43108           0 :     XSRETURN(argvi);
   43109             :   fail:
   43110           0 :     SWIG_croak_null();
   43111             :   }
   43112             : }
   43113             : 
   43114             : 
   43115           0 : XS(_wrap_msIO_getStdoutBufferString) {
   43116             :   {
   43117             :     int argvi = 0;
   43118             :     char *result = 0 ;
   43119           0 :     dXSARGS;
   43120             :     
   43121           0 :     if ((items < 0) || (items > 0)) {
   43122           0 :       SWIG_croak("Usage: msIO_getStdoutBufferString();");
   43123             :     }
   43124           0 :     result = (char *)msIO_getStdoutBufferString();
   43125           0 :     ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
   43126           0 :     XSRETURN(argvi);
   43127             :   fail:
   43128           0 :     SWIG_croak_null();
   43129             :   }
   43130             : }
   43131             : 
   43132             : 
   43133           1 : XS(_wrap_msIO_getStdoutBufferBytes) {
   43134             :   {
   43135             :     int argvi = 0;
   43136             :     gdBuffer result;
   43137           1 :     dXSARGS;
   43138             :     
   43139           1 :     if ((items < 0) || (items > 0)) {
   43140           0 :       SWIG_croak("Usage: msIO_getStdoutBufferBytes();");
   43141             :     }
   43142           1 :     result = msIO_getStdoutBufferBytes();
   43143             :     {
   43144             :       SV *mysv;
   43145           1 :       mysv = sv_newmortal();
   43146           1 :       if ((&result)->data == NULL)
   43147           0 :       sv_setpv(mysv,"");
   43148             :       else
   43149           1 :       sv_setpvn(mysv,(const char*)(&result)->data,(&result)->size);
   43150           1 :       ST(argvi) = newRV(mysv);
   43151           1 :       sv_2mortal(ST(argvi));
   43152             :       argvi++;
   43153           1 :       if( (&result)->owns_data )
   43154           1 :       msFree((&result)->data);
   43155             :     }
   43156           1 :     XSRETURN(argvi);
   43157             :   fail:
   43158           0 :     SWIG_croak_null();
   43159             :   }
   43160             : }
   43161             : 
   43162             : 
   43163           1 : XS(_wrap_msIO_getAndStripStdoutBufferMimeHeaders) {
   43164             :   {
   43165             :     int argvi = 0;
   43166             :     hashTableObj *result = 0 ;
   43167           1 :     dXSARGS;
   43168             :     
   43169           1 :     if ((items < 0) || (items > 0)) {
   43170           0 :       SWIG_croak("Usage: msIO_getAndStripStdoutBufferMimeHeaders();");
   43171             :     }
   43172           1 :     result = (hashTableObj *)msIO_getAndStripStdoutBufferMimeHeaders();
   43173           1 :     ST(argvi) = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_hashTableObj, SWIG_OWNER | SWIG_SHADOW); argvi++ ;
   43174           1 :     XSRETURN(argvi);
   43175             :   fail:
   43176           0 :     SWIG_croak_null();
   43177             :   }
   43178             : }
   43179             : 
   43180             : 
   43181             : 
   43182             : /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
   43183             : 
   43184           0 : static void *_p_intarrayTo_p_int(void *x, int *SWIGUNUSEDPARM(newmemory)) {
   43185           0 :     return (void *)((int *)  ((intarray *) x));
   43186             : }
   43187             : static swig_type_info _swigt__p_CompositingOperation = {"_p_CompositingOperation", "enum CompositingOperation *|CompositingOperation *", 0, 0, (void*)0, 0};
   43188             : static swig_type_info _swigt__p_DBFFieldType = {"_p_DBFFieldType", "enum DBFFieldType *|DBFFieldType *", 0, 0, (void*)0, 0};
   43189             : static swig_type_info _swigt__p_DBFInfo = {"_p_DBFInfo", "DBFInfo *", 0, 0, (void*)"mapscript::DBFInfo", 0};
   43190             : static swig_type_info _swigt__p_FILE = {"_p_FILE", "FILE *", 0, 0, (void*)0, 0};
   43191             : static swig_type_info _swigt__p_VSILFILE = {"_p_VSILFILE", "VSILFILE *", 0, 0, (void*)0, 0};
   43192             : static swig_type_info _swigt__p__CompositingFilter = {"_p__CompositingFilter", "struct _CompositingFilter *|_CompositingFilter *|CompositingFilter *", 0, 0, (void*)"mapscript::CompositingFilter", 0};
   43193             : static swig_type_info _swigt__p__LayerCompositer = {"_p__LayerCompositer", "struct _LayerCompositer *|_LayerCompositer *|LayerCompositer *", 0, 0, (void*)"mapscript::LayerCompositer", 0};
   43194             : static swig_type_info _swigt__p_cgiRequestObj = {"_p_cgiRequestObj", "cgiRequestObj *", 0, 0, (void*)"mapscript::OWSRequest", 0};
   43195             : static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
   43196             : static swig_type_info _swigt__p_classObj = {"_p_classObj", "classObj *|struct classObj *", 0, 0, (void*)"mapscript::classObj", 0};
   43197             : static swig_type_info _swigt__p_clusterObj = {"_p_clusterObj", "clusterObj *", 0, 0, (void*)"mapscript::clusterObj", 0};
   43198             : static swig_type_info _swigt__p_colorObj = {"_p_colorObj", "colorObj *", 0, 0, (void*)"mapscript::colorObj", 0};
   43199             : static swig_type_info _swigt__p_debugLevel = {"_p_debugLevel", "enum debugLevel *|debugLevel *", 0, 0, (void*)0, 0};
   43200             : static swig_type_info _swigt__p_double = {"_p_double", "double *", 0, 0, (void*)0, 0};
   43201             : static swig_type_info _swigt__p_errorObj = {"_p_errorObj", "struct errorObj *|errorObj *", 0, 0, (void*)"mapscript::errorObj", 0};
   43202             : static swig_type_info _swigt__p_expressionObj = {"_p_expressionObj", "expressionObj *", 0, 0, (void*)0, 0};
   43203             : static swig_type_info _swigt__p_fontSetObj = {"_p_fontSetObj", "fontSetObj *", 0, 0, (void*)"mapscript::fontSetObj", 0};
   43204             : static swig_type_info _swigt__p_hashTableObj = {"_p_hashTableObj", "hashTableObj *", 0, 0, (void*)"mapscript::hashTableObj", 0};
   43205             : static swig_type_info _swigt__p_imageObj = {"_p_imageObj", "imageObj *|struct imageObj *", 0, 0, (void*)"mapscript::imageObj", 0};
   43206             : static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
   43207             : static swig_type_info _swigt__p_int32_t = {"_p_int32_t", "int32_t *|ms_int32 *", 0, 0, (void*)0, 0};
   43208             : static swig_type_info _swigt__p_intarray = {"_p_intarray", "intarray *", 0, 0, (void*)"mapscript::intarray", 0};
   43209             : static swig_type_info _swigt__p_labelCacheMemberObj = {"_p_labelCacheMemberObj", "labelCacheMemberObj *", 0, 0, (void*)"mapscript::labelCacheMemberObj", 0};
   43210             : static swig_type_info _swigt__p_labelCacheObj = {"_p_labelCacheObj", "labelCacheObj *", 0, 0, (void*)"mapscript::labelCacheObj", 0};
   43211             : static swig_type_info _swigt__p_labelCacheSlotObj = {"_p_labelCacheSlotObj", "labelCacheSlotObj *", 0, 0, (void*)"mapscript::labelCacheSlotObj", 0};
   43212             : static swig_type_info _swigt__p_labelLeaderObj = {"_p_labelLeaderObj", "labelLeaderObj *", 0, 0, (void*)"mapscript::labelLeaderObj", 0};
   43213             : static swig_type_info _swigt__p_labelObj = {"_p_labelObj", "struct labelObj *|labelObj *", 0, 0, (void*)"mapscript::labelObj", 0};
   43214             : static swig_type_info _swigt__p_layerObj = {"_p_layerObj", "struct layerObj *|layerObj *", 0, 0, (void*)"mapscript::layerObj", 0};
   43215             : static swig_type_info _swigt__p_legendObj = {"_p_legendObj", "legendObj *", 0, 0, (void*)"mapscript::legendObj", 0};
   43216             : static swig_type_info _swigt__p_lineObj = {"_p_lineObj", "lineObj *|multipointObj *", 0, 0, (void*)"mapscript::lineObj", 0};
   43217             : static swig_type_info _swigt__p_mapObj = {"_p_mapObj", "struct mapObj *|mapObj *", 0, 0, (void*)"mapscript::mapObj", 0};
   43218             : static swig_type_info _swigt__p_markerCacheMemberObj = {"_p_markerCacheMemberObj", "markerCacheMemberObj *", 0, 0, (void*)"mapscript::markerCacheMemberObj", 0};
   43219             : static swig_type_info _swigt__p_outputFormatObj = {"_p_outputFormatObj", "outputFormatObj *", 0, 0, (void*)"mapscript::outputFormatObj", 0};
   43220             : static swig_type_info _swigt__p_p_char = {"_p_p_char", "char **", 0, 0, (void*)0, 0};
   43221             : static swig_type_info _swigt__p_p_labelCacheMemberObj = {"_p_p_labelCacheMemberObj", "labelCacheMemberObj **", 0, 0, (void*)0, 0};
   43222             : static swig_type_info _swigt__p_p_textSymbolObj = {"_p_p_textSymbolObj", "textSymbolObj **", 0, 0, (void*)0, 0};
   43223             : static swig_type_info _swigt__p_pointObj = {"_p_pointObj", "pointObj *", 0, 0, (void*)"mapscript::pointObj", 0};
   43224             : static swig_type_info _swigt__p_projectionContext = {"_p_projectionContext", "struct projectionContext *|projectionContext *", 0, 0, (void*)0, 0};
   43225             : static swig_type_info _swigt__p_projectionObj = {"_p_projectionObj", "projectionObj *", 0, 0, (void*)"mapscript::projectionObj", 0};
   43226             : static swig_type_info _swigt__p_queryMapObj = {"_p_queryMapObj", "queryMapObj *", 0, 0, (void*)"mapscript::queryMapObj", 0};
   43227             : static swig_type_info _swigt__p_rectObj = {"_p_rectObj", "rectObj *", 0, 0, (void*)"mapscript::rectObj", 0};
   43228             : static swig_type_info _swigt__p_referenceMapObj = {"_p_referenceMapObj", "referenceMapObj *", 0, 0, (void*)"mapscript::referenceMapObj", 0};
   43229             : static swig_type_info _swigt__p_resultCacheObj = {"_p_resultCacheObj", "resultCacheObj *", 0, 0, (void*)"mapscript::resultCacheObj", 0};
   43230             : static swig_type_info _swigt__p_resultObj = {"_p_resultObj", "resultObj *", 0, 0, (void*)"mapscript::resultObj", 0};
   43231             : static swig_type_info _swigt__p_scaleTokenEntryObj = {"_p_scaleTokenEntryObj", "scaleTokenEntryObj *", 0, 0, (void*)"mapscript::scaleTokenEntryObj", 0};
   43232             : static swig_type_info _swigt__p_scaleTokenObj = {"_p_scaleTokenObj", "scaleTokenObj *", 0, 0, (void*)"mapscript::scaleTokenObj", 0};
   43233             : static swig_type_info _swigt__p_scalebarObj = {"_p_scalebarObj", "scalebarObj *", 0, 0, (void*)"mapscript::scalebarObj", 0};
   43234             : static swig_type_info _swigt__p_shapeObj = {"_p_shapeObj", "shapeObj *", 0, 0, (void*)"mapscript::shapeObj", 0};
   43235             : static swig_type_info _swigt__p_shapefileObj = {"_p_shapefileObj", "shapefileObj *", 0, 0, (void*)"mapscript::shapefileObj", 0};
   43236             : static swig_type_info _swigt__p_styleObj = {"_p_styleObj", "struct styleObj *|styleObj *", 0, 0, (void*)"mapscript::styleObj", 0};
   43237             : static swig_type_info _swigt__p_symbolObj = {"_p_symbolObj", "symbolObj *|struct symbolObj *", 0, 0, (void*)"mapscript::symbolObj", 0};
   43238             : static swig_type_info _swigt__p_symbolSetObj = {"_p_symbolSetObj", "symbolSetObj *", 0, 0, (void*)"mapscript::symbolSetObj", 0};
   43239             : static swig_type_info _swigt__p_uint32_t = {"_p_uint32_t", "uint32_t *|ms_uint32 *|ms_bitarray", 0, 0, (void*)0, 0};
   43240             : static swig_type_info _swigt__p_webObj = {"_p_webObj", "webObj *", 0, 0, (void*)"mapscript::webObj", 0};
   43241             : 
   43242             : static swig_type_info *swig_type_initial[] = {
   43243             :   &_swigt__p_CompositingOperation,
   43244             :   &_swigt__p_DBFFieldType,
   43245             :   &_swigt__p_DBFInfo,
   43246             :   &_swigt__p_FILE,
   43247             :   &_swigt__p_VSILFILE,
   43248             :   &_swigt__p__CompositingFilter,
   43249             :   &_swigt__p__LayerCompositer,
   43250             :   &_swigt__p_cgiRequestObj,
   43251             :   &_swigt__p_char,
   43252             :   &_swigt__p_classObj,
   43253             :   &_swigt__p_clusterObj,
   43254             :   &_swigt__p_colorObj,
   43255             :   &_swigt__p_debugLevel,
   43256             :   &_swigt__p_double,
   43257             :   &_swigt__p_errorObj,
   43258             :   &_swigt__p_expressionObj,
   43259             :   &_swigt__p_fontSetObj,
   43260             :   &_swigt__p_hashTableObj,
   43261             :   &_swigt__p_imageObj,
   43262             :   &_swigt__p_int,
   43263             :   &_swigt__p_int32_t,
   43264             :   &_swigt__p_intarray,
   43265             :   &_swigt__p_labelCacheMemberObj,
   43266             :   &_swigt__p_labelCacheObj,
   43267             :   &_swigt__p_labelCacheSlotObj,
   43268             :   &_swigt__p_labelLeaderObj,
   43269             :   &_swigt__p_labelObj,
   43270             :   &_swigt__p_layerObj,
   43271             :   &_swigt__p_legendObj,
   43272             :   &_swigt__p_lineObj,
   43273             :   &_swigt__p_mapObj,
   43274             :   &_swigt__p_markerCacheMemberObj,
   43275             :   &_swigt__p_outputFormatObj,
   43276             :   &_swigt__p_p_char,
   43277             :   &_swigt__p_p_labelCacheMemberObj,
   43278             :   &_swigt__p_p_textSymbolObj,
   43279             :   &_swigt__p_pointObj,
   43280             :   &_swigt__p_projectionContext,
   43281             :   &_swigt__p_projectionObj,
   43282             :   &_swigt__p_queryMapObj,
   43283             :   &_swigt__p_rectObj,
   43284             :   &_swigt__p_referenceMapObj,
   43285             :   &_swigt__p_resultCacheObj,
   43286             :   &_swigt__p_resultObj,
   43287             :   &_swigt__p_scaleTokenEntryObj,
   43288             :   &_swigt__p_scaleTokenObj,
   43289             :   &_swigt__p_scalebarObj,
   43290             :   &_swigt__p_shapeObj,
   43291             :   &_swigt__p_shapefileObj,
   43292             :   &_swigt__p_styleObj,
   43293             :   &_swigt__p_symbolObj,
   43294             :   &_swigt__p_symbolSetObj,
   43295             :   &_swigt__p_uint32_t,
   43296             :   &_swigt__p_webObj,
   43297             : };
   43298             : 
   43299             : static swig_cast_info _swigc__p_CompositingOperation[] = {  {&_swigt__p_CompositingOperation, 0, 0, 0},{0, 0, 0, 0}};
   43300             : static swig_cast_info _swigc__p_DBFFieldType[] = {  {&_swigt__p_DBFFieldType, 0, 0, 0},{0, 0, 0, 0}};
   43301             : static swig_cast_info _swigc__p_DBFInfo[] = {  {&_swigt__p_DBFInfo, 0, 0, 0},{0, 0, 0, 0}};
   43302             : static swig_cast_info _swigc__p_FILE[] = {  {&_swigt__p_FILE, 0, 0, 0},{0, 0, 0, 0}};
   43303             : static swig_cast_info _swigc__p_VSILFILE[] = {  {&_swigt__p_VSILFILE, 0, 0, 0},{0, 0, 0, 0}};
   43304             : static swig_cast_info _swigc__p__CompositingFilter[] = {  {&_swigt__p__CompositingFilter, 0, 0, 0},{0, 0, 0, 0}};
   43305             : static swig_cast_info _swigc__p__LayerCompositer[] = {  {&_swigt__p__LayerCompositer, 0, 0, 0},{0, 0, 0, 0}};
   43306             : static swig_cast_info _swigc__p_cgiRequestObj[] = {  {&_swigt__p_cgiRequestObj, 0, 0, 0},{0, 0, 0, 0}};
   43307             : static swig_cast_info _swigc__p_char[] = {  {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
   43308             : static swig_cast_info _swigc__p_classObj[] = {  {&_swigt__p_classObj, 0, 0, 0},{0, 0, 0, 0}};
   43309             : static swig_cast_info _swigc__p_clusterObj[] = {  {&_swigt__p_clusterObj, 0, 0, 0},{0, 0, 0, 0}};
   43310             : static swig_cast_info _swigc__p_colorObj[] = {  {&_swigt__p_colorObj, 0, 0, 0},{0, 0, 0, 0}};
   43311             : static swig_cast_info _swigc__p_debugLevel[] = {  {&_swigt__p_debugLevel, 0, 0, 0},{0, 0, 0, 0}};
   43312             : static swig_cast_info _swigc__p_double[] = {  {&_swigt__p_double, 0, 0, 0},{0, 0, 0, 0}};
   43313             : static swig_cast_info _swigc__p_errorObj[] = {  {&_swigt__p_errorObj, 0, 0, 0},{0, 0, 0, 0}};
   43314             : static swig_cast_info _swigc__p_expressionObj[] = {  {&_swigt__p_expressionObj, 0, 0, 0},{0, 0, 0, 0}};
   43315             : static swig_cast_info _swigc__p_fontSetObj[] = {  {&_swigt__p_fontSetObj, 0, 0, 0},{0, 0, 0, 0}};
   43316             : static swig_cast_info _swigc__p_hashTableObj[] = {  {&_swigt__p_hashTableObj, 0, 0, 0},{0, 0, 0, 0}};
   43317             : static swig_cast_info _swigc__p_imageObj[] = {  {&_swigt__p_imageObj, 0, 0, 0},{0, 0, 0, 0}};
   43318             : static swig_cast_info _swigc__p_int[] = {  {&_swigt__p_int, 0, 0, 0},  {&_swigt__p_intarray, _p_intarrayTo_p_int, 0, 0},{0, 0, 0, 0}};
   43319             : static swig_cast_info _swigc__p_int32_t[] = {  {&_swigt__p_int32_t, 0, 0, 0},{0, 0, 0, 0}};
   43320             : static swig_cast_info _swigc__p_intarray[] = {  {&_swigt__p_intarray, 0, 0, 0},{0, 0, 0, 0}};
   43321             : static swig_cast_info _swigc__p_labelCacheMemberObj[] = {  {&_swigt__p_labelCacheMemberObj, 0, 0, 0},{0, 0, 0, 0}};
   43322             : static swig_cast_info _swigc__p_labelCacheObj[] = {  {&_swigt__p_labelCacheObj, 0, 0, 0},{0, 0, 0, 0}};
   43323             : static swig_cast_info _swigc__p_labelCacheSlotObj[] = {  {&_swigt__p_labelCacheSlotObj, 0, 0, 0},{0, 0, 0, 0}};
   43324             : static swig_cast_info _swigc__p_labelLeaderObj[] = {  {&_swigt__p_labelLeaderObj, 0, 0, 0},{0, 0, 0, 0}};
   43325             : static swig_cast_info _swigc__p_labelObj[] = {  {&_swigt__p_labelObj, 0, 0, 0},{0, 0, 0, 0}};
   43326             : static swig_cast_info _swigc__p_layerObj[] = {  {&_swigt__p_layerObj, 0, 0, 0},{0, 0, 0, 0}};
   43327             : static swig_cast_info _swigc__p_legendObj[] = {  {&_swigt__p_legendObj, 0, 0, 0},{0, 0, 0, 0}};
   43328             : static swig_cast_info _swigc__p_lineObj[] = {  {&_swigt__p_lineObj, 0, 0, 0},{0, 0, 0, 0}};
   43329             : static swig_cast_info _swigc__p_mapObj[] = {  {&_swigt__p_mapObj, 0, 0, 0},{0, 0, 0, 0}};
   43330             : static swig_cast_info _swigc__p_markerCacheMemberObj[] = {  {&_swigt__p_markerCacheMemberObj, 0, 0, 0},{0, 0, 0, 0}};
   43331             : static swig_cast_info _swigc__p_outputFormatObj[] = {  {&_swigt__p_outputFormatObj, 0, 0, 0},{0, 0, 0, 0}};
   43332             : static swig_cast_info _swigc__p_p_char[] = {  {&_swigt__p_p_char, 0, 0, 0},{0, 0, 0, 0}};
   43333             : static swig_cast_info _swigc__p_p_labelCacheMemberObj[] = {  {&_swigt__p_p_labelCacheMemberObj, 0, 0, 0},{0, 0, 0, 0}};
   43334             : static swig_cast_info _swigc__p_p_textSymbolObj[] = {  {&_swigt__p_p_textSymbolObj, 0, 0, 0},{0, 0, 0, 0}};
   43335             : static swig_cast_info _swigc__p_pointObj[] = {  {&_swigt__p_pointObj, 0, 0, 0},{0, 0, 0, 0}};
   43336             : static swig_cast_info _swigc__p_projectionContext[] = {  {&_swigt__p_projectionContext, 0, 0, 0},{0, 0, 0, 0}};
   43337             : static swig_cast_info _swigc__p_projectionObj[] = {  {&_swigt__p_projectionObj, 0, 0, 0},{0, 0, 0, 0}};
   43338             : static swig_cast_info _swigc__p_queryMapObj[] = {  {&_swigt__p_queryMapObj, 0, 0, 0},{0, 0, 0, 0}};
   43339             : static swig_cast_info _swigc__p_rectObj[] = {  {&_swigt__p_rectObj, 0, 0, 0},{0, 0, 0, 0}};
   43340             : static swig_cast_info _swigc__p_referenceMapObj[] = {  {&_swigt__p_referenceMapObj, 0, 0, 0},{0, 0, 0, 0}};
   43341             : static swig_cast_info _swigc__p_resultCacheObj[] = {  {&_swigt__p_resultCacheObj, 0, 0, 0},{0, 0, 0, 0}};
   43342             : static swig_cast_info _swigc__p_resultObj[] = {  {&_swigt__p_resultObj, 0, 0, 0},{0, 0, 0, 0}};
   43343             : static swig_cast_info _swigc__p_scaleTokenEntryObj[] = {  {&_swigt__p_scaleTokenEntryObj, 0, 0, 0},{0, 0, 0, 0}};
   43344             : static swig_cast_info _swigc__p_scaleTokenObj[] = {  {&_swigt__p_scaleTokenObj, 0, 0, 0},{0, 0, 0, 0}};
   43345             : static swig_cast_info _swigc__p_scalebarObj[] = {  {&_swigt__p_scalebarObj, 0, 0, 0},{0, 0, 0, 0}};
   43346             : static swig_cast_info _swigc__p_shapeObj[] = {  {&_swigt__p_shapeObj, 0, 0, 0},{0, 0, 0, 0}};
   43347             : static swig_cast_info _swigc__p_shapefileObj[] = {  {&_swigt__p_shapefileObj, 0, 0, 0},{0, 0, 0, 0}};
   43348             : static swig_cast_info _swigc__p_styleObj[] = {  {&_swigt__p_styleObj, 0, 0, 0},{0, 0, 0, 0}};
   43349             : static swig_cast_info _swigc__p_symbolObj[] = {  {&_swigt__p_symbolObj, 0, 0, 0},{0, 0, 0, 0}};
   43350             : static swig_cast_info _swigc__p_symbolSetObj[] = {  {&_swigt__p_symbolSetObj, 0, 0, 0},{0, 0, 0, 0}};
   43351             : static swig_cast_info _swigc__p_uint32_t[] = {  {&_swigt__p_uint32_t, 0, 0, 0},{0, 0, 0, 0}};
   43352             : static swig_cast_info _swigc__p_webObj[] = {  {&_swigt__p_webObj, 0, 0, 0},{0, 0, 0, 0}};
   43353             : 
   43354             : static swig_cast_info *swig_cast_initial[] = {
   43355             :   _swigc__p_CompositingOperation,
   43356             :   _swigc__p_DBFFieldType,
   43357             :   _swigc__p_DBFInfo,
   43358             :   _swigc__p_FILE,
   43359             :   _swigc__p_VSILFILE,
   43360             :   _swigc__p__CompositingFilter,
   43361             :   _swigc__p__LayerCompositer,
   43362             :   _swigc__p_cgiRequestObj,
   43363             :   _swigc__p_char,
   43364             :   _swigc__p_classObj,
   43365             :   _swigc__p_clusterObj,
   43366             :   _swigc__p_colorObj,
   43367             :   _swigc__p_debugLevel,
   43368             :   _swigc__p_double,
   43369             :   _swigc__p_errorObj,
   43370             :   _swigc__p_expressionObj,
   43371             :   _swigc__p_fontSetObj,
   43372             :   _swigc__p_hashTableObj,
   43373             :   _swigc__p_imageObj,
   43374             :   _swigc__p_int,
   43375             :   _swigc__p_int32_t,
   43376             :   _swigc__p_intarray,
   43377             :   _swigc__p_labelCacheMemberObj,
   43378             :   _swigc__p_labelCacheObj,
   43379             :   _swigc__p_labelCacheSlotObj,
   43380             :   _swigc__p_labelLeaderObj,
   43381             :   _swigc__p_labelObj,
   43382             :   _swigc__p_layerObj,
   43383             :   _swigc__p_legendObj,
   43384             :   _swigc__p_lineObj,
   43385             :   _swigc__p_mapObj,
   43386             :   _swigc__p_markerCacheMemberObj,
   43387             :   _swigc__p_outputFormatObj,
   43388             :   _swigc__p_p_char,
   43389             :   _swigc__p_p_labelCacheMemberObj,
   43390             :   _swigc__p_p_textSymbolObj,
   43391             :   _swigc__p_pointObj,
   43392             :   _swigc__p_projectionContext,
   43393             :   _swigc__p_projectionObj,
   43394             :   _swigc__p_queryMapObj,
   43395             :   _swigc__p_rectObj,
   43396             :   _swigc__p_referenceMapObj,
   43397             :   _swigc__p_resultCacheObj,
   43398             :   _swigc__p_resultObj,
   43399             :   _swigc__p_scaleTokenEntryObj,
   43400             :   _swigc__p_scaleTokenObj,
   43401             :   _swigc__p_scalebarObj,
   43402             :   _swigc__p_shapeObj,
   43403             :   _swigc__p_shapefileObj,
   43404             :   _swigc__p_styleObj,
   43405             :   _swigc__p_symbolObj,
   43406             :   _swigc__p_symbolSetObj,
   43407             :   _swigc__p_uint32_t,
   43408             :   _swigc__p_webObj,
   43409             : };
   43410             : 
   43411             : 
   43412             : /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
   43413             : 
   43414             : static swig_constant_info swig_constants[] = {
   43415             : {0,0,0,0,0,0}
   43416             : };
   43417             : #ifdef __cplusplus
   43418             : }
   43419             : #endif
   43420             : static swig_variable_info swig_variables[] = {
   43421             : {0,0,0,0}
   43422             : };
   43423             : static swig_command_info swig_commands[] = {
   43424             : {"mapscriptc::new_intarray", _wrap_new_intarray},
   43425             : {"mapscriptc::delete_intarray", _wrap_delete_intarray},
   43426             : {"mapscriptc::intarray_getitem", _wrap_intarray_getitem},
   43427             : {"mapscriptc::intarray_setitem", _wrap_intarray_setitem},
   43428             : {"mapscriptc::intarray_cast", _wrap_intarray_cast},
   43429             : {"mapscriptc::intarray_frompointer", _wrap_intarray_frompointer},
   43430             : {"mapscriptc::CompositingFilter_filter_set", _wrap_CompositingFilter_filter_set},
   43431             : {"mapscriptc::CompositingFilter_filter_get", _wrap_CompositingFilter_filter_get},
   43432             : {"mapscriptc::CompositingFilter_next_set", _wrap_CompositingFilter_next_set},
   43433             : {"mapscriptc::CompositingFilter_next_get", _wrap_CompositingFilter_next_get},
   43434             : {"mapscriptc::new_CompositingFilter", _wrap_new_CompositingFilter},
   43435             : {"mapscriptc::delete_CompositingFilter", _wrap_delete_CompositingFilter},
   43436             : {"mapscriptc::LayerCompositer_comp_op_set", _wrap_LayerCompositer_comp_op_set},
   43437             : {"mapscriptc::LayerCompositer_comp_op_get", _wrap_LayerCompositer_comp_op_get},
   43438             : {"mapscriptc::LayerCompositer_opacity_set", _wrap_LayerCompositer_opacity_set},
   43439             : {"mapscriptc::LayerCompositer_opacity_get", _wrap_LayerCompositer_opacity_get},
   43440             : {"mapscriptc::LayerCompositer_filter_set", _wrap_LayerCompositer_filter_set},
   43441             : {"mapscriptc::LayerCompositer_filter_get", _wrap_LayerCompositer_filter_get},
   43442             : {"mapscriptc::LayerCompositer_next_set", _wrap_LayerCompositer_next_set},
   43443             : {"mapscriptc::LayerCompositer_next_get", _wrap_LayerCompositer_next_get},
   43444             : {"mapscriptc::new_LayerCompositer", _wrap_new_LayerCompositer},
   43445             : {"mapscriptc::delete_LayerCompositer", _wrap_delete_LayerCompositer},
   43446             : {"mapscriptc::fontSetObj_filename_get", _wrap_fontSetObj_filename_get},
   43447             : {"mapscriptc::fontSetObj_numfonts_get", _wrap_fontSetObj_numfonts_get},
   43448             : {"mapscriptc::fontSetObj_fonts_get", _wrap_fontSetObj_fonts_get},
   43449             : {"mapscriptc::new_fontSetObj", _wrap_new_fontSetObj},
   43450             : {"mapscriptc::delete_fontSetObj", _wrap_delete_fontSetObj},
   43451             : {"mapscriptc::clusterObj_maxdistance_set", _wrap_clusterObj_maxdistance_set},
   43452             : {"mapscriptc::clusterObj_maxdistance_get", _wrap_clusterObj_maxdistance_get},
   43453             : {"mapscriptc::clusterObj_buffer_set", _wrap_clusterObj_buffer_set},
   43454             : {"mapscriptc::clusterObj_buffer_get", _wrap_clusterObj_buffer_get},
   43455             : {"mapscriptc::clusterObj_region_set", _wrap_clusterObj_region_set},
   43456             : {"mapscriptc::clusterObj_region_get", _wrap_clusterObj_region_get},
   43457             : {"mapscriptc::clusterObj_updateFromString", _wrap_clusterObj_updateFromString},
   43458             : {"mapscriptc::clusterObj_convertToString", _wrap_clusterObj_convertToString},
   43459             : {"mapscriptc::clusterObj_setGroup", _wrap_clusterObj_setGroup},
   43460             : {"mapscriptc::clusterObj_getGroupString", _wrap_clusterObj_getGroupString},
   43461             : {"mapscriptc::clusterObj_setFilter", _wrap_clusterObj_setFilter},
   43462             : {"mapscriptc::clusterObj_getFilterString", _wrap_clusterObj_getFilterString},
   43463             : {"mapscriptc::new_clusterObj", _wrap_new_clusterObj},
   43464             : {"mapscriptc::delete_clusterObj", _wrap_delete_clusterObj},
   43465             : {"mapscriptc::outputFormatObj_numformatoptions_get", _wrap_outputFormatObj_numformatoptions_get},
   43466             : {"mapscriptc::outputFormatObj_name_set", _wrap_outputFormatObj_name_set},
   43467             : {"mapscriptc::outputFormatObj_name_get", _wrap_outputFormatObj_name_get},
   43468             : {"mapscriptc::outputFormatObj_mimetype_set", _wrap_outputFormatObj_mimetype_set},
   43469             : {"mapscriptc::outputFormatObj_mimetype_get", _wrap_outputFormatObj_mimetype_get},
   43470             : {"mapscriptc::outputFormatObj_driver_set", _wrap_outputFormatObj_driver_set},
   43471             : {"mapscriptc::outputFormatObj_driver_get", _wrap_outputFormatObj_driver_get},
   43472             : {"mapscriptc::outputFormatObj_extension_set", _wrap_outputFormatObj_extension_set},
   43473             : {"mapscriptc::outputFormatObj_extension_get", _wrap_outputFormatObj_extension_get},
   43474             : {"mapscriptc::outputFormatObj_renderer_set", _wrap_outputFormatObj_renderer_set},
   43475             : {"mapscriptc::outputFormatObj_renderer_get", _wrap_outputFormatObj_renderer_get},
   43476             : {"mapscriptc::outputFormatObj_imagemode_set", _wrap_outputFormatObj_imagemode_set},
   43477             : {"mapscriptc::outputFormatObj_imagemode_get", _wrap_outputFormatObj_imagemode_get},
   43478             : {"mapscriptc::outputFormatObj_transparent_set", _wrap_outputFormatObj_transparent_set},
   43479             : {"mapscriptc::outputFormatObj_transparent_get", _wrap_outputFormatObj_transparent_get},
   43480             : {"mapscriptc::outputFormatObj_bands_set", _wrap_outputFormatObj_bands_set},
   43481             : {"mapscriptc::outputFormatObj_bands_get", _wrap_outputFormatObj_bands_get},
   43482             : {"mapscriptc::outputFormatObj_inmapfile_set", _wrap_outputFormatObj_inmapfile_set},
   43483             : {"mapscriptc::outputFormatObj_inmapfile_get", _wrap_outputFormatObj_inmapfile_get},
   43484             : {"mapscriptc::new_outputFormatObj", _wrap_new_outputFormatObj},
   43485             : {"mapscriptc::delete_outputFormatObj", _wrap_delete_outputFormatObj},
   43486             : {"mapscriptc::outputFormatObj_setExtension", _wrap_outputFormatObj_setExtension},
   43487             : {"mapscriptc::outputFormatObj_setMimetype", _wrap_outputFormatObj_setMimetype},
   43488             : {"mapscriptc::outputFormatObj_setOption", _wrap_outputFormatObj_setOption},
   43489             : {"mapscriptc::outputFormatObj_validate", _wrap_outputFormatObj_validate},
   43490             : {"mapscriptc::outputFormatObj_getOption", _wrap_outputFormatObj_getOption},
   43491             : {"mapscriptc::outputFormatObj_getOptionAt", _wrap_outputFormatObj_getOptionAt},
   43492             : {"mapscriptc::outputFormatObj_attachDevice", _wrap_outputFormatObj_attachDevice},
   43493             : {"mapscriptc::queryMapObj_height_set", _wrap_queryMapObj_height_set},
   43494             : {"mapscriptc::queryMapObj_height_get", _wrap_queryMapObj_height_get},
   43495             : {"mapscriptc::queryMapObj_width_set", _wrap_queryMapObj_width_set},
   43496             : {"mapscriptc::queryMapObj_width_get", _wrap_queryMapObj_width_get},
   43497             : {"mapscriptc::queryMapObj_status_set", _wrap_queryMapObj_status_set},
   43498             : {"mapscriptc::queryMapObj_status_get", _wrap_queryMapObj_status_get},
   43499             : {"mapscriptc::queryMapObj_style_set", _wrap_queryMapObj_style_set},
   43500             : {"mapscriptc::queryMapObj_style_get", _wrap_queryMapObj_style_get},
   43501             : {"mapscriptc::queryMapObj_color_set", _wrap_queryMapObj_color_set},
   43502             : {"mapscriptc::queryMapObj_color_get", _wrap_queryMapObj_color_get},
   43503             : {"mapscriptc::queryMapObj_updateFromString", _wrap_queryMapObj_updateFromString},
   43504             : {"mapscriptc::queryMapObj_convertToString", _wrap_queryMapObj_convertToString},
   43505             : {"mapscriptc::new_queryMapObj", _wrap_new_queryMapObj},
   43506             : {"mapscriptc::delete_queryMapObj", _wrap_delete_queryMapObj},
   43507             : {"mapscriptc::webObj_log_set", _wrap_webObj_log_set},
   43508             : {"mapscriptc::webObj_log_get", _wrap_webObj_log_get},
   43509             : {"mapscriptc::webObj_imagepath_set", _wrap_webObj_imagepath_set},
   43510             : {"mapscriptc::webObj_imagepath_get", _wrap_webObj_imagepath_get},
   43511             : {"mapscriptc::webObj_imageurl_set", _wrap_webObj_imageurl_set},
   43512             : {"mapscriptc::webObj_imageurl_get", _wrap_webObj_imageurl_get},
   43513             : {"mapscriptc::webObj_temppath_set", _wrap_webObj_temppath_set},
   43514             : {"mapscriptc::webObj_temppath_get", _wrap_webObj_temppath_get},
   43515             : {"mapscriptc::webObj_map_get", _wrap_webObj_map_get},
   43516             : {"mapscriptc::webObj_template_set", _wrap_webObj_template_set},
   43517             : {"mapscriptc::webObj_template_get", _wrap_webObj_template_get},
   43518             : {"mapscriptc::webObj_header_set", _wrap_webObj_header_set},
   43519             : {"mapscriptc::webObj_header_get", _wrap_webObj_header_get},
   43520             : {"mapscriptc::webObj_footer_set", _wrap_webObj_footer_set},
   43521             : {"mapscriptc::webObj_footer_get", _wrap_webObj_footer_get},
   43522             : {"mapscriptc::webObj_empty_set", _wrap_webObj_empty_set},
   43523             : {"mapscriptc::webObj_empty_get", _wrap_webObj_empty_get},
   43524             : {"mapscriptc::webObj_error_set", _wrap_webObj_error_set},
   43525             : {"mapscriptc::webObj_error_get", _wrap_webObj_error_get},
   43526             : {"mapscriptc::webObj_extent_set", _wrap_webObj_extent_set},
   43527             : {"mapscriptc::webObj_extent_get", _wrap_webObj_extent_get},
   43528             : {"mapscriptc::webObj_minscaledenom_set", _wrap_webObj_minscaledenom_set},
   43529             : {"mapscriptc::webObj_minscaledenom_get", _wrap_webObj_minscaledenom_get},
   43530             : {"mapscriptc::webObj_maxscaledenom_set", _wrap_webObj_maxscaledenom_set},
   43531             : {"mapscriptc::webObj_maxscaledenom_get", _wrap_webObj_maxscaledenom_get},
   43532             : {"mapscriptc::webObj_mintemplate_set", _wrap_webObj_mintemplate_set},
   43533             : {"mapscriptc::webObj_mintemplate_get", _wrap_webObj_mintemplate_get},
   43534             : {"mapscriptc::webObj_maxtemplate_set", _wrap_webObj_maxtemplate_set},
   43535             : {"mapscriptc::webObj_maxtemplate_get", _wrap_webObj_maxtemplate_get},
   43536             : {"mapscriptc::webObj_queryformat_set", _wrap_webObj_queryformat_set},
   43537             : {"mapscriptc::webObj_queryformat_get", _wrap_webObj_queryformat_get},
   43538             : {"mapscriptc::webObj_legendformat_set", _wrap_webObj_legendformat_set},
   43539             : {"mapscriptc::webObj_legendformat_get", _wrap_webObj_legendformat_get},
   43540             : {"mapscriptc::webObj_browseformat_set", _wrap_webObj_browseformat_set},
   43541             : {"mapscriptc::webObj_browseformat_get", _wrap_webObj_browseformat_get},
   43542             : {"mapscriptc::webObj_metadata_get", _wrap_webObj_metadata_get},
   43543             : {"mapscriptc::webObj_validation_get", _wrap_webObj_validation_get},
   43544             : {"mapscriptc::new_webObj", _wrap_new_webObj},
   43545             : {"mapscriptc::delete_webObj", _wrap_delete_webObj},
   43546             : {"mapscriptc::webObj_updateFromString", _wrap_webObj_updateFromString},
   43547             : {"mapscriptc::webObj_convertToString", _wrap_webObj_convertToString},
   43548             : {"mapscriptc::styleObj_refcount_get", _wrap_styleObj_refcount_get},
   43549             : {"mapscriptc::styleObj_symbolname_get", _wrap_styleObj_symbolname_get},
   43550             : {"mapscriptc::styleObj_autoangle_set", _wrap_styleObj_autoangle_set},
   43551             : {"mapscriptc::styleObj_autoangle_get", _wrap_styleObj_autoangle_get},
   43552             : {"mapscriptc::styleObj_color_set", _wrap_styleObj_color_set},
   43553             : {"mapscriptc::styleObj_color_get", _wrap_styleObj_color_get},
   43554             : {"mapscriptc::styleObj_backgroundcolor_set", _wrap_styleObj_backgroundcolor_set},
   43555             : {"mapscriptc::styleObj_backgroundcolor_get", _wrap_styleObj_backgroundcolor_get},
   43556             : {"mapscriptc::styleObj_outlinecolor_set", _wrap_styleObj_outlinecolor_set},
   43557             : {"mapscriptc::styleObj_outlinecolor_get", _wrap_styleObj_outlinecolor_get},
   43558             : {"mapscriptc::styleObj_opacity_set", _wrap_styleObj_opacity_set},
   43559             : {"mapscriptc::styleObj_opacity_get", _wrap_styleObj_opacity_get},
   43560             : {"mapscriptc::styleObj_mincolor_set", _wrap_styleObj_mincolor_set},
   43561             : {"mapscriptc::styleObj_mincolor_get", _wrap_styleObj_mincolor_get},
   43562             : {"mapscriptc::styleObj_maxcolor_set", _wrap_styleObj_maxcolor_set},
   43563             : {"mapscriptc::styleObj_maxcolor_get", _wrap_styleObj_maxcolor_get},
   43564             : {"mapscriptc::styleObj_minvalue_set", _wrap_styleObj_minvalue_set},
   43565             : {"mapscriptc::styleObj_minvalue_get", _wrap_styleObj_minvalue_get},
   43566             : {"mapscriptc::styleObj_maxvalue_set", _wrap_styleObj_maxvalue_set},
   43567             : {"mapscriptc::styleObj_maxvalue_get", _wrap_styleObj_maxvalue_get},
   43568             : {"mapscriptc::styleObj_rangeitem_set", _wrap_styleObj_rangeitem_set},
   43569             : {"mapscriptc::styleObj_rangeitem_get", _wrap_styleObj_rangeitem_get},
   43570             : {"mapscriptc::styleObj_rangeitemindex_set", _wrap_styleObj_rangeitemindex_set},
   43571             : {"mapscriptc::styleObj_rangeitemindex_get", _wrap_styleObj_rangeitemindex_get},
   43572             : {"mapscriptc::styleObj_symbol_set", _wrap_styleObj_symbol_set},
   43573             : {"mapscriptc::styleObj_symbol_get", _wrap_styleObj_symbol_get},
   43574             : {"mapscriptc::styleObj_size_set", _wrap_styleObj_size_set},
   43575             : {"mapscriptc::styleObj_size_get", _wrap_styleObj_size_get},
   43576             : {"mapscriptc::styleObj_minsize_set", _wrap_styleObj_minsize_set},
   43577             : {"mapscriptc::styleObj_minsize_get", _wrap_styleObj_minsize_get},
   43578             : {"mapscriptc::styleObj_maxsize_set", _wrap_styleObj_maxsize_set},
   43579             : {"mapscriptc::styleObj_maxsize_get", _wrap_styleObj_maxsize_get},
   43580             : {"mapscriptc::styleObj_patternlength_set", _wrap_styleObj_patternlength_set},
   43581             : {"mapscriptc::styleObj_patternlength_get", _wrap_styleObj_patternlength_get},
   43582             : {"mapscriptc::styleObj_pattern_set", _wrap_styleObj_pattern_set},
   43583             : {"mapscriptc::styleObj_pattern_get", _wrap_styleObj_pattern_get},
   43584             : {"mapscriptc::styleObj_gap_set", _wrap_styleObj_gap_set},
   43585             : {"mapscriptc::styleObj_gap_get", _wrap_styleObj_gap_get},
   43586             : {"mapscriptc::styleObj_initialgap_set", _wrap_styleObj_initialgap_set},
   43587             : {"mapscriptc::styleObj_initialgap_get", _wrap_styleObj_initialgap_get},
   43588             : {"mapscriptc::styleObj_position_set", _wrap_styleObj_position_set},
   43589             : {"mapscriptc::styleObj_position_get", _wrap_styleObj_position_get},
   43590             : {"mapscriptc::styleObj_linecap_set", _wrap_styleObj_linecap_set},
   43591             : {"mapscriptc::styleObj_linecap_get", _wrap_styleObj_linecap_get},
   43592             : {"mapscriptc::styleObj_linejoin_set", _wrap_styleObj_linejoin_set},
   43593             : {"mapscriptc::styleObj_linejoin_get", _wrap_styleObj_linejoin_get},
   43594             : {"mapscriptc::styleObj_linejoinmaxsize_set", _wrap_styleObj_linejoinmaxsize_set},
   43595             : {"mapscriptc::styleObj_linejoinmaxsize_get", _wrap_styleObj_linejoinmaxsize_get},
   43596             : {"mapscriptc::styleObj_width_set", _wrap_styleObj_width_set},
   43597             : {"mapscriptc::styleObj_width_get", _wrap_styleObj_width_get},
   43598             : {"mapscriptc::styleObj_outlinewidth_set", _wrap_styleObj_outlinewidth_set},
   43599             : {"mapscriptc::styleObj_outlinewidth_get", _wrap_styleObj_outlinewidth_get},
   43600             : {"mapscriptc::styleObj_minwidth_set", _wrap_styleObj_minwidth_set},
   43601             : {"mapscriptc::styleObj_minwidth_get", _wrap_styleObj_minwidth_get},
   43602             : {"mapscriptc::styleObj_maxwidth_set", _wrap_styleObj_maxwidth_set},
   43603             : {"mapscriptc::styleObj_maxwidth_get", _wrap_styleObj_maxwidth_get},
   43604             : {"mapscriptc::styleObj_offsetx_set", _wrap_styleObj_offsetx_set},
   43605             : {"mapscriptc::styleObj_offsetx_get", _wrap_styleObj_offsetx_get},
   43606             : {"mapscriptc::styleObj_offsety_set", _wrap_styleObj_offsety_set},
   43607             : {"mapscriptc::styleObj_offsety_get", _wrap_styleObj_offsety_get},
   43608             : {"mapscriptc::styleObj_polaroffsetpixel_set", _wrap_styleObj_polaroffsetpixel_set},
   43609             : {"mapscriptc::styleObj_polaroffsetpixel_get", _wrap_styleObj_polaroffsetpixel_get},
   43610             : {"mapscriptc::styleObj_polaroffsetangle_set", _wrap_styleObj_polaroffsetangle_set},
   43611             : {"mapscriptc::styleObj_polaroffsetangle_get", _wrap_styleObj_polaroffsetangle_get},
   43612             : {"mapscriptc::styleObj_angle_set", _wrap_styleObj_angle_set},
   43613             : {"mapscriptc::styleObj_angle_get", _wrap_styleObj_angle_get},
   43614             : {"mapscriptc::styleObj_minscaledenom_set", _wrap_styleObj_minscaledenom_set},
   43615             : {"mapscriptc::styleObj_minscaledenom_get", _wrap_styleObj_minscaledenom_get},
   43616             : {"mapscriptc::styleObj_maxscaledenom_set", _wrap_styleObj_maxscaledenom_set},
   43617             : {"mapscriptc::styleObj_maxscaledenom_get", _wrap_styleObj_maxscaledenom_get},
   43618             : {"mapscriptc::styleObj_sizeunits_set", _wrap_styleObj_sizeunits_set},
   43619             : {"mapscriptc::styleObj_sizeunits_get", _wrap_styleObj_sizeunits_get},
   43620             : {"mapscriptc::new_styleObj", _wrap_new_styleObj},
   43621             : {"mapscriptc::delete_styleObj", _wrap_delete_styleObj},
   43622             : {"mapscriptc::styleObj_updateFromString", _wrap_styleObj_updateFromString},
   43623             : {"mapscriptc::styleObj_convertToString", _wrap_styleObj_convertToString},
   43624             : {"mapscriptc::styleObj_clone", _wrap_styleObj_clone},
   43625             : {"mapscriptc::styleObj_setSymbolByName", _wrap_styleObj_setSymbolByName},
   43626             : {"mapscriptc::styleObj_removeBinding", _wrap_styleObj_removeBinding},
   43627             : {"mapscriptc::styleObj_setBinding", _wrap_styleObj_setBinding},
   43628             : {"mapscriptc::styleObj_getBinding", _wrap_styleObj_getBinding},
   43629             : {"mapscriptc::styleObj_getGeomTransform", _wrap_styleObj_getGeomTransform},
   43630             : {"mapscriptc::styleObj_setGeomTransform", _wrap_styleObj_setGeomTransform},
   43631             : {"mapscriptc::labelLeaderObj_maxdistance_set", _wrap_labelLeaderObj_maxdistance_set},
   43632             : {"mapscriptc::labelLeaderObj_maxdistance_get", _wrap_labelLeaderObj_maxdistance_get},
   43633             : {"mapscriptc::labelLeaderObj_gridstep_set", _wrap_labelLeaderObj_gridstep_set},
   43634             : {"mapscriptc::labelLeaderObj_gridstep_get", _wrap_labelLeaderObj_gridstep_get},
   43635             : {"mapscriptc::labelLeaderObj_numstyles_get", _wrap_labelLeaderObj_numstyles_get},
   43636             : {"mapscriptc::new_labelLeaderObj", _wrap_new_labelLeaderObj},
   43637             : {"mapscriptc::delete_labelLeaderObj", _wrap_delete_labelLeaderObj},
   43638             : {"mapscriptc::labelObj_refcount_get", _wrap_labelObj_refcount_get},
   43639             : {"mapscriptc::labelObj_font_set", _wrap_labelObj_font_set},
   43640             : {"mapscriptc::labelObj_font_get", _wrap_labelObj_font_get},
   43641             : {"mapscriptc::labelObj_color_set", _wrap_labelObj_color_set},
   43642             : {"mapscriptc::labelObj_color_get", _wrap_labelObj_color_get},
   43643             : {"mapscriptc::labelObj_outlinecolor_set", _wrap_labelObj_outlinecolor_set},
   43644             : {"mapscriptc::labelObj_outlinecolor_get", _wrap_labelObj_outlinecolor_get},
   43645             : {"mapscriptc::labelObj_outlinewidth_set", _wrap_labelObj_outlinewidth_set},
   43646             : {"mapscriptc::labelObj_outlinewidth_get", _wrap_labelObj_outlinewidth_get},
   43647             : {"mapscriptc::labelObj_shadowcolor_set", _wrap_labelObj_shadowcolor_set},
   43648             : {"mapscriptc::labelObj_shadowcolor_get", _wrap_labelObj_shadowcolor_get},
   43649             : {"mapscriptc::labelObj_shadowsizex_set", _wrap_labelObj_shadowsizex_set},
   43650             : {"mapscriptc::labelObj_shadowsizex_get", _wrap_labelObj_shadowsizex_get},
   43651             : {"mapscriptc::labelObj_shadowsizey_set", _wrap_labelObj_shadowsizey_set},
   43652             : {"mapscriptc::labelObj_shadowsizey_get", _wrap_labelObj_shadowsizey_get},
   43653             : {"mapscriptc::labelObj_size_set", _wrap_labelObj_size_set},
   43654             : {"mapscriptc::labelObj_size_get", _wrap_labelObj_size_get},
   43655             : {"mapscriptc::labelObj_minsize_set", _wrap_labelObj_minsize_set},
   43656             : {"mapscriptc::labelObj_minsize_get", _wrap_labelObj_minsize_get},
   43657             : {"mapscriptc::labelObj_maxsize_set", _wrap_labelObj_maxsize_set},
   43658             : {"mapscriptc::labelObj_maxsize_get", _wrap_labelObj_maxsize_get},
   43659             : {"mapscriptc::labelObj_position_set", _wrap_labelObj_position_set},
   43660             : {"mapscriptc::labelObj_position_get", _wrap_labelObj_position_get},
   43661             : {"mapscriptc::labelObj_offsetx_set", _wrap_labelObj_offsetx_set},
   43662             : {"mapscriptc::labelObj_offsetx_get", _wrap_labelObj_offsetx_get},
   43663             : {"mapscriptc::labelObj_offsety_set", _wrap_labelObj_offsety_set},
   43664             : {"mapscriptc::labelObj_offsety_get", _wrap_labelObj_offsety_get},
   43665             : {"mapscriptc::labelObj_angle_set", _wrap_labelObj_angle_set},
   43666             : {"mapscriptc::labelObj_angle_get", _wrap_labelObj_angle_get},
   43667             : {"mapscriptc::labelObj_anglemode_set", _wrap_labelObj_anglemode_set},
   43668             : {"mapscriptc::labelObj_anglemode_get", _wrap_labelObj_anglemode_get},
   43669             : {"mapscriptc::labelObj_buffer_set", _wrap_labelObj_buffer_set},
   43670             : {"mapscriptc::labelObj_buffer_get", _wrap_labelObj_buffer_get},
   43671             : {"mapscriptc::labelObj_align_set", _wrap_labelObj_align_set},
   43672             : {"mapscriptc::labelObj_align_get", _wrap_labelObj_align_get},
   43673             : {"mapscriptc::labelObj_wrap_set", _wrap_labelObj_wrap_set},
   43674             : {"mapscriptc::labelObj_wrap_get", _wrap_labelObj_wrap_get},
   43675             : {"mapscriptc::labelObj_maxlength_set", _wrap_labelObj_maxlength_set},
   43676             : {"mapscriptc::labelObj_maxlength_get", _wrap_labelObj_maxlength_get},
   43677             : {"mapscriptc::labelObj_minlength_set", _wrap_labelObj_minlength_set},
   43678             : {"mapscriptc::labelObj_minlength_get", _wrap_labelObj_minlength_get},
   43679             : {"mapscriptc::labelObj_space_size_10_set", _wrap_labelObj_space_size_10_set},
   43680             : {"mapscriptc::labelObj_space_size_10_get", _wrap_labelObj_space_size_10_get},
   43681             : {"mapscriptc::labelObj_minfeaturesize_set", _wrap_labelObj_minfeaturesize_set},
   43682             : {"mapscriptc::labelObj_minfeaturesize_get", _wrap_labelObj_minfeaturesize_get},
   43683             : {"mapscriptc::labelObj_autominfeaturesize_set", _wrap_labelObj_autominfeaturesize_set},
   43684             : {"mapscriptc::labelObj_autominfeaturesize_get", _wrap_labelObj_autominfeaturesize_get},
   43685             : {"mapscriptc::labelObj_minscaledenom_set", _wrap_labelObj_minscaledenom_set},
   43686             : {"mapscriptc::labelObj_minscaledenom_get", _wrap_labelObj_minscaledenom_get},
   43687             : {"mapscriptc::labelObj_maxscaledenom_set", _wrap_labelObj_maxscaledenom_set},
   43688             : {"mapscriptc::labelObj_maxscaledenom_get", _wrap_labelObj_maxscaledenom_get},
   43689             : {"mapscriptc::labelObj_mindistance_set", _wrap_labelObj_mindistance_set},
   43690             : {"mapscriptc::labelObj_mindistance_get", _wrap_labelObj_mindistance_get},
   43691             : {"mapscriptc::labelObj_repeatdistance_set", _wrap_labelObj_repeatdistance_set},
   43692             : {"mapscriptc::labelObj_repeatdistance_get", _wrap_labelObj_repeatdistance_get},
   43693             : {"mapscriptc::labelObj_maxoverlapangle_set", _wrap_labelObj_maxoverlapangle_set},
   43694             : {"mapscriptc::labelObj_maxoverlapangle_get", _wrap_labelObj_maxoverlapangle_get},
   43695             : {"mapscriptc::labelObj_partials_set", _wrap_labelObj_partials_set},
   43696             : {"mapscriptc::labelObj_partials_get", _wrap_labelObj_partials_get},
   43697             : {"mapscriptc::labelObj_force_set", _wrap_labelObj_force_set},
   43698             : {"mapscriptc::labelObj_force_get", _wrap_labelObj_force_get},
   43699             : {"mapscriptc::labelObj_encoding_set", _wrap_labelObj_encoding_set},
   43700             : {"mapscriptc::labelObj_encoding_get", _wrap_labelObj_encoding_get},
   43701             : {"mapscriptc::labelObj_priority_set", _wrap_labelObj_priority_set},
   43702             : {"mapscriptc::labelObj_priority_get", _wrap_labelObj_priority_get},
   43703             : {"mapscriptc::labelObj_numstyles_set", _wrap_labelObj_numstyles_set},
   43704             : {"mapscriptc::labelObj_numstyles_get", _wrap_labelObj_numstyles_get},
   43705             : {"mapscriptc::labelObj_leader_set", _wrap_labelObj_leader_set},
   43706             : {"mapscriptc::labelObj_leader_get", _wrap_labelObj_leader_get},
   43707             : {"mapscriptc::labelObj_sizeunits_set", _wrap_labelObj_sizeunits_set},
   43708             : {"mapscriptc::labelObj_sizeunits_get", _wrap_labelObj_sizeunits_get},
   43709             : {"mapscriptc::new_labelObj", _wrap_new_labelObj},
   43710             : {"mapscriptc::delete_labelObj", _wrap_delete_labelObj},
   43711             : {"mapscriptc::labelObj_updateFromString", _wrap_labelObj_updateFromString},
   43712             : {"mapscriptc::labelObj_convertToString", _wrap_labelObj_convertToString},
   43713             : {"mapscriptc::labelObj_removeBinding", _wrap_labelObj_removeBinding},
   43714             : {"mapscriptc::labelObj_getBinding", _wrap_labelObj_getBinding},
   43715             : {"mapscriptc::labelObj_setBinding", _wrap_labelObj_setBinding},
   43716             : {"mapscriptc::labelObj_setExpression", _wrap_labelObj_setExpression},
   43717             : {"mapscriptc::labelObj_getExpressionString", _wrap_labelObj_getExpressionString},
   43718             : {"mapscriptc::labelObj_setText", _wrap_labelObj_setText},
   43719             : {"mapscriptc::labelObj_getTextString", _wrap_labelObj_getTextString},
   43720             : {"mapscriptc::labelObj_getStyle", _wrap_labelObj_getStyle},
   43721             : {"mapscriptc::labelObj_insertStyle", _wrap_labelObj_insertStyle},
   43722             : {"mapscriptc::labelObj_removeStyle", _wrap_labelObj_removeStyle},
   43723             : {"mapscriptc::labelObj_moveStyleUp", _wrap_labelObj_moveStyleUp},
   43724             : {"mapscriptc::labelObj_moveStyleDown", _wrap_labelObj_moveStyleDown},
   43725             : {"mapscriptc::classObj_metadata_get", _wrap_classObj_metadata_get},
   43726             : {"mapscriptc::classObj_validation_get", _wrap_classObj_validation_get},
   43727             : {"mapscriptc::classObj_numstyles_get", _wrap_classObj_numstyles_get},
   43728             : {"mapscriptc::classObj_numlabels_get", _wrap_classObj_numlabels_get},
   43729             : {"mapscriptc::classObj_refcount_get", _wrap_classObj_refcount_get},
   43730             : {"mapscriptc::classObj_layer_get", _wrap_classObj_layer_get},
   43731             : {"mapscriptc::classObj_leader_get", _wrap_classObj_leader_get},
   43732             : {"mapscriptc::classObj_status_set", _wrap_classObj_status_set},
   43733             : {"mapscriptc::classObj_status_get", _wrap_classObj_status_get},
   43734             : {"mapscriptc::classObj_isfallback_set", _wrap_classObj_isfallback_set},
   43735             : {"mapscriptc::classObj_isfallback_get", _wrap_classObj_isfallback_get},
   43736             : {"mapscriptc::classObj_name_set", _wrap_classObj_name_set},
   43737             : {"mapscriptc::classObj_name_get", _wrap_classObj_name_get},
   43738             : {"mapscriptc::classObj_title_set", _wrap_classObj_title_set},
   43739             : {"mapscriptc::classObj_title_get", _wrap_classObj_title_get},
   43740             : {"mapscriptc::classObj_minscaledenom_set", _wrap_classObj_minscaledenom_set},
   43741             : {"mapscriptc::classObj_minscaledenom_get", _wrap_classObj_minscaledenom_get},
   43742             : {"mapscriptc::classObj_maxscaledenom_set", _wrap_classObj_maxscaledenom_set},
   43743             : {"mapscriptc::classObj_maxscaledenom_get", _wrap_classObj_maxscaledenom_get},
   43744             : {"mapscriptc::classObj_minfeaturesize_set", _wrap_classObj_minfeaturesize_set},
   43745             : {"mapscriptc::classObj_minfeaturesize_get", _wrap_classObj_minfeaturesize_get},
   43746             : {"mapscriptc::classObj_debug_set", _wrap_classObj_debug_set},
   43747             : {"mapscriptc::classObj_debug_get", _wrap_classObj_debug_get},
   43748             : {"mapscriptc::classObj_keyimage_set", _wrap_classObj_keyimage_set},
   43749             : {"mapscriptc::classObj_keyimage_get", _wrap_classObj_keyimage_get},
   43750             : {"mapscriptc::classObj_group_set", _wrap_classObj_group_set},
   43751             : {"mapscriptc::classObj_group_get", _wrap_classObj_group_get},
   43752             : {"mapscriptc::classObj_sizeunits_set", _wrap_classObj_sizeunits_set},
   43753             : {"mapscriptc::classObj_sizeunits_get", _wrap_classObj_sizeunits_get},
   43754             : {"mapscriptc::classObj_template_set", _wrap_classObj_template_set},
   43755             : {"mapscriptc::classObj_template_get", _wrap_classObj_template_get},
   43756             : {"mapscriptc::new_classObj", _wrap_new_classObj},
   43757             : {"mapscriptc::delete_classObj", _wrap_delete_classObj},
   43758             : {"mapscriptc::classObj_updateFromString", _wrap_classObj_updateFromString},
   43759             : {"mapscriptc::classObj_convertToString", _wrap_classObj_convertToString},
   43760             : {"mapscriptc::classObj_clone", _wrap_classObj_clone},
   43761             : {"mapscriptc::classObj_setExpression", _wrap_classObj_setExpression},
   43762             : {"mapscriptc::classObj_getExpressionString", _wrap_classObj_getExpressionString},
   43763             : {"mapscriptc::classObj_setText", _wrap_classObj_setText},
   43764             : {"mapscriptc::classObj_getTextString", _wrap_classObj_getTextString},
   43765             : {"mapscriptc::classObj_getMetaData", _wrap_classObj_getMetaData},
   43766             : {"mapscriptc::classObj_setMetaData", _wrap_classObj_setMetaData},
   43767             : {"mapscriptc::classObj_getFirstMetaDataKey", _wrap_classObj_getFirstMetaDataKey},
   43768             : {"mapscriptc::classObj_getNextMetaDataKey", _wrap_classObj_getNextMetaDataKey},
   43769             : {"mapscriptc::classObj_drawLegendIcon", _wrap_classObj_drawLegendIcon},
   43770             : {"mapscriptc::classObj_createLegendIcon", _wrap_classObj_createLegendIcon},
   43771             : {"mapscriptc::classObj_getLabel", _wrap_classObj_getLabel},
   43772             : {"mapscriptc::classObj_addLabel", _wrap_classObj_addLabel},
   43773             : {"mapscriptc::classObj_removeLabel", _wrap_classObj_removeLabel},
   43774             : {"mapscriptc::classObj_getStyle", _wrap_classObj_getStyle},
   43775             : {"mapscriptc::classObj_insertStyle", _wrap_classObj_insertStyle},
   43776             : {"mapscriptc::classObj_removeStyle", _wrap_classObj_removeStyle},
   43777             : {"mapscriptc::classObj_moveStyleUp", _wrap_classObj_moveStyleUp},
   43778             : {"mapscriptc::classObj_moveStyleDown", _wrap_classObj_moveStyleDown},
   43779             : {"mapscriptc::labelCacheMemberObj_textsymbols_get", _wrap_labelCacheMemberObj_textsymbols_get},
   43780             : {"mapscriptc::labelCacheMemberObj_numtextsymbols_get", _wrap_labelCacheMemberObj_numtextsymbols_get},
   43781             : {"mapscriptc::labelCacheMemberObj_layerindex_get", _wrap_labelCacheMemberObj_layerindex_get},
   43782             : {"mapscriptc::labelCacheMemberObj_classindex_get", _wrap_labelCacheMemberObj_classindex_get},
   43783             : {"mapscriptc::labelCacheMemberObj_point_get", _wrap_labelCacheMemberObj_point_get},
   43784             : {"mapscriptc::labelCacheMemberObj_bbox_get", _wrap_labelCacheMemberObj_bbox_get},
   43785             : {"mapscriptc::labelCacheMemberObj_status_get", _wrap_labelCacheMemberObj_status_get},
   43786             : {"mapscriptc::labelCacheMemberObj_markerid_get", _wrap_labelCacheMemberObj_markerid_get},
   43787             : {"mapscriptc::labelCacheMemberObj_leaderline_get", _wrap_labelCacheMemberObj_leaderline_get},
   43788             : {"mapscriptc::labelCacheMemberObj_leaderbbox_get", _wrap_labelCacheMemberObj_leaderbbox_get},
   43789             : {"mapscriptc::new_labelCacheMemberObj", _wrap_new_labelCacheMemberObj},
   43790             : {"mapscriptc::delete_labelCacheMemberObj", _wrap_delete_labelCacheMemberObj},
   43791             : {"mapscriptc::markerCacheMemberObj_id_get", _wrap_markerCacheMemberObj_id_get},
   43792             : {"mapscriptc::markerCacheMemberObj_bounds_get", _wrap_markerCacheMemberObj_bounds_get},
   43793             : {"mapscriptc::new_markerCacheMemberObj", _wrap_new_markerCacheMemberObj},
   43794             : {"mapscriptc::delete_markerCacheMemberObj", _wrap_delete_markerCacheMemberObj},
   43795             : {"mapscriptc::labelCacheSlotObj_labels_get", _wrap_labelCacheSlotObj_labels_get},
   43796             : {"mapscriptc::labelCacheSlotObj_numlabels_get", _wrap_labelCacheSlotObj_numlabels_get},
   43797             : {"mapscriptc::labelCacheSlotObj_cachesize_get", _wrap_labelCacheSlotObj_cachesize_get},
   43798             : {"mapscriptc::labelCacheSlotObj_markers_get", _wrap_labelCacheSlotObj_markers_get},
   43799             : {"mapscriptc::labelCacheSlotObj_nummarkers_get", _wrap_labelCacheSlotObj_nummarkers_get},
   43800             : {"mapscriptc::labelCacheSlotObj_markercachesize_get", _wrap_labelCacheSlotObj_markercachesize_get},
   43801             : {"mapscriptc::new_labelCacheSlotObj", _wrap_new_labelCacheSlotObj},
   43802             : {"mapscriptc::delete_labelCacheSlotObj", _wrap_delete_labelCacheSlotObj},
   43803             : {"mapscriptc::labelCacheObj_slots_get", _wrap_labelCacheObj_slots_get},
   43804             : {"mapscriptc::labelCacheObj_gutter_get", _wrap_labelCacheObj_gutter_get},
   43805             : {"mapscriptc::labelCacheObj_rendered_text_symbols_get", _wrap_labelCacheObj_rendered_text_symbols_get},
   43806             : {"mapscriptc::labelCacheObj_num_allocated_rendered_members_get", _wrap_labelCacheObj_num_allocated_rendered_members_get},
   43807             : {"mapscriptc::labelCacheObj_num_rendered_members_get", _wrap_labelCacheObj_num_rendered_members_get},
   43808             : {"mapscriptc::labelCacheObj_freeCache", _wrap_labelCacheObj_freeCache},
   43809             : {"mapscriptc::new_labelCacheObj", _wrap_new_labelCacheObj},
   43810             : {"mapscriptc::delete_labelCacheObj", _wrap_delete_labelCacheObj},
   43811             : {"mapscriptc::resultObj_shapeindex_get", _wrap_resultObj_shapeindex_get},
   43812             : {"mapscriptc::resultObj_tileindex_get", _wrap_resultObj_tileindex_get},
   43813             : {"mapscriptc::resultObj_resultindex_get", _wrap_resultObj_resultindex_get},
   43814             : {"mapscriptc::resultObj_classindex_get", _wrap_resultObj_classindex_get},
   43815             : {"mapscriptc::new_resultObj", _wrap_new_resultObj},
   43816             : {"mapscriptc::delete_resultObj", _wrap_delete_resultObj},
   43817             : {"mapscriptc::resultCacheObj_numresults_get", _wrap_resultCacheObj_numresults_get},
   43818             : {"mapscriptc::resultCacheObj_bounds_get", _wrap_resultCacheObj_bounds_get},
   43819             : {"mapscriptc::resultCacheObj_usegetshape_set", _wrap_resultCacheObj_usegetshape_set},
   43820             : {"mapscriptc::resultCacheObj_usegetshape_get", _wrap_resultCacheObj_usegetshape_get},
   43821             : {"mapscriptc::resultCacheObj_getResult", _wrap_resultCacheObj_getResult},
   43822             : {"mapscriptc::new_resultCacheObj", _wrap_new_resultCacheObj},
   43823             : {"mapscriptc::delete_resultCacheObj", _wrap_delete_resultCacheObj},
   43824             : {"mapscriptc::symbolSetObj_filename_set", _wrap_symbolSetObj_filename_set},
   43825             : {"mapscriptc::symbolSetObj_filename_get", _wrap_symbolSetObj_filename_get},
   43826             : {"mapscriptc::symbolSetObj_imagecachesize_set", _wrap_symbolSetObj_imagecachesize_set},
   43827             : {"mapscriptc::symbolSetObj_imagecachesize_get", _wrap_symbolSetObj_imagecachesize_get},
   43828             : {"mapscriptc::symbolSetObj_numsymbols_get", _wrap_symbolSetObj_numsymbols_get},
   43829             : {"mapscriptc::symbolSetObj_maxsymbols_get", _wrap_symbolSetObj_maxsymbols_get},
   43830             : {"mapscriptc::new_symbolSetObj", _wrap_new_symbolSetObj},
   43831             : {"mapscriptc::delete_symbolSetObj", _wrap_delete_symbolSetObj},
   43832             : {"mapscriptc::symbolSetObj_getSymbol", _wrap_symbolSetObj_getSymbol},
   43833             : {"mapscriptc::symbolSetObj_getSymbolByName", _wrap_symbolSetObj_getSymbolByName},
   43834             : {"mapscriptc::symbolSetObj_index", _wrap_symbolSetObj_index},
   43835             : {"mapscriptc::symbolSetObj_appendSymbol", _wrap_symbolSetObj_appendSymbol},
   43836             : {"mapscriptc::symbolSetObj_removeSymbol", _wrap_symbolSetObj_removeSymbol},
   43837             : {"mapscriptc::symbolSetObj_save", _wrap_symbolSetObj_save},
   43838             : {"mapscriptc::referenceMapObj_extent_set", _wrap_referenceMapObj_extent_set},
   43839             : {"mapscriptc::referenceMapObj_extent_get", _wrap_referenceMapObj_extent_get},
   43840             : {"mapscriptc::referenceMapObj_height_set", _wrap_referenceMapObj_height_set},
   43841             : {"mapscriptc::referenceMapObj_height_get", _wrap_referenceMapObj_height_get},
   43842             : {"mapscriptc::referenceMapObj_width_set", _wrap_referenceMapObj_width_set},
   43843             : {"mapscriptc::referenceMapObj_width_get", _wrap_referenceMapObj_width_get},
   43844             : {"mapscriptc::referenceMapObj_color_set", _wrap_referenceMapObj_color_set},
   43845             : {"mapscriptc::referenceMapObj_color_get", _wrap_referenceMapObj_color_get},
   43846             : {"mapscriptc::referenceMapObj_outlinecolor_set", _wrap_referenceMapObj_outlinecolor_set},
   43847             : {"mapscriptc::referenceMapObj_outlinecolor_get", _wrap_referenceMapObj_outlinecolor_get},
   43848             : {"mapscriptc::referenceMapObj_image_set", _wrap_referenceMapObj_image_set},
   43849             : {"mapscriptc::referenceMapObj_image_get", _wrap_referenceMapObj_image_get},
   43850             : {"mapscriptc::referenceMapObj_status_set", _wrap_referenceMapObj_status_set},
   43851             : {"mapscriptc::referenceMapObj_status_get", _wrap_referenceMapObj_status_get},
   43852             : {"mapscriptc::referenceMapObj_marker_set", _wrap_referenceMapObj_marker_set},
   43853             : {"mapscriptc::referenceMapObj_marker_get", _wrap_referenceMapObj_marker_get},
   43854             : {"mapscriptc::referenceMapObj_markername_set", _wrap_referenceMapObj_markername_set},
   43855             : {"mapscriptc::referenceMapObj_markername_get", _wrap_referenceMapObj_markername_get},
   43856             : {"mapscriptc::referenceMapObj_markersize_set", _wrap_referenceMapObj_markersize_set},
   43857             : {"mapscriptc::referenceMapObj_markersize_get", _wrap_referenceMapObj_markersize_get},
   43858             : {"mapscriptc::referenceMapObj_minboxsize_set", _wrap_referenceMapObj_minboxsize_set},
   43859             : {"mapscriptc::referenceMapObj_minboxsize_get", _wrap_referenceMapObj_minboxsize_get},
   43860             : {"mapscriptc::referenceMapObj_maxboxsize_set", _wrap_referenceMapObj_maxboxsize_set},
   43861             : {"mapscriptc::referenceMapObj_maxboxsize_get", _wrap_referenceMapObj_maxboxsize_get},
   43862             : {"mapscriptc::referenceMapObj_map_get", _wrap_referenceMapObj_map_get},
   43863             : {"mapscriptc::referenceMapObj_updateFromString", _wrap_referenceMapObj_updateFromString},
   43864             : {"mapscriptc::referenceMapObj_convertToString", _wrap_referenceMapObj_convertToString},
   43865             : {"mapscriptc::new_referenceMapObj", _wrap_new_referenceMapObj},
   43866             : {"mapscriptc::delete_referenceMapObj", _wrap_delete_referenceMapObj},
   43867             : {"mapscriptc::scalebarObj_imagecolor_set", _wrap_scalebarObj_imagecolor_set},
   43868             : {"mapscriptc::scalebarObj_imagecolor_get", _wrap_scalebarObj_imagecolor_get},
   43869             : {"mapscriptc::scalebarObj_height_set", _wrap_scalebarObj_height_set},
   43870             : {"mapscriptc::scalebarObj_height_get", _wrap_scalebarObj_height_get},
   43871             : {"mapscriptc::scalebarObj_width_set", _wrap_scalebarObj_width_set},
   43872             : {"mapscriptc::scalebarObj_width_get", _wrap_scalebarObj_width_get},
   43873             : {"mapscriptc::scalebarObj_style_set", _wrap_scalebarObj_style_set},
   43874             : {"mapscriptc::scalebarObj_style_get", _wrap_scalebarObj_style_get},
   43875             : {"mapscriptc::scalebarObj_intervals_set", _wrap_scalebarObj_intervals_set},
   43876             : {"mapscriptc::scalebarObj_intervals_get", _wrap_scalebarObj_intervals_get},
   43877             : {"mapscriptc::scalebarObj_label_set", _wrap_scalebarObj_label_set},
   43878             : {"mapscriptc::scalebarObj_label_get", _wrap_scalebarObj_label_get},
   43879             : {"mapscriptc::scalebarObj_color_set", _wrap_scalebarObj_color_set},
   43880             : {"mapscriptc::scalebarObj_color_get", _wrap_scalebarObj_color_get},
   43881             : {"mapscriptc::scalebarObj_backgroundcolor_set", _wrap_scalebarObj_backgroundcolor_set},
   43882             : {"mapscriptc::scalebarObj_backgroundcolor_get", _wrap_scalebarObj_backgroundcolor_get},
   43883             : {"mapscriptc::scalebarObj_outlinecolor_set", _wrap_scalebarObj_outlinecolor_set},
   43884             : {"mapscriptc::scalebarObj_outlinecolor_get", _wrap_scalebarObj_outlinecolor_get},
   43885             : {"mapscriptc::scalebarObj_units_set", _wrap_scalebarObj_units_set},
   43886             : {"mapscriptc::scalebarObj_units_get", _wrap_scalebarObj_units_get},
   43887             : {"mapscriptc::scalebarObj_status_set", _wrap_scalebarObj_status_set},
   43888             : {"mapscriptc::scalebarObj_status_get", _wrap_scalebarObj_status_get},
   43889             : {"mapscriptc::scalebarObj_position_set", _wrap_scalebarObj_position_set},
   43890             : {"mapscriptc::scalebarObj_position_get", _wrap_scalebarObj_position_get},
   43891             : {"mapscriptc::scalebarObj_postlabelcache_set", _wrap_scalebarObj_postlabelcache_set},
   43892             : {"mapscriptc::scalebarObj_postlabelcache_get", _wrap_scalebarObj_postlabelcache_get},
   43893             : {"mapscriptc::scalebarObj_align_set", _wrap_scalebarObj_align_set},
   43894             : {"mapscriptc::scalebarObj_align_get", _wrap_scalebarObj_align_get},
   43895             : {"mapscriptc::scalebarObj_offsetx_set", _wrap_scalebarObj_offsetx_set},
   43896             : {"mapscriptc::scalebarObj_offsetx_get", _wrap_scalebarObj_offsetx_get},
   43897             : {"mapscriptc::scalebarObj_offsety_set", _wrap_scalebarObj_offsety_set},
   43898             : {"mapscriptc::scalebarObj_offsety_get", _wrap_scalebarObj_offsety_get},
   43899             : {"mapscriptc::scalebarObj_updateFromString", _wrap_scalebarObj_updateFromString},
   43900             : {"mapscriptc::scalebarObj_convertToString", _wrap_scalebarObj_convertToString},
   43901             : {"mapscriptc::new_scalebarObj", _wrap_new_scalebarObj},
   43902             : {"mapscriptc::delete_scalebarObj", _wrap_delete_scalebarObj},
   43903             : {"mapscriptc::legendObj_imagecolor_set", _wrap_legendObj_imagecolor_set},
   43904             : {"mapscriptc::legendObj_imagecolor_get", _wrap_legendObj_imagecolor_get},
   43905             : {"mapscriptc::legendObj_label_get", _wrap_legendObj_label_get},
   43906             : {"mapscriptc::legendObj_keysizex_set", _wrap_legendObj_keysizex_set},
   43907             : {"mapscriptc::legendObj_keysizex_get", _wrap_legendObj_keysizex_get},
   43908             : {"mapscriptc::legendObj_keysizey_set", _wrap_legendObj_keysizey_set},
   43909             : {"mapscriptc::legendObj_keysizey_get", _wrap_legendObj_keysizey_get},
   43910             : {"mapscriptc::legendObj_keyspacingx_set", _wrap_legendObj_keyspacingx_set},
   43911             : {"mapscriptc::legendObj_keyspacingx_get", _wrap_legendObj_keyspacingx_get},
   43912             : {"mapscriptc::legendObj_keyspacingy_set", _wrap_legendObj_keyspacingy_set},
   43913             : {"mapscriptc::legendObj_keyspacingy_get", _wrap_legendObj_keyspacingy_get},
   43914             : {"mapscriptc::legendObj_outlinecolor_set", _wrap_legendObj_outlinecolor_set},
   43915             : {"mapscriptc::legendObj_outlinecolor_get", _wrap_legendObj_outlinecolor_get},
   43916             : {"mapscriptc::legendObj_status_set", _wrap_legendObj_status_set},
   43917             : {"mapscriptc::legendObj_status_get", _wrap_legendObj_status_get},
   43918             : {"mapscriptc::legendObj_height_set", _wrap_legendObj_height_set},
   43919             : {"mapscriptc::legendObj_height_get", _wrap_legendObj_height_get},
   43920             : {"mapscriptc::legendObj_width_set", _wrap_legendObj_width_set},
   43921             : {"mapscriptc::legendObj_width_get", _wrap_legendObj_width_get},
   43922             : {"mapscriptc::legendObj_position_set", _wrap_legendObj_position_set},
   43923             : {"mapscriptc::legendObj_position_get", _wrap_legendObj_position_get},
   43924             : {"mapscriptc::legendObj_postlabelcache_set", _wrap_legendObj_postlabelcache_set},
   43925             : {"mapscriptc::legendObj_postlabelcache_get", _wrap_legendObj_postlabelcache_get},
   43926             : {"mapscriptc::legendObj_template_set", _wrap_legendObj_template_set},
   43927             : {"mapscriptc::legendObj_template_get", _wrap_legendObj_template_get},
   43928             : {"mapscriptc::legendObj_map_get", _wrap_legendObj_map_get},
   43929             : {"mapscriptc::legendObj_updateFromString", _wrap_legendObj_updateFromString},
   43930             : {"mapscriptc::legendObj_convertToString", _wrap_legendObj_convertToString},
   43931             : {"mapscriptc::new_legendObj", _wrap_new_legendObj},
   43932             : {"mapscriptc::delete_legendObj", _wrap_delete_legendObj},
   43933             : {"mapscriptc::imageObj_width_get", _wrap_imageObj_width_get},
   43934             : {"mapscriptc::imageObj_height_get", _wrap_imageObj_height_get},
   43935             : {"mapscriptc::imageObj_resolution_get", _wrap_imageObj_resolution_get},
   43936             : {"mapscriptc::imageObj_resolutionfactor_get", _wrap_imageObj_resolutionfactor_get},
   43937             : {"mapscriptc::imageObj_imagepath_get", _wrap_imageObj_imagepath_get},
   43938             : {"mapscriptc::imageObj_imageurl_get", _wrap_imageObj_imageurl_get},
   43939             : {"mapscriptc::imageObj_format_get", _wrap_imageObj_format_get},
   43940             : {"mapscriptc::new_imageObj", _wrap_new_imageObj},
   43941             : {"mapscriptc::delete_imageObj", _wrap_delete_imageObj},
   43942             : {"mapscriptc::imageObj_save", _wrap_imageObj_save},
   43943             : {"mapscriptc::imageObj_write", _wrap_imageObj_write},
   43944             : {"mapscriptc::imageObj_getBytes", _wrap_imageObj_getBytes},
   43945             : {"mapscriptc::imageObj_getSize", _wrap_imageObj_getSize},
   43946             : {"mapscriptc::scaleTokenEntryObj_minscale_set", _wrap_scaleTokenEntryObj_minscale_set},
   43947             : {"mapscriptc::scaleTokenEntryObj_minscale_get", _wrap_scaleTokenEntryObj_minscale_get},
   43948             : {"mapscriptc::scaleTokenEntryObj_maxscale_set", _wrap_scaleTokenEntryObj_maxscale_set},
   43949             : {"mapscriptc::scaleTokenEntryObj_maxscale_get", _wrap_scaleTokenEntryObj_maxscale_get},
   43950             : {"mapscriptc::scaleTokenEntryObj_value_set", _wrap_scaleTokenEntryObj_value_set},
   43951             : {"mapscriptc::scaleTokenEntryObj_value_get", _wrap_scaleTokenEntryObj_value_get},
   43952             : {"mapscriptc::new_scaleTokenEntryObj", _wrap_new_scaleTokenEntryObj},
   43953             : {"mapscriptc::delete_scaleTokenEntryObj", _wrap_delete_scaleTokenEntryObj},
   43954             : {"mapscriptc::scaleTokenObj_name_set", _wrap_scaleTokenObj_name_set},
   43955             : {"mapscriptc::scaleTokenObj_name_get", _wrap_scaleTokenObj_name_get},
   43956             : {"mapscriptc::scaleTokenObj_n_entries_set", _wrap_scaleTokenObj_n_entries_set},
   43957             : {"mapscriptc::scaleTokenObj_n_entries_get", _wrap_scaleTokenObj_n_entries_get},
   43958             : {"mapscriptc::scaleTokenObj_tokens_set", _wrap_scaleTokenObj_tokens_set},
   43959             : {"mapscriptc::scaleTokenObj_tokens_get", _wrap_scaleTokenObj_tokens_get},
   43960             : {"mapscriptc::new_scaleTokenObj", _wrap_new_scaleTokenObj},
   43961             : {"mapscriptc::delete_scaleTokenObj", _wrap_delete_scaleTokenObj},
   43962             : {"mapscriptc::layerObj_classitem_set", _wrap_layerObj_classitem_set},
   43963             : {"mapscriptc::layerObj_classitem_get", _wrap_layerObj_classitem_get},
   43964             : {"mapscriptc::layerObj_refcount_get", _wrap_layerObj_refcount_get},
   43965             : {"mapscriptc::layerObj_numclasses_get", _wrap_layerObj_numclasses_get},
   43966             : {"mapscriptc::layerObj_maxclasses_get", _wrap_layerObj_maxclasses_get},
   43967             : {"mapscriptc::layerObj_index_get", _wrap_layerObj_index_get},
   43968             : {"mapscriptc::layerObj_map_get", _wrap_layerObj_map_get},
   43969             : {"mapscriptc::layerObj_header_set", _wrap_layerObj_header_set},
   43970             : {"mapscriptc::layerObj_header_get", _wrap_layerObj_header_get},
   43971             : {"mapscriptc::layerObj_footer_set", _wrap_layerObj_footer_set},
   43972             : {"mapscriptc::layerObj_footer_get", _wrap_layerObj_footer_get},
   43973             : {"mapscriptc::layerObj_template_set", _wrap_layerObj_template_set},
   43974             : {"mapscriptc::layerObj_template_get", _wrap_layerObj_template_get},
   43975             : {"mapscriptc::layerObj_name_set", _wrap_layerObj_name_set},
   43976             : {"mapscriptc::layerObj_name_get", _wrap_layerObj_name_get},
   43977             : {"mapscriptc::layerObj_group_set", _wrap_layerObj_group_set},
   43978             : {"mapscriptc::layerObj_group_get", _wrap_layerObj_group_get},
   43979             : {"mapscriptc::layerObj_status_set", _wrap_layerObj_status_set},
   43980             : {"mapscriptc::layerObj_status_get", _wrap_layerObj_status_get},
   43981             : {"mapscriptc::layerObj_rendermode_set", _wrap_layerObj_rendermode_set},
   43982             : {"mapscriptc::layerObj_rendermode_get", _wrap_layerObj_rendermode_get},
   43983             : {"mapscriptc::layerObj_data_set", _wrap_layerObj_data_set},
   43984             : {"mapscriptc::layerObj_data_get", _wrap_layerObj_data_get},
   43985             : {"mapscriptc::layerObj_type_set", _wrap_layerObj_type_set},
   43986             : {"mapscriptc::layerObj_type_get", _wrap_layerObj_type_get},
   43987             : {"mapscriptc::layerObj_tolerance_set", _wrap_layerObj_tolerance_set},
   43988             : {"mapscriptc::layerObj_tolerance_get", _wrap_layerObj_tolerance_get},
   43989             : {"mapscriptc::layerObj_toleranceunits_set", _wrap_layerObj_toleranceunits_set},
   43990             : {"mapscriptc::layerObj_toleranceunits_get", _wrap_layerObj_toleranceunits_get},
   43991             : {"mapscriptc::layerObj_symbolscaledenom_set", _wrap_layerObj_symbolscaledenom_set},
   43992             : {"mapscriptc::layerObj_symbolscaledenom_get", _wrap_layerObj_symbolscaledenom_get},
   43993             : {"mapscriptc::layerObj_minscaledenom_set", _wrap_layerObj_minscaledenom_set},
   43994             : {"mapscriptc::layerObj_minscaledenom_get", _wrap_layerObj_minscaledenom_get},
   43995             : {"mapscriptc::layerObj_maxscaledenom_set", _wrap_layerObj_maxscaledenom_set},
   43996             : {"mapscriptc::layerObj_maxscaledenom_get", _wrap_layerObj_maxscaledenom_get},
   43997             : {"mapscriptc::layerObj_minfeaturesize_set", _wrap_layerObj_minfeaturesize_set},
   43998             : {"mapscriptc::layerObj_minfeaturesize_get", _wrap_layerObj_minfeaturesize_get},
   43999             : {"mapscriptc::layerObj_labelminscaledenom_set", _wrap_layerObj_labelminscaledenom_set},
   44000             : {"mapscriptc::layerObj_labelminscaledenom_get", _wrap_layerObj_labelminscaledenom_get},
   44001             : {"mapscriptc::layerObj_labelmaxscaledenom_set", _wrap_layerObj_labelmaxscaledenom_set},
   44002             : {"mapscriptc::layerObj_labelmaxscaledenom_get", _wrap_layerObj_labelmaxscaledenom_get},
   44003             : {"mapscriptc::layerObj_mingeowidth_set", _wrap_layerObj_mingeowidth_set},
   44004             : {"mapscriptc::layerObj_mingeowidth_get", _wrap_layerObj_mingeowidth_get},
   44005             : {"mapscriptc::layerObj_maxgeowidth_set", _wrap_layerObj_maxgeowidth_set},
   44006             : {"mapscriptc::layerObj_maxgeowidth_get", _wrap_layerObj_maxgeowidth_get},
   44007             : {"mapscriptc::layerObj_sizeunits_set", _wrap_layerObj_sizeunits_set},
   44008             : {"mapscriptc::layerObj_sizeunits_get", _wrap_layerObj_sizeunits_get},
   44009             : {"mapscriptc::layerObj_maxfeatures_set", _wrap_layerObj_maxfeatures_set},
   44010             : {"mapscriptc::layerObj_maxfeatures_get", _wrap_layerObj_maxfeatures_get},
   44011             : {"mapscriptc::layerObj_startindex_set", _wrap_layerObj_startindex_set},
   44012             : {"mapscriptc::layerObj_startindex_get", _wrap_layerObj_startindex_get},
   44013             : {"mapscriptc::layerObj_offsite_set", _wrap_layerObj_offsite_set},
   44014             : {"mapscriptc::layerObj_offsite_get", _wrap_layerObj_offsite_get},
   44015             : {"mapscriptc::layerObj_transform_set", _wrap_layerObj_transform_set},
   44016             : {"mapscriptc::layerObj_transform_get", _wrap_layerObj_transform_get},
   44017             : {"mapscriptc::layerObj_labelcache_set", _wrap_layerObj_labelcache_set},
   44018             : {"mapscriptc::layerObj_labelcache_get", _wrap_layerObj_labelcache_get},
   44019             : {"mapscriptc::layerObj_postlabelcache_set", _wrap_layerObj_postlabelcache_set},
   44020             : {"mapscriptc::layerObj_postlabelcache_get", _wrap_layerObj_postlabelcache_get},
   44021             : {"mapscriptc::layerObj_labelitem_set", _wrap_layerObj_labelitem_set},
   44022             : {"mapscriptc::layerObj_labelitem_get", _wrap_layerObj_labelitem_get},
   44023             : {"mapscriptc::layerObj_tileitem_set", _wrap_layerObj_tileitem_set},
   44024             : {"mapscriptc::layerObj_tileitem_get", _wrap_layerObj_tileitem_get},
   44025             : {"mapscriptc::layerObj_tileindex_set", _wrap_layerObj_tileindex_set},
   44026             : {"mapscriptc::layerObj_tileindex_get", _wrap_layerObj_tileindex_get},
   44027             : {"mapscriptc::layerObj_tilesrs_set", _wrap_layerObj_tilesrs_set},
   44028             : {"mapscriptc::layerObj_tilesrs_get", _wrap_layerObj_tilesrs_get},
   44029             : {"mapscriptc::layerObj_units_set", _wrap_layerObj_units_set},
   44030             : {"mapscriptc::layerObj_units_get", _wrap_layerObj_units_get},
   44031             : {"mapscriptc::layerObj_connection_set", _wrap_layerObj_connection_set},
   44032             : {"mapscriptc::layerObj_connection_get", _wrap_layerObj_connection_get},
   44033             : {"mapscriptc::layerObj_plugin_library_set", _wrap_layerObj_plugin_library_set},
   44034             : {"mapscriptc::layerObj_plugin_library_get", _wrap_layerObj_plugin_library_get},
   44035             : {"mapscriptc::layerObj_plugin_library_original_set", _wrap_layerObj_plugin_library_original_set},
   44036             : {"mapscriptc::layerObj_plugin_library_original_get", _wrap_layerObj_plugin_library_original_get},
   44037             : {"mapscriptc::layerObj_connectiontype_set", _wrap_layerObj_connectiontype_set},
   44038             : {"mapscriptc::layerObj_connectiontype_get", _wrap_layerObj_connectiontype_get},
   44039             : {"mapscriptc::layerObj_numitems_get", _wrap_layerObj_numitems_get},
   44040             : {"mapscriptc::layerObj_bandsitem_set", _wrap_layerObj_bandsitem_set},
   44041             : {"mapscriptc::layerObj_bandsitem_get", _wrap_layerObj_bandsitem_get},
   44042             : {"mapscriptc::layerObj_filteritem_set", _wrap_layerObj_filteritem_set},
   44043             : {"mapscriptc::layerObj_filteritem_get", _wrap_layerObj_filteritem_get},
   44044             : {"mapscriptc::layerObj_styleitem_set", _wrap_layerObj_styleitem_set},
   44045             : {"mapscriptc::layerObj_styleitem_get", _wrap_layerObj_styleitem_get},
   44046             : {"mapscriptc::layerObj_requires_set", _wrap_layerObj_requires_set},
   44047             : {"mapscriptc::layerObj_requires_get", _wrap_layerObj_requires_get},
   44048             : {"mapscriptc::layerObj_labelrequires_set", _wrap_layerObj_labelrequires_set},
   44049             : {"mapscriptc::layerObj_labelrequires_get", _wrap_layerObj_labelrequires_get},
   44050             : {"mapscriptc::layerObj_metadata_get", _wrap_layerObj_metadata_get},
   44051             : {"mapscriptc::layerObj_validation_get", _wrap_layerObj_validation_get},
   44052             : {"mapscriptc::layerObj_bindvals_get", _wrap_layerObj_bindvals_get},
   44053             : {"mapscriptc::layerObj_cluster_get", _wrap_layerObj_cluster_get},
   44054             : {"mapscriptc::layerObj_dump_set", _wrap_layerObj_dump_set},
   44055             : {"mapscriptc::layerObj_dump_get", _wrap_layerObj_dump_get},
   44056             : {"mapscriptc::layerObj_debug_set", _wrap_layerObj_debug_set},
   44057             : {"mapscriptc::layerObj_debug_get", _wrap_layerObj_debug_get},
   44058             : {"mapscriptc::layerObj_extent_get", _wrap_layerObj_extent_get},
   44059             : {"mapscriptc::layerObj_numprocessing_get", _wrap_layerObj_numprocessing_get},
   44060             : {"mapscriptc::layerObj_numjoins_get", _wrap_layerObj_numjoins_get},
   44061             : {"mapscriptc::layerObj_classgroup_set", _wrap_layerObj_classgroup_set},
   44062             : {"mapscriptc::layerObj_classgroup_get", _wrap_layerObj_classgroup_get},
   44063             : {"mapscriptc::layerObj_mask_set", _wrap_layerObj_mask_set},
   44064             : {"mapscriptc::layerObj_mask_get", _wrap_layerObj_mask_get},
   44065             : {"mapscriptc::layerObj_encoding_set", _wrap_layerObj_encoding_set},
   44066             : {"mapscriptc::layerObj_encoding_get", _wrap_layerObj_encoding_get},
   44067             : {"mapscriptc::layerObj_utfitem_set", _wrap_layerObj_utfitem_set},
   44068             : {"mapscriptc::layerObj_utfitem_get", _wrap_layerObj_utfitem_get},
   44069             : {"mapscriptc::layerObj_utfitemindex_set", _wrap_layerObj_utfitemindex_set},
   44070             : {"mapscriptc::layerObj_utfitemindex_get", _wrap_layerObj_utfitemindex_get},
   44071             : {"mapscriptc::layerObj_utfdata_set", _wrap_layerObj_utfdata_set},
   44072             : {"mapscriptc::layerObj_utfdata_get", _wrap_layerObj_utfdata_get},
   44073             : {"mapscriptc::layerObj_compositer_set", _wrap_layerObj_compositer_set},
   44074             : {"mapscriptc::layerObj_compositer_get", _wrap_layerObj_compositer_get},
   44075             : {"mapscriptc::layerObj_connectionoptions_set", _wrap_layerObj_connectionoptions_set},
   44076             : {"mapscriptc::layerObj_connectionoptions_get", _wrap_layerObj_connectionoptions_get},
   44077             : {"mapscriptc::new_layerObj", _wrap_new_layerObj},
   44078             : {"mapscriptc::layerObj_setOpacity", _wrap_layerObj_setOpacity},
   44079             : {"mapscriptc::layerObj_getOpacity", _wrap_layerObj_getOpacity},
   44080             : {"mapscriptc::delete_layerObj", _wrap_delete_layerObj},
   44081             : {"mapscriptc::layerObj_clone", _wrap_layerObj_clone},
   44082             : {"mapscriptc::layerObj_updateFromString", _wrap_layerObj_updateFromString},
   44083             : {"mapscriptc::layerObj_convertToString", _wrap_layerObj_convertToString},
   44084             : {"mapscriptc::layerObj_insertClass", _wrap_layerObj_insertClass},
   44085             : {"mapscriptc::layerObj_removeClass", _wrap_layerObj_removeClass},
   44086             : {"mapscriptc::layerObj_open", _wrap_layerObj_open},
   44087             : {"mapscriptc::layerObj_whichShapes", _wrap_layerObj_whichShapes},
   44088             : {"mapscriptc::layerObj_nextShape", _wrap_layerObj_nextShape},
   44089             : {"mapscriptc::layerObj_close", _wrap_layerObj_close},
   44090             : {"mapscriptc::layerObj_getShape", _wrap_layerObj_getShape},
   44091             : {"mapscriptc::layerObj_getNumResults", _wrap_layerObj_getNumResults},
   44092             : {"mapscriptc::layerObj_getResultsBounds", _wrap_layerObj_getResultsBounds},
   44093             : {"mapscriptc::layerObj_getResult", _wrap_layerObj_getResult},
   44094             : {"mapscriptc::layerObj_getClass", _wrap_layerObj_getClass},
   44095             : {"mapscriptc::layerObj_getItem", _wrap_layerObj_getItem},
   44096             : {"mapscriptc::layerObj_setItems", _wrap_layerObj_setItems},
   44097             : {"mapscriptc::layerObj_draw", _wrap_layerObj_draw},
   44098             : {"mapscriptc::layerObj_drawQuery", _wrap_layerObj_drawQuery},
   44099             : {"mapscriptc::layerObj_queryByFilter", _wrap_layerObj_queryByFilter},
   44100             : {"mapscriptc::layerObj_queryByAttributes", _wrap_layerObj_queryByAttributes},
   44101             : {"mapscriptc::layerObj_queryByPoint", _wrap_layerObj_queryByPoint},
   44102             : {"mapscriptc::layerObj_queryByRect", _wrap_layerObj_queryByRect},
   44103             : {"mapscriptc::layerObj_queryByFeatures", _wrap_layerObj_queryByFeatures},
   44104             : {"mapscriptc::layerObj_queryByShape", _wrap_layerObj_queryByShape},
   44105             : {"mapscriptc::layerObj_queryByIndex", _wrap_layerObj_queryByIndex},
   44106             : {"mapscriptc::layerObj_getResults", _wrap_layerObj_getResults},
   44107             : {"mapscriptc::layerObj_setFilter", _wrap_layerObj_setFilter},
   44108             : {"mapscriptc::layerObj_getFilterString", _wrap_layerObj_getFilterString},
   44109             : {"mapscriptc::layerObj_setWKTProjection", _wrap_layerObj_setWKTProjection},
   44110             : {"mapscriptc::layerObj_getProjection", _wrap_layerObj_getProjection},
   44111             : {"mapscriptc::layerObj_setProjection", _wrap_layerObj_setProjection},
   44112             : {"mapscriptc::layerObj_addFeature", _wrap_layerObj_addFeature},
   44113             : {"mapscriptc::layerObj_getNumFeatures", _wrap_layerObj_getNumFeatures},
   44114             : {"mapscriptc::layerObj_getExtent", _wrap_layerObj_getExtent},
   44115             : {"mapscriptc::layerObj_setExtent", _wrap_layerObj_setExtent},
   44116             : {"mapscriptc::layerObj_getMetaData", _wrap_layerObj_getMetaData},
   44117             : {"mapscriptc::layerObj_setMetaData", _wrap_layerObj_setMetaData},
   44118             : {"mapscriptc::layerObj_removeMetaData", _wrap_layerObj_removeMetaData},
   44119             : {"mapscriptc::layerObj_getFirstMetaDataKey", _wrap_layerObj_getFirstMetaDataKey},
   44120             : {"mapscriptc::layerObj_getNextMetaDataKey", _wrap_layerObj_getNextMetaDataKey},
   44121             : {"mapscriptc::layerObj_getWMSFeatureInfoURL", _wrap_layerObj_getWMSFeatureInfoURL},
   44122             : {"mapscriptc::layerObj_executeWFSGetFeature", _wrap_layerObj_executeWFSGetFeature},
   44123             : {"mapscriptc::layerObj_applySLD", _wrap_layerObj_applySLD},
   44124             : {"mapscriptc::layerObj_applySLDURL", _wrap_layerObj_applySLDURL},
   44125             : {"mapscriptc::layerObj_generateSLD", _wrap_layerObj_generateSLD},
   44126             : {"mapscriptc::layerObj_isVisible", _wrap_layerObj_isVisible},
   44127             : {"mapscriptc::layerObj_moveClassUp", _wrap_layerObj_moveClassUp},
   44128             : {"mapscriptc::layerObj_moveClassDown", _wrap_layerObj_moveClassDown},
   44129             : {"mapscriptc::layerObj_setProcessingKey", _wrap_layerObj_setProcessingKey},
   44130             : {"mapscriptc::layerObj_setProcessing", _wrap_layerObj_setProcessing},
   44131             : {"mapscriptc::layerObj_addProcessing", _wrap_layerObj_addProcessing},
   44132             : {"mapscriptc::layerObj_getProcessing", _wrap_layerObj_getProcessing},
   44133             : {"mapscriptc::layerObj_getProcessingKey", _wrap_layerObj_getProcessingKey},
   44134             : {"mapscriptc::layerObj_clearProcessing", _wrap_layerObj_clearProcessing},
   44135             : {"mapscriptc::layerObj_setConnectionType", _wrap_layerObj_setConnectionType},
   44136             : {"mapscriptc::layerObj_getClassIndex", _wrap_layerObj_getClassIndex},
   44137             : {"mapscriptc::layerObj_getGeomTransform", _wrap_layerObj_getGeomTransform},
   44138             : {"mapscriptc::layerObj_setGeomTransform", _wrap_layerObj_setGeomTransform},
   44139             : {"mapscriptc::layerObj_getItemType", _wrap_layerObj_getItemType},
   44140             : {"mapscriptc::mapObj_name_set", _wrap_mapObj_name_set},
   44141             : {"mapscriptc::mapObj_name_get", _wrap_mapObj_name_get},
   44142             : {"mapscriptc::mapObj_status_set", _wrap_mapObj_status_set},
   44143             : {"mapscriptc::mapObj_status_get", _wrap_mapObj_status_get},
   44144             : {"mapscriptc::mapObj_height_set", _wrap_mapObj_height_set},
   44145             : {"mapscriptc::mapObj_height_get", _wrap_mapObj_height_get},
   44146             : {"mapscriptc::mapObj_width_set", _wrap_mapObj_width_set},
   44147             : {"mapscriptc::mapObj_width_get", _wrap_mapObj_width_get},
   44148             : {"mapscriptc::mapObj_maxsize_set", _wrap_mapObj_maxsize_set},
   44149             : {"mapscriptc::mapObj_maxsize_get", _wrap_mapObj_maxsize_get},
   44150             : {"mapscriptc::mapObj_refcount_get", _wrap_mapObj_refcount_get},
   44151             : {"mapscriptc::mapObj_numlayers_get", _wrap_mapObj_numlayers_get},
   44152             : {"mapscriptc::mapObj_maxlayers_get", _wrap_mapObj_maxlayers_get},
   44153             : {"mapscriptc::mapObj_symbolset_get", _wrap_mapObj_symbolset_get},
   44154             : {"mapscriptc::mapObj_fontset_get", _wrap_mapObj_fontset_get},
   44155             : {"mapscriptc::mapObj_labelcache_get", _wrap_mapObj_labelcache_get},
   44156             : {"mapscriptc::mapObj_transparent_set", _wrap_mapObj_transparent_set},
   44157             : {"mapscriptc::mapObj_transparent_get", _wrap_mapObj_transparent_get},
   44158             : {"mapscriptc::mapObj_interlace_set", _wrap_mapObj_interlace_set},
   44159             : {"mapscriptc::mapObj_interlace_get", _wrap_mapObj_interlace_get},
   44160             : {"mapscriptc::mapObj_imagequality_set", _wrap_mapObj_imagequality_set},
   44161             : {"mapscriptc::mapObj_imagequality_get", _wrap_mapObj_imagequality_get},
   44162             : {"mapscriptc::mapObj_extent_set", _wrap_mapObj_extent_set},
   44163             : {"mapscriptc::mapObj_extent_get", _wrap_mapObj_extent_get},
   44164             : {"mapscriptc::mapObj_cellsize_set", _wrap_mapObj_cellsize_set},
   44165             : {"mapscriptc::mapObj_cellsize_get", _wrap_mapObj_cellsize_get},
   44166             : {"mapscriptc::mapObj_units_set", _wrap_mapObj_units_set},
   44167             : {"mapscriptc::mapObj_units_get", _wrap_mapObj_units_get},
   44168             : {"mapscriptc::mapObj_scaledenom_set", _wrap_mapObj_scaledenom_set},
   44169             : {"mapscriptc::mapObj_scaledenom_get", _wrap_mapObj_scaledenom_get},
   44170             : {"mapscriptc::mapObj_resolution_set", _wrap_mapObj_resolution_set},
   44171             : {"mapscriptc::mapObj_resolution_get", _wrap_mapObj_resolution_get},
   44172             : {"mapscriptc::mapObj_defresolution_set", _wrap_mapObj_defresolution_set},
   44173             : {"mapscriptc::mapObj_defresolution_get", _wrap_mapObj_defresolution_get},
   44174             : {"mapscriptc::mapObj_shapepath_set", _wrap_mapObj_shapepath_set},
   44175             : {"mapscriptc::mapObj_shapepath_get", _wrap_mapObj_shapepath_get},
   44176             : {"mapscriptc::mapObj_mappath_set", _wrap_mapObj_mappath_set},
   44177             : {"mapscriptc::mapObj_mappath_get", _wrap_mapObj_mappath_get},
   44178             : {"mapscriptc::mapObj_sldurl_set", _wrap_mapObj_sldurl_set},
   44179             : {"mapscriptc::mapObj_sldurl_get", _wrap_mapObj_sldurl_get},
   44180             : {"mapscriptc::mapObj_imagecolor_set", _wrap_mapObj_imagecolor_set},
   44181             : {"mapscriptc::mapObj_imagecolor_get", _wrap_mapObj_imagecolor_get},
   44182             : {"mapscriptc::mapObj_numoutputformats_get", _wrap_mapObj_numoutputformats_get},
   44183             : {"mapscriptc::mapObj_outputformat_get", _wrap_mapObj_outputformat_get},
   44184             : {"mapscriptc::mapObj_imagetype_get", _wrap_mapObj_imagetype_get},
   44185             : {"mapscriptc::mapObj_reference_get", _wrap_mapObj_reference_get},
   44186             : {"mapscriptc::mapObj_scalebar_get", _wrap_mapObj_scalebar_get},
   44187             : {"mapscriptc::mapObj_legend_get", _wrap_mapObj_legend_get},
   44188             : {"mapscriptc::mapObj_querymap_get", _wrap_mapObj_querymap_get},
   44189             : {"mapscriptc::mapObj_web_get", _wrap_mapObj_web_get},
   44190             : {"mapscriptc::mapObj_layerorder_set", _wrap_mapObj_layerorder_set},
   44191             : {"mapscriptc::mapObj_layerorder_get", _wrap_mapObj_layerorder_get},
   44192             : {"mapscriptc::mapObj_debug_set", _wrap_mapObj_debug_set},
   44193             : {"mapscriptc::mapObj_debug_get", _wrap_mapObj_debug_get},
   44194             : {"mapscriptc::mapObj_datapattern_set", _wrap_mapObj_datapattern_set},
   44195             : {"mapscriptc::mapObj_datapattern_get", _wrap_mapObj_datapattern_get},
   44196             : {"mapscriptc::mapObj_templatepattern_set", _wrap_mapObj_templatepattern_set},
   44197             : {"mapscriptc::mapObj_templatepattern_get", _wrap_mapObj_templatepattern_get},
   44198             : {"mapscriptc::mapObj_configoptions_get", _wrap_mapObj_configoptions_get},
   44199             : {"mapscriptc::new_mapObj", _wrap_new_mapObj},
   44200             : {"mapscriptc::delete_mapObj", _wrap_delete_mapObj},
   44201             : {"mapscriptc::mapObj_clone", _wrap_mapObj_clone},
   44202             : {"mapscriptc::mapObj_insertLayer", _wrap_mapObj_insertLayer},
   44203             : {"mapscriptc::mapObj_removeLayer", _wrap_mapObj_removeLayer},
   44204             : {"mapscriptc::mapObj_setExtent", _wrap_mapObj_setExtent},
   44205             : {"mapscriptc::mapObj_offsetExtent", _wrap_mapObj_offsetExtent},
   44206             : {"mapscriptc::mapObj_scaleExtent", _wrap_mapObj_scaleExtent},
   44207             : {"mapscriptc::mapObj_setCenter", _wrap_mapObj_setCenter},
   44208             : {"mapscriptc::mapObj_setSize", _wrap_mapObj_setSize},
   44209             : {"mapscriptc::mapObj_pixelToGeoref", _wrap_mapObj_pixelToGeoref},
   44210             : {"mapscriptc::mapObj_getRotation", _wrap_mapObj_getRotation},
   44211             : {"mapscriptc::mapObj_setRotation", _wrap_mapObj_setRotation},
   44212             : {"mapscriptc::mapObj_getLayer", _wrap_mapObj_getLayer},
   44213             : {"mapscriptc::mapObj_getLayerByName", _wrap_mapObj_getLayerByName},
   44214             : {"mapscriptc::mapObj_getSymbolByName", _wrap_mapObj_getSymbolByName},
   44215             : {"mapscriptc::mapObj_prepareQuery", _wrap_mapObj_prepareQuery},
   44216             : {"mapscriptc::mapObj_prepareImage", _wrap_mapObj_prepareImage},
   44217             : {"mapscriptc::mapObj_setImageType", _wrap_mapObj_setImageType},
   44218             : {"mapscriptc::mapObj_selectOutputFormat", _wrap_mapObj_selectOutputFormat},
   44219             : {"mapscriptc::mapObj_getOutputFormat", _wrap_mapObj_getOutputFormat},
   44220             : {"mapscriptc::mapObj_setOutputFormat", _wrap_mapObj_setOutputFormat},
   44221             : {"mapscriptc::mapObj_draw", _wrap_mapObj_draw},
   44222             : {"mapscriptc::mapObj_drawQuery", _wrap_mapObj_drawQuery},
   44223             : {"mapscriptc::mapObj_drawLegend", _wrap_mapObj_drawLegend},
   44224             : {"mapscriptc::mapObj_drawScalebar", _wrap_mapObj_drawScalebar},
   44225             : {"mapscriptc::mapObj_drawReferenceMap", _wrap_mapObj_drawReferenceMap},
   44226             : {"mapscriptc::mapObj_embedScalebar", _wrap_mapObj_embedScalebar},
   44227             : {"mapscriptc::mapObj_embedLegend", _wrap_mapObj_embedLegend},
   44228             : {"mapscriptc::mapObj_drawLabelCache", _wrap_mapObj_drawLabelCache},
   44229             : {"mapscriptc::mapObj_queryByFilter", _wrap_mapObj_queryByFilter},
   44230             : {"mapscriptc::mapObj_queryByPoint", _wrap_mapObj_queryByPoint},
   44231             : {"mapscriptc::mapObj_queryByRect", _wrap_mapObj_queryByRect},
   44232             : {"mapscriptc::mapObj_queryByFeatures", _wrap_mapObj_queryByFeatures},
   44233             : {"mapscriptc::mapObj_queryByShape", _wrap_mapObj_queryByShape},
   44234             : {"mapscriptc::mapObj_setWKTProjection", _wrap_mapObj_setWKTProjection},
   44235             : {"mapscriptc::mapObj_getProjection", _wrap_mapObj_getProjection},
   44236             : {"mapscriptc::mapObj_setProjection", _wrap_mapObj_setProjection},
   44237             : {"mapscriptc::mapObj_save", _wrap_mapObj_save},
   44238             : {"mapscriptc::mapObj_saveQuery", _wrap_mapObj_saveQuery},
   44239             : {"mapscriptc::mapObj_loadQuery", _wrap_mapObj_loadQuery},
   44240             : {"mapscriptc::mapObj_freeQuery", _wrap_mapObj_freeQuery},
   44241             : {"mapscriptc::mapObj_saveQueryAsGML", _wrap_mapObj_saveQueryAsGML},
   44242             : {"mapscriptc::mapObj_getMetaData", _wrap_mapObj_getMetaData},
   44243             : {"mapscriptc::mapObj_setMetaData", _wrap_mapObj_setMetaData},
   44244             : {"mapscriptc::mapObj_removeMetaData", _wrap_mapObj_removeMetaData},
   44245             : {"mapscriptc::mapObj_getFirstMetaDataKey", _wrap_mapObj_getFirstMetaDataKey},
   44246             : {"mapscriptc::mapObj_getNextMetaDataKey", _wrap_mapObj_getNextMetaDataKey},
   44247             : {"mapscriptc::mapObj_setSymbolSet", _wrap_mapObj_setSymbolSet},
   44248             : {"mapscriptc::mapObj_getNumSymbols", _wrap_mapObj_getNumSymbols},
   44249             : {"mapscriptc::mapObj_setFontSet", _wrap_mapObj_setFontSet},
   44250             : {"mapscriptc::mapObj_saveMapContext", _wrap_mapObj_saveMapContext},
   44251             : {"mapscriptc::mapObj_loadMapContext", _wrap_mapObj_loadMapContext},
   44252             : {"mapscriptc::mapObj_moveLayerUp", _wrap_mapObj_moveLayerUp},
   44253             : {"mapscriptc::mapObj_moveLayerDown", _wrap_mapObj_moveLayerDown},
   44254             : {"mapscriptc::mapObj_getLayersDrawingOrder", _wrap_mapObj_getLayersDrawingOrder},
   44255             : {"mapscriptc::mapObj_setLayersDrawingOrder", _wrap_mapObj_setLayersDrawingOrder},
   44256             : {"mapscriptc::mapObj_setConfigOption", _wrap_mapObj_setConfigOption},
   44257             : {"mapscriptc::mapObj_getConfigOption", _wrap_mapObj_getConfigOption},
   44258             : {"mapscriptc::mapObj_applyConfigOptions", _wrap_mapObj_applyConfigOptions},
   44259             : {"mapscriptc::mapObj_applySLD", _wrap_mapObj_applySLD},
   44260             : {"mapscriptc::mapObj_applySLDURL", _wrap_mapObj_applySLDURL},
   44261             : {"mapscriptc::mapObj_generateSLD", _wrap_mapObj_generateSLD},
   44262             : {"mapscriptc::mapObj_processTemplate", _wrap_mapObj_processTemplate},
   44263             : {"mapscriptc::mapObj_processLegendTemplate", _wrap_mapObj_processLegendTemplate},
   44264             : {"mapscriptc::mapObj_processQueryTemplate", _wrap_mapObj_processQueryTemplate},
   44265             : {"mapscriptc::mapObj_getOutputFormatByName", _wrap_mapObj_getOutputFormatByName},
   44266             : {"mapscriptc::mapObj_appendOutputFormat", _wrap_mapObj_appendOutputFormat},
   44267             : {"mapscriptc::mapObj_removeOutputFormat", _wrap_mapObj_removeOutputFormat},
   44268             : {"mapscriptc::mapObj_loadOWSParameters", _wrap_mapObj_loadOWSParameters},
   44269             : {"mapscriptc::mapObj_OWSDispatch", _wrap_mapObj_OWSDispatch},
   44270             : {"mapscriptc::mapObj_convertToString", _wrap_mapObj_convertToString},
   44271             : {"mapscriptc::mapObj_applyDefaultSubstitutions", _wrap_mapObj_applyDefaultSubstitutions},
   44272             : {"mapscriptc::mapObj_applySubstitutions", _wrap_mapObj_applySubstitutions},
   44273             : {"mapscriptc::mapObj_zoomPoint", _wrap_mapObj_zoomPoint},
   44274             : {"mapscriptc::mapObj_zoomRectangle", _wrap_mapObj_zoomRectangle},
   44275             : {"mapscriptc::mapObj_zoomScale", _wrap_mapObj_zoomScale},
   44276             : {"mapscriptc::msSaveImage", _wrap_msSaveImage},
   44277             : {"mapscriptc::msFreeImage", _wrap_msFreeImage},
   44278             : {"mapscriptc::msSetup", _wrap_msSetup},
   44279             : {"mapscriptc::msCleanup", _wrap_msCleanup},
   44280             : {"mapscriptc::msLoadMapFromString", _wrap_msLoadMapFromString},
   44281             : {"mapscriptc::rectObj_minx_set", _wrap_rectObj_minx_set},
   44282             : {"mapscriptc::rectObj_minx_get", _wrap_rectObj_minx_get},
   44283             : {"mapscriptc::rectObj_miny_set", _wrap_rectObj_miny_set},
   44284             : {"mapscriptc::rectObj_miny_get", _wrap_rectObj_miny_get},
   44285             : {"mapscriptc::rectObj_maxx_set", _wrap_rectObj_maxx_set},
   44286             : {"mapscriptc::rectObj_maxx_get", _wrap_rectObj_maxx_get},
   44287             : {"mapscriptc::rectObj_maxy_set", _wrap_rectObj_maxy_set},
   44288             : {"mapscriptc::rectObj_maxy_get", _wrap_rectObj_maxy_get},
   44289             : {"mapscriptc::new_rectObj", _wrap_new_rectObj},
   44290             : {"mapscriptc::delete_rectObj", _wrap_delete_rectObj},
   44291             : {"mapscriptc::rectObj_project", _wrap_rectObj_project},
   44292             : {"mapscriptc::rectObj_fit", _wrap_rectObj_fit},
   44293             : {"mapscriptc::rectObj_draw", _wrap_rectObj_draw},
   44294             : {"mapscriptc::rectObj_getCenter", _wrap_rectObj_getCenter},
   44295             : {"mapscriptc::rectObj_toPolygon", _wrap_rectObj_toPolygon},
   44296             : {"mapscriptc::rectObj_toString", _wrap_rectObj_toString},
   44297             : {"mapscriptc::pointObj_x_set", _wrap_pointObj_x_set},
   44298             : {"mapscriptc::pointObj_x_get", _wrap_pointObj_x_get},
   44299             : {"mapscriptc::pointObj_y_set", _wrap_pointObj_y_set},
   44300             : {"mapscriptc::pointObj_y_get", _wrap_pointObj_y_get},
   44301             : {"mapscriptc::new_pointObj", _wrap_new_pointObj},
   44302             : {"mapscriptc::delete_pointObj", _wrap_delete_pointObj},
   44303             : {"mapscriptc::pointObj_project", _wrap_pointObj_project},
   44304             : {"mapscriptc::pointObj_draw", _wrap_pointObj_draw},
   44305             : {"mapscriptc::pointObj_distanceToPoint", _wrap_pointObj_distanceToPoint},
   44306             : {"mapscriptc::pointObj_distanceToSegment", _wrap_pointObj_distanceToSegment},
   44307             : {"mapscriptc::pointObj_distanceToShape", _wrap_pointObj_distanceToShape},
   44308             : {"mapscriptc::pointObj_setXY", _wrap_pointObj_setXY},
   44309             : {"mapscriptc::pointObj_setXYZ", _wrap_pointObj_setXYZ},
   44310             : {"mapscriptc::pointObj_setXYZM", _wrap_pointObj_setXYZM},
   44311             : {"mapscriptc::pointObj_toString", _wrap_pointObj_toString},
   44312             : {"mapscriptc::pointObj_toShape", _wrap_pointObj_toShape},
   44313             : {"mapscriptc::lineObj_numpoints_get", _wrap_lineObj_numpoints_get},
   44314             : {"mapscriptc::new_lineObj", _wrap_new_lineObj},
   44315             : {"mapscriptc::delete_lineObj", _wrap_delete_lineObj},
   44316             : {"mapscriptc::lineObj_project", _wrap_lineObj_project},
   44317             : {"mapscriptc::lineObj_get", _wrap_lineObj_get},
   44318             : {"mapscriptc::lineObj_add", _wrap_lineObj_add},
   44319             : {"mapscriptc::lineObj_set", _wrap_lineObj_set},
   44320             : {"mapscriptc::shapeObj_numlines_get", _wrap_shapeObj_numlines_get},
   44321             : {"mapscriptc::shapeObj_numvalues_get", _wrap_shapeObj_numvalues_get},
   44322             : {"mapscriptc::shapeObj_bounds_set", _wrap_shapeObj_bounds_set},
   44323             : {"mapscriptc::shapeObj_bounds_get", _wrap_shapeObj_bounds_get},
   44324             : {"mapscriptc::shapeObj_type_set", _wrap_shapeObj_type_set},
   44325             : {"mapscriptc::shapeObj_type_get", _wrap_shapeObj_type_get},
   44326             : {"mapscriptc::shapeObj_index_set", _wrap_shapeObj_index_set},
   44327             : {"mapscriptc::shapeObj_index_get", _wrap_shapeObj_index_get},
   44328             : {"mapscriptc::shapeObj_tileindex_set", _wrap_shapeObj_tileindex_set},
   44329             : {"mapscriptc::shapeObj_tileindex_get", _wrap_shapeObj_tileindex_get},
   44330             : {"mapscriptc::shapeObj_classindex_set", _wrap_shapeObj_classindex_set},
   44331             : {"mapscriptc::shapeObj_classindex_get", _wrap_shapeObj_classindex_get},
   44332             : {"mapscriptc::shapeObj_text_set", _wrap_shapeObj_text_set},
   44333             : {"mapscriptc::shapeObj_text_get", _wrap_shapeObj_text_get},
   44334             : {"mapscriptc::shapeObj_scratch_set", _wrap_shapeObj_scratch_set},
   44335             : {"mapscriptc::shapeObj_scratch_get", _wrap_shapeObj_scratch_get},
   44336             : {"mapscriptc::shapeObj_resultindex_set", _wrap_shapeObj_resultindex_set},
   44337             : {"mapscriptc::shapeObj_resultindex_get", _wrap_shapeObj_resultindex_get},
   44338             : {"mapscriptc::new_shapeObj", _wrap_new_shapeObj},
   44339             : {"mapscriptc::delete_shapeObj", _wrap_delete_shapeObj},
   44340             : {"mapscriptc::shapeObj_fromWKT", _wrap_shapeObj_fromWKT},
   44341             : {"mapscriptc::shapeObj_project", _wrap_shapeObj_project},
   44342             : {"mapscriptc::shapeObj_get", _wrap_shapeObj_get},
   44343             : {"mapscriptc::shapeObj_add", _wrap_shapeObj_add},
   44344             : {"mapscriptc::shapeObj_draw", _wrap_shapeObj_draw},
   44345             : {"mapscriptc::shapeObj_setBounds", _wrap_shapeObj_setBounds},
   44346             : {"mapscriptc::shapeObj_clone", _wrap_shapeObj_clone},
   44347             : {"mapscriptc::shapeObj_copy", _wrap_shapeObj_copy},
   44348             : {"mapscriptc::shapeObj_toWKT", _wrap_shapeObj_toWKT},
   44349             : {"mapscriptc::shapeObj_buffer", _wrap_shapeObj_buffer},
   44350             : {"mapscriptc::shapeObj_simplify", _wrap_shapeObj_simplify},
   44351             : {"mapscriptc::shapeObj_topologyPreservingSimplify", _wrap_shapeObj_topologyPreservingSimplify},
   44352             : {"mapscriptc::shapeObj_convexHull", _wrap_shapeObj_convexHull},
   44353             : {"mapscriptc::shapeObj_boundary", _wrap_shapeObj_boundary},
   44354             : {"mapscriptc::shapeObj_getCentroid", _wrap_shapeObj_getCentroid},
   44355             : {"mapscriptc::shapeObj_Union", _wrap_shapeObj_Union},
   44356             : {"mapscriptc::shapeObj_intersection", _wrap_shapeObj_intersection},
   44357             : {"mapscriptc::shapeObj_difference", _wrap_shapeObj_difference},
   44358             : {"mapscriptc::shapeObj_symDifference", _wrap_shapeObj_symDifference},
   44359             : {"mapscriptc::shapeObj_overlaps", _wrap_shapeObj_overlaps},
   44360             : {"mapscriptc::shapeObj_within", _wrap_shapeObj_within},
   44361             : {"mapscriptc::shapeObj_crosses", _wrap_shapeObj_crosses},
   44362             : {"mapscriptc::shapeObj_intersects", _wrap_shapeObj_intersects},
   44363             : {"mapscriptc::shapeObj_touches", _wrap_shapeObj_touches},
   44364             : {"mapscriptc::shapeObj_equals", _wrap_shapeObj_equals},
   44365             : {"mapscriptc::shapeObj_disjoint", _wrap_shapeObj_disjoint},
   44366             : {"mapscriptc::shapeObj_getArea", _wrap_shapeObj_getArea},
   44367             : {"mapscriptc::shapeObj_getLength", _wrap_shapeObj_getLength},
   44368             : {"mapscriptc::shapeObj_getValue", _wrap_shapeObj_getValue},
   44369             : {"mapscriptc::shapeObj_contains", _wrap_shapeObj_contains},
   44370             : {"mapscriptc::shapeObj_distanceToPoint", _wrap_shapeObj_distanceToPoint},
   44371             : {"mapscriptc::shapeObj_distanceToShape", _wrap_shapeObj_distanceToShape},
   44372             : {"mapscriptc::shapeObj_getLabelPoint", _wrap_shapeObj_getLabelPoint},
   44373             : {"mapscriptc::shapeObj_setValue", _wrap_shapeObj_setValue},
   44374             : {"mapscriptc::shapeObj_initValues", _wrap_shapeObj_initValues},
   44375             : {"mapscriptc::DBFInfo_fp_get", _wrap_DBFInfo_fp_get},
   44376             : {"mapscriptc::DBFInfo_nRecords_get", _wrap_DBFInfo_nRecords_get},
   44377             : {"mapscriptc::DBFInfo_nRecordLength_get", _wrap_DBFInfo_nRecordLength_get},
   44378             : {"mapscriptc::DBFInfo_nHeaderLength_get", _wrap_DBFInfo_nHeaderLength_get},
   44379             : {"mapscriptc::DBFInfo_nFields_get", _wrap_DBFInfo_nFields_get},
   44380             : {"mapscriptc::DBFInfo_panFieldOffset_get", _wrap_DBFInfo_panFieldOffset_get},
   44381             : {"mapscriptc::DBFInfo_panFieldSize_get", _wrap_DBFInfo_panFieldSize_get},
   44382             : {"mapscriptc::DBFInfo_panFieldDecimals_get", _wrap_DBFInfo_panFieldDecimals_get},
   44383             : {"mapscriptc::DBFInfo_pachFieldType_get", _wrap_DBFInfo_pachFieldType_get},
   44384             : {"mapscriptc::DBFInfo_pszHeader_get", _wrap_DBFInfo_pszHeader_get},
   44385             : {"mapscriptc::DBFInfo_nCurrentRecord_get", _wrap_DBFInfo_nCurrentRecord_get},
   44386             : {"mapscriptc::DBFInfo_bCurrentRecordModified_get", _wrap_DBFInfo_bCurrentRecordModified_get},
   44387             : {"mapscriptc::DBFInfo_pszCurrentRecord_get", _wrap_DBFInfo_pszCurrentRecord_get},
   44388             : {"mapscriptc::DBFInfo_bNoHeader_get", _wrap_DBFInfo_bNoHeader_get},
   44389             : {"mapscriptc::DBFInfo_bUpdated_get", _wrap_DBFInfo_bUpdated_get},
   44390             : {"mapscriptc::DBFInfo_pszStringField_get", _wrap_DBFInfo_pszStringField_get},
   44391             : {"mapscriptc::DBFInfo_nStringFieldLen_get", _wrap_DBFInfo_nStringFieldLen_get},
   44392             : {"mapscriptc::DBFInfo_getFieldName", _wrap_DBFInfo_getFieldName},
   44393             : {"mapscriptc::DBFInfo_getFieldWidth", _wrap_DBFInfo_getFieldWidth},
   44394             : {"mapscriptc::DBFInfo_getFieldDecimals", _wrap_DBFInfo_getFieldDecimals},
   44395             : {"mapscriptc::DBFInfo_getFieldType", _wrap_DBFInfo_getFieldType},
   44396             : {"mapscriptc::new_DBFInfo", _wrap_new_DBFInfo},
   44397             : {"mapscriptc::delete_DBFInfo", _wrap_delete_DBFInfo},
   44398             : {"mapscriptc::shapefileObj_source_get", _wrap_shapefileObj_source_get},
   44399             : {"mapscriptc::shapefileObj_type_get", _wrap_shapefileObj_type_get},
   44400             : {"mapscriptc::shapefileObj_numshapes_get", _wrap_shapefileObj_numshapes_get},
   44401             : {"mapscriptc::shapefileObj_bounds_get", _wrap_shapefileObj_bounds_get},
   44402             : {"mapscriptc::shapefileObj_lastshape_get", _wrap_shapefileObj_lastshape_get},
   44403             : {"mapscriptc::shapefileObj_status_get", _wrap_shapefileObj_status_get},
   44404             : {"mapscriptc::shapefileObj_isopen_get", _wrap_shapefileObj_isopen_get},
   44405             : {"mapscriptc::new_shapefileObj", _wrap_new_shapefileObj},
   44406             : {"mapscriptc::delete_shapefileObj", _wrap_delete_shapefileObj},
   44407             : {"mapscriptc::shapefileObj_get", _wrap_shapefileObj_get},
   44408             : {"mapscriptc::shapefileObj_getShape", _wrap_shapefileObj_getShape},
   44409             : {"mapscriptc::shapefileObj_getPoint", _wrap_shapefileObj_getPoint},
   44410             : {"mapscriptc::shapefileObj_getTransformed", _wrap_shapefileObj_getTransformed},
   44411             : {"mapscriptc::shapefileObj_getExtent", _wrap_shapefileObj_getExtent},
   44412             : {"mapscriptc::shapefileObj_add", _wrap_shapefileObj_add},
   44413             : {"mapscriptc::shapefileObj_addPoint", _wrap_shapefileObj_addPoint},
   44414             : {"mapscriptc::shapefileObj_getDBF", _wrap_shapefileObj_getDBF},
   44415             : {"mapscriptc::projectionObj_numargs_get", _wrap_projectionObj_numargs_get},
   44416             : {"mapscriptc::projectionObj_automatic_get", _wrap_projectionObj_automatic_get},
   44417             : {"mapscriptc::projectionObj_wellknownprojection_set", _wrap_projectionObj_wellknownprojection_set},
   44418             : {"mapscriptc::projectionObj_wellknownprojection_get", _wrap_projectionObj_wellknownprojection_get},
   44419             : {"mapscriptc::new_projectionObj", _wrap_new_projectionObj},
   44420             : {"mapscriptc::delete_projectionObj", _wrap_delete_projectionObj},
   44421             : {"mapscriptc::projectionObj_setWKTProjection", _wrap_projectionObj_setWKTProjection},
   44422             : {"mapscriptc::projectionObj_getUnits", _wrap_projectionObj_getUnits},
   44423             : {"mapscriptc::colorObj_red_set", _wrap_colorObj_red_set},
   44424             : {"mapscriptc::colorObj_red_get", _wrap_colorObj_red_get},
   44425             : {"mapscriptc::colorObj_green_set", _wrap_colorObj_green_set},
   44426             : {"mapscriptc::colorObj_green_get", _wrap_colorObj_green_get},
   44427             : {"mapscriptc::colorObj_blue_set", _wrap_colorObj_blue_set},
   44428             : {"mapscriptc::colorObj_blue_get", _wrap_colorObj_blue_get},
   44429             : {"mapscriptc::colorObj_alpha_set", _wrap_colorObj_alpha_set},
   44430             : {"mapscriptc::colorObj_alpha_get", _wrap_colorObj_alpha_get},
   44431             : {"mapscriptc::new_colorObj", _wrap_new_colorObj},
   44432             : {"mapscriptc::delete_colorObj", _wrap_delete_colorObj},
   44433             : {"mapscriptc::colorObj_setRGB", _wrap_colorObj_setRGB},
   44434             : {"mapscriptc::colorObj_setHex", _wrap_colorObj_setHex},
   44435             : {"mapscriptc::colorObj_toHex", _wrap_colorObj_toHex},
   44436             : {"mapscriptc::symbolObj_name_set", _wrap_symbolObj_name_set},
   44437             : {"mapscriptc::symbolObj_name_get", _wrap_symbolObj_name_get},
   44438             : {"mapscriptc::symbolObj_type_set", _wrap_symbolObj_type_set},
   44439             : {"mapscriptc::symbolObj_type_get", _wrap_symbolObj_type_get},
   44440             : {"mapscriptc::symbolObj_inmapfile_set", _wrap_symbolObj_inmapfile_set},
   44441             : {"mapscriptc::symbolObj_inmapfile_get", _wrap_symbolObj_inmapfile_get},
   44442             : {"mapscriptc::symbolObj_sizex_set", _wrap_symbolObj_sizex_set},
   44443             : {"mapscriptc::symbolObj_sizex_get", _wrap_symbolObj_sizex_get},
   44444             : {"mapscriptc::symbolObj_sizey_set", _wrap_symbolObj_sizey_set},
   44445             : {"mapscriptc::symbolObj_sizey_get", _wrap_symbolObj_sizey_get},
   44446             : {"mapscriptc::symbolObj_minx_set", _wrap_symbolObj_minx_set},
   44447             : {"mapscriptc::symbolObj_minx_get", _wrap_symbolObj_minx_get},
   44448             : {"mapscriptc::symbolObj_miny_set", _wrap_symbolObj_miny_set},
   44449             : {"mapscriptc::symbolObj_miny_get", _wrap_symbolObj_miny_get},
   44450             : {"mapscriptc::symbolObj_maxx_set", _wrap_symbolObj_maxx_set},
   44451             : {"mapscriptc::symbolObj_maxx_get", _wrap_symbolObj_maxx_get},
   44452             : {"mapscriptc::symbolObj_maxy_set", _wrap_symbolObj_maxy_set},
   44453             : {"mapscriptc::symbolObj_maxy_get", _wrap_symbolObj_maxy_get},
   44454             : {"mapscriptc::symbolObj_refcount_get", _wrap_symbolObj_refcount_get},
   44455             : {"mapscriptc::symbolObj_numpoints_get", _wrap_symbolObj_numpoints_get},
   44456             : {"mapscriptc::symbolObj_filled_set", _wrap_symbolObj_filled_set},
   44457             : {"mapscriptc::symbolObj_filled_get", _wrap_symbolObj_filled_get},
   44458             : {"mapscriptc::symbolObj_anchorpoint_x_set", _wrap_symbolObj_anchorpoint_x_set},
   44459             : {"mapscriptc::symbolObj_anchorpoint_x_get", _wrap_symbolObj_anchorpoint_x_get},
   44460             : {"mapscriptc::symbolObj_anchorpoint_y_set", _wrap_symbolObj_anchorpoint_y_set},
   44461             : {"mapscriptc::symbolObj_anchorpoint_y_get", _wrap_symbolObj_anchorpoint_y_get},
   44462             : {"mapscriptc::symbolObj_imagepath_get", _wrap_symbolObj_imagepath_get},
   44463             : {"mapscriptc::symbolObj_transparent_set", _wrap_symbolObj_transparent_set},
   44464             : {"mapscriptc::symbolObj_transparent_get", _wrap_symbolObj_transparent_get},
   44465             : {"mapscriptc::symbolObj_transparentcolor_set", _wrap_symbolObj_transparentcolor_set},
   44466             : {"mapscriptc::symbolObj_transparentcolor_get", _wrap_symbolObj_transparentcolor_get},
   44467             : {"mapscriptc::symbolObj_character_set", _wrap_symbolObj_character_set},
   44468             : {"mapscriptc::symbolObj_character_get", _wrap_symbolObj_character_get},
   44469             : {"mapscriptc::symbolObj_font_set", _wrap_symbolObj_font_set},
   44470             : {"mapscriptc::symbolObj_font_get", _wrap_symbolObj_font_get},
   44471             : {"mapscriptc::new_symbolObj", _wrap_new_symbolObj},
   44472             : {"mapscriptc::delete_symbolObj", _wrap_delete_symbolObj},
   44473             : {"mapscriptc::symbolObj_setImagepath", _wrap_symbolObj_setImagepath},
   44474             : {"mapscriptc::symbolObj_setPoints", _wrap_symbolObj_setPoints},
   44475             : {"mapscriptc::symbolObj_getPoints", _wrap_symbolObj_getPoints},
   44476             : {"mapscriptc::symbolObj_getImage", _wrap_symbolObj_getImage},
   44477             : {"mapscriptc::symbolObj_setImage", _wrap_symbolObj_setImage},
   44478             : {"mapscriptc::hashTableObj_numitems_get", _wrap_hashTableObj_numitems_get},
   44479             : {"mapscriptc::new_hashTableObj", _wrap_new_hashTableObj},
   44480             : {"mapscriptc::delete_hashTableObj", _wrap_delete_hashTableObj},
   44481             : {"mapscriptc::hashTableObj_set", _wrap_hashTableObj_set},
   44482             : {"mapscriptc::hashTableObj_get", _wrap_hashTableObj_get},
   44483             : {"mapscriptc::hashTableObj_remove", _wrap_hashTableObj_remove},
   44484             : {"mapscriptc::hashTableObj_clear", _wrap_hashTableObj_clear},
   44485             : {"mapscriptc::hashTableObj_nextKey", _wrap_hashTableObj_nextKey},
   44486             : {"mapscriptc::errorObj_code_set", _wrap_errorObj_code_set},
   44487             : {"mapscriptc::errorObj_code_get", _wrap_errorObj_code_get},
   44488             : {"mapscriptc::errorObj_routine_set", _wrap_errorObj_routine_set},
   44489             : {"mapscriptc::errorObj_routine_get", _wrap_errorObj_routine_get},
   44490             : {"mapscriptc::errorObj_message_set", _wrap_errorObj_message_set},
   44491             : {"mapscriptc::errorObj_message_get", _wrap_errorObj_message_get},
   44492             : {"mapscriptc::errorObj_isreported_set", _wrap_errorObj_isreported_set},
   44493             : {"mapscriptc::errorObj_isreported_get", _wrap_errorObj_isreported_get},
   44494             : {"mapscriptc::errorObj_errorcount_set", _wrap_errorObj_errorcount_set},
   44495             : {"mapscriptc::errorObj_errorcount_get", _wrap_errorObj_errorcount_get},
   44496             : {"mapscriptc::new_errorObj", _wrap_new_errorObj},
   44497             : {"mapscriptc::delete_errorObj", _wrap_delete_errorObj},
   44498             : {"mapscriptc::errorObj_next", _wrap_errorObj_next},
   44499             : {"mapscriptc::msGetErrorObj", _wrap_msGetErrorObj},
   44500             : {"mapscriptc::msResetErrorList", _wrap_msResetErrorList},
   44501             : {"mapscriptc::msGetVersion", _wrap_msGetVersion},
   44502             : {"mapscriptc::msGetVersionInt", _wrap_msGetVersionInt},
   44503             : {"mapscriptc::msGetErrorString", _wrap_msGetErrorString},
   44504             : {"mapscriptc::OWSRequest_NumParams_get", _wrap_OWSRequest_NumParams_get},
   44505             : {"mapscriptc::OWSRequest_type_set", _wrap_OWSRequest_type_set},
   44506             : {"mapscriptc::OWSRequest_type_get", _wrap_OWSRequest_type_get},
   44507             : {"mapscriptc::OWSRequest_contenttype_set", _wrap_OWSRequest_contenttype_set},
   44508             : {"mapscriptc::OWSRequest_contenttype_get", _wrap_OWSRequest_contenttype_get},
   44509             : {"mapscriptc::OWSRequest_postrequest_set", _wrap_OWSRequest_postrequest_set},
   44510             : {"mapscriptc::OWSRequest_postrequest_get", _wrap_OWSRequest_postrequest_get},
   44511             : {"mapscriptc::OWSRequest_httpcookiedata_set", _wrap_OWSRequest_httpcookiedata_set},
   44512             : {"mapscriptc::OWSRequest_httpcookiedata_get", _wrap_OWSRequest_httpcookiedata_get},
   44513             : {"mapscriptc::new_OWSRequest", _wrap_new_OWSRequest},
   44514             : {"mapscriptc::delete_OWSRequest", _wrap_delete_OWSRequest},
   44515             : {"mapscriptc::OWSRequest_loadParams", _wrap_OWSRequest_loadParams},
   44516             : {"mapscriptc::OWSRequest_loadParamsFromURL", _wrap_OWSRequest_loadParamsFromURL},
   44517             : {"mapscriptc::OWSRequest_setParameter", _wrap_OWSRequest_setParameter},
   44518             : {"mapscriptc::OWSRequest_addParameter", _wrap_OWSRequest_addParameter},
   44519             : {"mapscriptc::OWSRequest_getName", _wrap_OWSRequest_getName},
   44520             : {"mapscriptc::OWSRequest_getValue", _wrap_OWSRequest_getValue},
   44521             : {"mapscriptc::OWSRequest_getValueByName", _wrap_OWSRequest_getValueByName},
   44522             : {"mapscriptc::msConnPoolCloseUnreferenced", _wrap_msConnPoolCloseUnreferenced},
   44523             : {"mapscriptc::msIO_resetHandlers", _wrap_msIO_resetHandlers},
   44524             : {"mapscriptc::msIO_installStdoutToBuffer", _wrap_msIO_installStdoutToBuffer},
   44525             : {"mapscriptc::msIO_installStdinFromBuffer", _wrap_msIO_installStdinFromBuffer},
   44526             : {"mapscriptc::msIO_stripStdoutBufferContentType", _wrap_msIO_stripStdoutBufferContentType},
   44527             : {"mapscriptc::msIO_stripStdoutBufferContentHeaders", _wrap_msIO_stripStdoutBufferContentHeaders},
   44528             : {"mapscriptc::msIO_getStdoutBufferString", _wrap_msIO_getStdoutBufferString},
   44529             : {"mapscriptc::msIO_getStdoutBufferBytes", _wrap_msIO_getStdoutBufferBytes},
   44530             : {"mapscriptc::msIO_getAndStripStdoutBufferMimeHeaders", _wrap_msIO_getAndStripStdoutBufferMimeHeaders},
   44531             : {0,0}
   44532             : };
   44533             : /* -----------------------------------------------------------------------------
   44534             :  * Type initialization:
   44535             :  * This problem is tough by the requirement that no dynamic
   44536             :  * memory is used. Also, since swig_type_info structures store pointers to
   44537             :  * swig_cast_info structures and swig_cast_info structures store pointers back
   44538             :  * to swig_type_info structures, we need some lookup code at initialization.
   44539             :  * The idea is that swig generates all the structures that are needed.
   44540             :  * The runtime then collects these partially filled structures.
   44541             :  * The SWIG_InitializeModule function takes these initial arrays out of
   44542             :  * swig_module, and does all the lookup, filling in the swig_module.types
   44543             :  * array with the correct data and linking the correct swig_cast_info
   44544             :  * structures together.
   44545             :  *
   44546             :  * The generated swig_type_info structures are assigned statically to an initial
   44547             :  * array. We just loop through that array, and handle each type individually.
   44548             :  * First we lookup if this type has been already loaded, and if so, use the
   44549             :  * loaded structure instead of the generated one. Then we have to fill in the
   44550             :  * cast linked list. The cast data is initially stored in something like a
   44551             :  * two-dimensional array. Each row corresponds to a type (there are the same
   44552             :  * number of rows as there are in the swig_type_initial array). Each entry in
   44553             :  * a column is one of the swig_cast_info structures for that type.
   44554             :  * The cast_initial array is actually an array of arrays, because each row has
   44555             :  * a variable number of columns. So to actually build the cast linked list,
   44556             :  * we find the array of casts associated with the type, and loop through it
   44557             :  * adding the casts to the list. The one last trick we need to do is making
   44558             :  * sure the type pointer in the swig_cast_info struct is correct.
   44559             :  *
   44560             :  * First off, we lookup the cast->type name to see if it is already loaded.
   44561             :  * There are three cases to handle:
   44562             :  *  1) If the cast->type has already been loaded AND the type we are adding
   44563             :  *     casting info to has not been loaded (it is in this module), THEN we
   44564             :  *     replace the cast->type pointer with the type pointer that has already
   44565             :  *     been loaded.
   44566             :  *  2) If BOTH types (the one we are adding casting info to, and the
   44567             :  *     cast->type) are loaded, THEN the cast info has already been loaded by
   44568             :  *     the previous module so we just ignore it.
   44569             :  *  3) Finally, if cast->type has not already been loaded, then we add that
   44570             :  *     swig_cast_info to the linked list (because the cast->type) pointer will
   44571             :  *     be correct.
   44572             :  * ----------------------------------------------------------------------------- */
   44573             : 
   44574             : #ifdef __cplusplus
   44575             : extern "C" {
   44576             : #if 0
   44577             : } /* c-mode */
   44578             : #endif
   44579             : #endif
   44580             : 
   44581             : #if 0
   44582             : #define SWIGRUNTIME_DEBUG
   44583             : #endif
   44584             : 
   44585             : 
   44586             : SWIGRUNTIME void
   44587           1 : SWIG_InitializeModule(void *clientdata) {
   44588             :   size_t i;
   44589             :   swig_module_info *module_head, *iter;
   44590             :   int init;
   44591             :   
   44592             :   /* check to see if the circular list has been setup, if not, set it up */
   44593           1 :   if (swig_module.next==0) {
   44594             :     /* Initialize the swig_module */
   44595           1 :     swig_module.type_initial = swig_type_initial;
   44596           1 :     swig_module.cast_initial = swig_cast_initial;
   44597           1 :     swig_module.next = &swig_module;
   44598             :     init = 1;
   44599             :   } else {
   44600             :     init = 0;
   44601             :   }
   44602             :   
   44603             :   /* Try and load any already created modules */
   44604           1 :   module_head = SWIG_GetModule(clientdata);
   44605           1 :   if (!module_head) {
   44606             :     /* This is the first module loaded for this interpreter */
   44607             :     /* so set the swig module into the interpreter */
   44608           1 :     SWIG_SetModule(clientdata, &swig_module);
   44609             :   } else {
   44610             :     /* the interpreter has loaded a SWIG module, but has it loaded this one? */
   44611             :     iter=module_head;
   44612             :     do {
   44613           0 :       if (iter==&swig_module) {
   44614             :         /* Our module is already in the list, so there's nothing more to do. */
   44615             :         return;
   44616             :       }
   44617           0 :       iter=iter->next;
   44618           0 :     } while (iter!= module_head);
   44619             :     
   44620             :     /* otherwise we must add our module into the list */
   44621           0 :     swig_module.next = module_head->next;
   44622           0 :     module_head->next = &swig_module;
   44623             :   }
   44624             :   
   44625             :   /* When multiple interpreters are used, a module could have already been initialized in
   44626             :        a different interpreter, but not yet have a pointer in this interpreter.
   44627             :        In this case, we do not want to continue adding types... everything should be
   44628             :        set up already */
   44629           1 :   if (init == 0) return;
   44630             :   
   44631             :   /* Now work on filling in swig_module.types */
   44632             : #ifdef SWIGRUNTIME_DEBUG
   44633             :   printf("SWIG_InitializeModule: size %d\n", swig_module.size);
   44634             : #endif
   44635           1 :   for (i = 0; i < swig_module.size; ++i) {
   44636             :     swig_type_info *type = 0;
   44637             :     swig_type_info *ret;
   44638             :     swig_cast_info *cast;
   44639             :     
   44640             : #ifdef SWIGRUNTIME_DEBUG
   44641             :     printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
   44642             : #endif
   44643             :     
   44644             :     /* if there is another module already loaded */
   44645           1 :     if (swig_module.next != &swig_module) {
   44646           0 :       type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
   44647             :     }
   44648           0 :     if (type) {
   44649             :       /* Overwrite clientdata field */
   44650             : #ifdef SWIGRUNTIME_DEBUG
   44651             :       printf("SWIG_InitializeModule: found type %s\n", type->name);
   44652             : #endif
   44653           0 :       if (swig_module.type_initial[i]->clientdata) {
   44654           0 :         type->clientdata = swig_module.type_initial[i]->clientdata;
   44655             : #ifdef SWIGRUNTIME_DEBUG
   44656             :         printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
   44657             : #endif
   44658             :       }
   44659             :     } else {
   44660           1 :       type = swig_module.type_initial[i];
   44661             :     }
   44662             :     
   44663             :     /* Insert casting types */
   44664           1 :     cast = swig_module.cast_initial[i];
   44665           1 :     while (cast->type) {
   44666             :       /* Don't need to add information already in the list */
   44667             :       ret = 0;
   44668             : #ifdef SWIGRUNTIME_DEBUG
   44669             :       printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
   44670             : #endif
   44671           1 :       if (swig_module.next != &swig_module) {
   44672           0 :         ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
   44673             : #ifdef SWIGRUNTIME_DEBUG
   44674             :         if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
   44675             : #endif
   44676             :       }
   44677           0 :       if (ret) {
   44678           0 :         if (type == swig_module.type_initial[i]) {
   44679             : #ifdef SWIGRUNTIME_DEBUG
   44680             :           printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
   44681             : #endif
   44682           0 :           cast->type = ret;
   44683             :           ret = 0;
   44684             :         } else {
   44685             :           /* Check for casting already in the list */
   44686           0 :           swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
   44687             : #ifdef SWIGRUNTIME_DEBUG
   44688             :           if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
   44689             : #endif
   44690           0 :           if (!ocast) ret = 0;
   44691             :         }
   44692             :       }
   44693             :       
   44694           1 :       if (!ret) {
   44695             : #ifdef SWIGRUNTIME_DEBUG
   44696             :         printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
   44697             : #endif
   44698           1 :         if (type->cast) {
   44699           1 :           type->cast->prev = cast;
   44700           1 :           cast->next = type->cast;
   44701             :         }
   44702           1 :         type->cast = cast;
   44703             :       }
   44704           1 :       cast++;
   44705             :     }
   44706             :     /* Set entry in modules->types array equal to the type */
   44707           1 :     swig_module.types[i] = type;
   44708             :   }
   44709           1 :   swig_module.types[i] = 0;
   44710             :   
   44711             : #ifdef SWIGRUNTIME_DEBUG
   44712             :   printf("**** SWIG_InitializeModule: Cast List ******\n");
   44713             :   for (i = 0; i < swig_module.size; ++i) {
   44714             :     int j = 0;
   44715             :     swig_cast_info *cast = swig_module.cast_initial[i];
   44716             :     printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
   44717             :     while (cast->type) {
   44718             :       printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
   44719             :       cast++;
   44720             :       ++j;
   44721             :     }
   44722             :     printf("---- Total casts: %d\n",j);
   44723             :   }
   44724             :   printf("**** SWIG_InitializeModule: Cast List ******\n");
   44725             : #endif
   44726             : }
   44727             : 
   44728             : /* This function will propagate the clientdata field of type to
   44729             : * any new swig_type_info structures that have been added into the list
   44730             : * of equivalent types.  It is like calling
   44731             : * SWIG_TypeClientData(type, clientdata) a second time.
   44732             : */
   44733             : SWIGRUNTIME void
   44734             : SWIG_PropagateClientData(void) {
   44735             :   size_t i;
   44736             :   swig_cast_info *equiv;
   44737             :   static int init_run = 0;
   44738             :   
   44739             :   if (init_run) return;
   44740             :   init_run = 1;
   44741             :   
   44742             :   for (i = 0; i < swig_module.size; i++) {
   44743             :     if (swig_module.types[i]->clientdata) {
   44744             :       equiv = swig_module.types[i]->cast;
   44745             :       while (equiv) {
   44746             :         if (!equiv->converter) {
   44747             :           if (equiv->type && !equiv->type->clientdata)
   44748             :           SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
   44749             :         }
   44750             :         equiv = equiv->next;
   44751             :       }
   44752             :     }
   44753             :   }
   44754             : }
   44755             : 
   44756             : #ifdef __cplusplus
   44757             : #if 0
   44758             : {
   44759             :   /* c-mode */
   44760             : #endif
   44761             : }
   44762             : #endif
   44763             : 
   44764             : 
   44765             : 
   44766             : #if defined(__cplusplus) && ! defined(XSPROTO)
   44767             : extern "C"
   44768             : #endif
   44769             : 
   44770           1 : XS(SWIG_init) {
   44771           1 :   dXSARGS;
   44772             :   int i;
   44773             :   (void)items;
   44774             :   
   44775           1 :   SWIG_InitializeModule(0);
   44776             :   
   44777             :   /* Install commands */
   44778           1 :   for (i = 0; swig_commands[i].name; i++) {
   44779             :     /* Casts only needed for Perl < 5.10. */
   44780             : #ifdef __cplusplus
   44781             :     newXS(const_cast<char*>(swig_commands[i].name), swig_commands[i].wrapper, const_cast<char*>(__FILE__));
   44782             : #else
   44783           1 :     newXS((char*)swig_commands[i].name, swig_commands[i].wrapper, (char*)__FILE__);
   44784             : #endif
   44785             :   }
   44786             :   
   44787             :   /* Install variables */
   44788           0 :   for (i = 0; swig_variables[i].name; i++) {
   44789             :     SV *sv;
   44790           0 :     sv = get_sv(swig_variables[i].name, TRUE | 0x2 | GV_ADDMULTI);
   44791           0 :     if (swig_variables[i].type) {
   44792           0 :       SWIG_MakePtr(sv,(void *)1, *swig_variables[i].type,0);
   44793             :     } else {
   44794           0 :       sv_setiv(sv,(IV) 0);
   44795             :     }
   44796           0 :     swig_create_magic(sv, swig_variables[i].name, swig_variables[i].set, swig_variables[i].get); 
   44797             :   }
   44798             :   
   44799             :   /* Install constant */
   44800           0 :   for (i = 0; swig_constants[i].type; i++) {
   44801             :     SV *sv;
   44802           0 :     sv = get_sv(swig_constants[i].name, TRUE | 0x2 | GV_ADDMULTI);
   44803           0 :     switch(swig_constants[i].type) {
   44804           0 :     case SWIG_INT:
   44805           0 :       sv_setiv(sv, (IV) swig_constants[i].lvalue);
   44806           0 :       break;
   44807           0 :     case SWIG_FLOAT:
   44808           0 :       sv_setnv(sv, (double) swig_constants[i].dvalue);
   44809           0 :       break;
   44810           0 :     case SWIG_STRING:
   44811           0 :       sv_setpv(sv, (const char *) swig_constants[i].pvalue);
   44812           0 :       break;
   44813           0 :     case SWIG_POINTER:
   44814           0 :       SWIG_MakePtr(sv, swig_constants[i].pvalue, *(swig_constants[i].ptype),0);
   44815           0 :       break;
   44816           0 :     case SWIG_BINARY:
   44817           0 :       SWIG_MakePackedObj(sv, swig_constants[i].pvalue, swig_constants[i].lvalue, *(swig_constants[i].ptype));
   44818           0 :       break;
   44819             :     default:
   44820             :       break;
   44821             :     }
   44822           0 :     SvREADONLY_on(sv);
   44823             :   }
   44824             :   
   44825           1 :   SWIG_TypeClientData(SWIGTYPE_p_intarray, (void*) "mapscript::intarray");
   44826             :   
   44827           1 :   if(msSetup() != MS_SUCCESS) {
   44828           0 :     msSetError(MS_MISCERR, "Error initializing MapServer/Mapscript.", "msSetup()");
   44829             :   }
   44830             :   
   44831             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44832           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TRUE", TRUE | 0x2 | GV_ADDMULTI);
   44833           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(1)));
   44834           1 :     SvREADONLY_on(sv);
   44835             :   } while(0) /*@SWIG@*/;
   44836             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44837           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_FALSE", TRUE | 0x2 | GV_ADDMULTI);
   44838           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(0)));
   44839           1 :     SvREADONLY_on(sv);
   44840             :   } while(0) /*@SWIG@*/;
   44841             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44842           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_UNKNOWN", TRUE | 0x2 | GV_ADDMULTI);
   44843           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(-1)));
   44844           1 :     SvREADONLY_on(sv);
   44845             :   } while(0) /*@SWIG@*/;
   44846             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44847           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_ON", TRUE | 0x2 | GV_ADDMULTI);
   44848           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(1)));
   44849           1 :     SvREADONLY_on(sv);
   44850             :   } while(0) /*@SWIG@*/;
   44851             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44852           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_OFF", TRUE | 0x2 | GV_ADDMULTI);
   44853           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(0)));
   44854           1 :     SvREADONLY_on(sv);
   44855             :   } while(0) /*@SWIG@*/;
   44856             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44857           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_DEFAULT", TRUE | 0x2 | GV_ADDMULTI);
   44858           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(2)));
   44859           1 :     SvREADONLY_on(sv);
   44860             :   } while(0) /*@SWIG@*/;
   44861             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44862           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_EMBED", TRUE | 0x2 | GV_ADDMULTI);
   44863           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(3)));
   44864           1 :     SvREADONLY_on(sv);
   44865             :   } while(0) /*@SWIG@*/;
   44866             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44867           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_DELETE", TRUE | 0x2 | GV_ADDMULTI);
   44868           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(4)));
   44869           1 :     SvREADONLY_on(sv);
   44870             :   } while(0) /*@SWIG@*/;
   44871             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44872           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_YES", TRUE | 0x2 | GV_ADDMULTI);
   44873           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(1)));
   44874           1 :     SvREADONLY_on(sv);
   44875             :   } while(0) /*@SWIG@*/;
   44876             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44877           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_NO", TRUE | 0x2 | GV_ADDMULTI);
   44878           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(0)));
   44879           1 :     SvREADONLY_on(sv);
   44880             :   } while(0) /*@SWIG@*/;
   44881             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44882           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_LAYER_ALLOCSIZE", TRUE | 0x2 | GV_ADDMULTI);
   44883           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(64)));
   44884           1 :     SvREADONLY_on(sv);
   44885             :   } while(0) /*@SWIG@*/;
   44886             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44887           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_CLASS_ALLOCSIZE", TRUE | 0x2 | GV_ADDMULTI);
   44888           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(8)));
   44889           1 :     SvREADONLY_on(sv);
   44890             :   } while(0) /*@SWIG@*/;
   44891             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44892           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_STYLE_ALLOCSIZE", TRUE | 0x2 | GV_ADDMULTI);
   44893           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(4)));
   44894           1 :     SvREADONLY_on(sv);
   44895             :   } while(0) /*@SWIG@*/;
   44896             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44897           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_LABEL_ALLOCSIZE", TRUE | 0x2 | GV_ADDMULTI);
   44898           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(2)));
   44899           1 :     SvREADONLY_on(sv);
   44900             :   } while(0) /*@SWIG@*/;
   44901             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44902           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_MAX_LABEL_PRIORITY", TRUE | 0x2 | GV_ADDMULTI);
   44903           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(10)));
   44904           1 :     SvREADONLY_on(sv);
   44905             :   } while(0) /*@SWIG@*/;
   44906             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44907           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_MAX_LABEL_FONTS", TRUE | 0x2 | GV_ADDMULTI);
   44908           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(5)));
   44909           1 :     SvREADONLY_on(sv);
   44910             :   } while(0) /*@SWIG@*/;
   44911             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44912           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_DEFAULT_LABEL_PRIORITY", TRUE | 0x2 | GV_ADDMULTI);
   44913           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(1)));
   44914           1 :     SvREADONLY_on(sv);
   44915             :   } while(0) /*@SWIG@*/;
   44916             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44917           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_LABEL_FORCE_GROUP", TRUE | 0x2 | GV_ADDMULTI);
   44918           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(2)));
   44919           1 :     SvREADONLY_on(sv);
   44920             :   } while(0) /*@SWIG@*/;
   44921             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44922           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_RENDER_WITH_SWF", TRUE | 0x2 | GV_ADDMULTI);
   44923           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(2)));
   44924           1 :     SvREADONLY_on(sv);
   44925             :   } while(0) /*@SWIG@*/;
   44926             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44927           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_RENDER_WITH_RAWDATA", TRUE | 0x2 | GV_ADDMULTI);
   44928           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(3)));
   44929           1 :     SvREADONLY_on(sv);
   44930             :   } while(0) /*@SWIG@*/;
   44931             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44932           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_RENDER_WITH_IMAGEMAP", TRUE | 0x2 | GV_ADDMULTI);
   44933           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(5)));
   44934           1 :     SvREADONLY_on(sv);
   44935             :   } while(0) /*@SWIG@*/;
   44936             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44937           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_RENDER_WITH_TEMPLATE", TRUE | 0x2 | GV_ADDMULTI);
   44938           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(8)));
   44939           1 :     SvREADONLY_on(sv);
   44940             :   } while(0) /*@SWIG@*/;
   44941             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44942           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_RENDER_WITH_OGR", TRUE | 0x2 | GV_ADDMULTI);
   44943           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(16)));
   44944           1 :     SvREADONLY_on(sv);
   44945             :   } while(0) /*@SWIG@*/;
   44946             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44947           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_RENDER_WITH_PLUGIN", TRUE | 0x2 | GV_ADDMULTI);
   44948           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(100)));
   44949           1 :     SvREADONLY_on(sv);
   44950             :   } while(0) /*@SWIG@*/;
   44951             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44952           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_RENDER_WITH_CAIRO_RASTER", TRUE | 0x2 | GV_ADDMULTI);
   44953           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(101)));
   44954           1 :     SvREADONLY_on(sv);
   44955             :   } while(0) /*@SWIG@*/;
   44956             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44957           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_RENDER_WITH_CAIRO_PDF", TRUE | 0x2 | GV_ADDMULTI);
   44958           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(102)));
   44959           1 :     SvREADONLY_on(sv);
   44960             :   } while(0) /*@SWIG@*/;
   44961             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44962           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_RENDER_WITH_CAIRO_SVG", TRUE | 0x2 | GV_ADDMULTI);
   44963           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(103)));
   44964           1 :     SvREADONLY_on(sv);
   44965             :   } while(0) /*@SWIG@*/;
   44966             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44967           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_RENDER_WITH_OGL", TRUE | 0x2 | GV_ADDMULTI);
   44968           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(104)));
   44969           1 :     SvREADONLY_on(sv);
   44970             :   } while(0) /*@SWIG@*/;
   44971             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44972           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_RENDER_WITH_AGG", TRUE | 0x2 | GV_ADDMULTI);
   44973           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(105)));
   44974           1 :     SvREADONLY_on(sv);
   44975             :   } while(0) /*@SWIG@*/;
   44976             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44977           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_RENDER_WITH_KML", TRUE | 0x2 | GV_ADDMULTI);
   44978           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(106)));
   44979           1 :     SvREADONLY_on(sv);
   44980             :   } while(0) /*@SWIG@*/;
   44981             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44982           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_RENDER_WITH_UTFGRID", TRUE | 0x2 | GV_ADDMULTI);
   44983           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(107)));
   44984           1 :     SvREADONLY_on(sv);
   44985             :   } while(0) /*@SWIG@*/;
   44986             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44987           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_RENDER_WITH_MVT", TRUE | 0x2 | GV_ADDMULTI);
   44988           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(108)));
   44989           1 :     SvREADONLY_on(sv);
   44990             :   } while(0) /*@SWIG@*/;
   44991             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44992           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_FILE_MAP", TRUE | 0x2 | GV_ADDMULTI);
   44993           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_FILE_MAP)));
   44994           1 :     SvREADONLY_on(sv);
   44995             :   } while(0) /*@SWIG@*/;
   44996             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   44997           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_FILE_SYMBOL", TRUE | 0x2 | GV_ADDMULTI);
   44998           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_FILE_SYMBOL)));
   44999           1 :     SvREADONLY_on(sv);
   45000             :   } while(0) /*@SWIG@*/;
   45001             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45002           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_INCHES", TRUE | 0x2 | GV_ADDMULTI);
   45003           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_INCHES)));
   45004           1 :     SvREADONLY_on(sv);
   45005             :   } while(0) /*@SWIG@*/;
   45006             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45007           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_FEET", TRUE | 0x2 | GV_ADDMULTI);
   45008           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_FEET)));
   45009           1 :     SvREADONLY_on(sv);
   45010             :   } while(0) /*@SWIG@*/;
   45011             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45012           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_MILES", TRUE | 0x2 | GV_ADDMULTI);
   45013           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_MILES)));
   45014           1 :     SvREADONLY_on(sv);
   45015             :   } while(0) /*@SWIG@*/;
   45016             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45017           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_METERS", TRUE | 0x2 | GV_ADDMULTI);
   45018           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_METERS)));
   45019           1 :     SvREADONLY_on(sv);
   45020             :   } while(0) /*@SWIG@*/;
   45021             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45022           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_KILOMETERS", TRUE | 0x2 | GV_ADDMULTI);
   45023           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_KILOMETERS)));
   45024           1 :     SvREADONLY_on(sv);
   45025             :   } while(0) /*@SWIG@*/;
   45026             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45027           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_DD", TRUE | 0x2 | GV_ADDMULTI);
   45028           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_DD)));
   45029           1 :     SvREADONLY_on(sv);
   45030             :   } while(0) /*@SWIG@*/;
   45031             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45032           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_PIXELS", TRUE | 0x2 | GV_ADDMULTI);
   45033           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_PIXELS)));
   45034           1 :     SvREADONLY_on(sv);
   45035             :   } while(0) /*@SWIG@*/;
   45036             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45037           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_PERCENTAGES", TRUE | 0x2 | GV_ADDMULTI);
   45038           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_PERCENTAGES)));
   45039           1 :     SvREADONLY_on(sv);
   45040             :   } while(0) /*@SWIG@*/;
   45041             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45042           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_NAUTICALMILES", TRUE | 0x2 | GV_ADDMULTI);
   45043           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_NAUTICALMILES)));
   45044           1 :     SvREADONLY_on(sv);
   45045             :   } while(0) /*@SWIG@*/;
   45046             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45047           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_INHERIT", TRUE | 0x2 | GV_ADDMULTI);
   45048           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_INHERIT)));
   45049           1 :     SvREADONLY_on(sv);
   45050             :   } while(0) /*@SWIG@*/;
   45051             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45052           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_SHAPE_POINT", TRUE | 0x2 | GV_ADDMULTI);
   45053           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_SHAPE_POINT)));
   45054           1 :     SvREADONLY_on(sv);
   45055             :   } while(0) /*@SWIG@*/;
   45056             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45057           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_SHAPE_LINE", TRUE | 0x2 | GV_ADDMULTI);
   45058           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_SHAPE_LINE)));
   45059           1 :     SvREADONLY_on(sv);
   45060             :   } while(0) /*@SWIG@*/;
   45061             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45062           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_SHAPE_POLYGON", TRUE | 0x2 | GV_ADDMULTI);
   45063           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_SHAPE_POLYGON)));
   45064           1 :     SvREADONLY_on(sv);
   45065             :   } while(0) /*@SWIG@*/;
   45066             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45067           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_SHAPE_NULL", TRUE | 0x2 | GV_ADDMULTI);
   45068           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_SHAPE_NULL)));
   45069           1 :     SvREADONLY_on(sv);
   45070             :   } while(0) /*@SWIG@*/;
   45071             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45072           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_LAYER_POINT", TRUE | 0x2 | GV_ADDMULTI);
   45073           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_LAYER_POINT)));
   45074           1 :     SvREADONLY_on(sv);
   45075             :   } while(0) /*@SWIG@*/;
   45076             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45077           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_LAYER_LINE", TRUE | 0x2 | GV_ADDMULTI);
   45078           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_LAYER_LINE)));
   45079           1 :     SvREADONLY_on(sv);
   45080             :   } while(0) /*@SWIG@*/;
   45081             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45082           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_LAYER_POLYGON", TRUE | 0x2 | GV_ADDMULTI);
   45083           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_LAYER_POLYGON)));
   45084           1 :     SvREADONLY_on(sv);
   45085             :   } while(0) /*@SWIG@*/;
   45086             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45087           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_LAYER_RASTER", TRUE | 0x2 | GV_ADDMULTI);
   45088           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_LAYER_RASTER)));
   45089           1 :     SvREADONLY_on(sv);
   45090             :   } while(0) /*@SWIG@*/;
   45091             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45092           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_LAYER_ANNOTATION", TRUE | 0x2 | GV_ADDMULTI);
   45093           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_LAYER_ANNOTATION)));
   45094           1 :     SvREADONLY_on(sv);
   45095             :   } while(0) /*@SWIG@*/;
   45096             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45097           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_LAYER_QUERY", TRUE | 0x2 | GV_ADDMULTI);
   45098           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_LAYER_QUERY)));
   45099           1 :     SvREADONLY_on(sv);
   45100             :   } while(0) /*@SWIG@*/;
   45101             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45102           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_LAYER_CIRCLE", TRUE | 0x2 | GV_ADDMULTI);
   45103           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_LAYER_CIRCLE)));
   45104           1 :     SvREADONLY_on(sv);
   45105             :   } while(0) /*@SWIG@*/;
   45106             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45107           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_LAYER_TILEINDEX", TRUE | 0x2 | GV_ADDMULTI);
   45108           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_LAYER_TILEINDEX)));
   45109           1 :     SvREADONLY_on(sv);
   45110             :   } while(0) /*@SWIG@*/;
   45111             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45112           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_LAYER_CHART", TRUE | 0x2 | GV_ADDMULTI);
   45113           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_LAYER_CHART)));
   45114           1 :     SvREADONLY_on(sv);
   45115             :   } while(0) /*@SWIG@*/;
   45116             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45117           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TRUETYPE", TRUE | 0x2 | GV_ADDMULTI);
   45118           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TRUETYPE)));
   45119           1 :     SvREADONLY_on(sv);
   45120             :   } while(0) /*@SWIG@*/;
   45121             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45122           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_BITMAP", TRUE | 0x2 | GV_ADDMULTI);
   45123           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_BITMAP)));
   45124           1 :     SvREADONLY_on(sv);
   45125             :   } while(0) /*@SWIG@*/;
   45126             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45127           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_FIRST_MATCHING_CLASS", TRUE | 0x2 | GV_ADDMULTI);
   45128           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_FIRST_MATCHING_CLASS)));
   45129           1 :     SvREADONLY_on(sv);
   45130             :   } while(0) /*@SWIG@*/;
   45131             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45132           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_ALL_MATCHING_CLASSES", TRUE | 0x2 | GV_ADDMULTI);
   45133           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_ALL_MATCHING_CLASSES)));
   45134           1 :     SvREADONLY_on(sv);
   45135             :   } while(0) /*@SWIG@*/;
   45136             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45137           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_POSITIONS_LENGTH", TRUE | 0x2 | GV_ADDMULTI);
   45138           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(14)));
   45139           1 :     SvREADONLY_on(sv);
   45140             :   } while(0) /*@SWIG@*/;
   45141             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45142           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_UL", TRUE | 0x2 | GV_ADDMULTI);
   45143           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_UL)));
   45144           1 :     SvREADONLY_on(sv);
   45145             :   } while(0) /*@SWIG@*/;
   45146             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45147           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_LR", TRUE | 0x2 | GV_ADDMULTI);
   45148           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_LR)));
   45149           1 :     SvREADONLY_on(sv);
   45150             :   } while(0) /*@SWIG@*/;
   45151             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45152           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_UR", TRUE | 0x2 | GV_ADDMULTI);
   45153           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_UR)));
   45154           1 :     SvREADONLY_on(sv);
   45155             :   } while(0) /*@SWIG@*/;
   45156             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45157           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_LL", TRUE | 0x2 | GV_ADDMULTI);
   45158           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_LL)));
   45159           1 :     SvREADONLY_on(sv);
   45160             :   } while(0) /*@SWIG@*/;
   45161             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45162           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_CR", TRUE | 0x2 | GV_ADDMULTI);
   45163           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_CR)));
   45164           1 :     SvREADONLY_on(sv);
   45165             :   } while(0) /*@SWIG@*/;
   45166             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45167           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_CL", TRUE | 0x2 | GV_ADDMULTI);
   45168           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_CL)));
   45169           1 :     SvREADONLY_on(sv);
   45170             :   } while(0) /*@SWIG@*/;
   45171             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45172           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_UC", TRUE | 0x2 | GV_ADDMULTI);
   45173           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_UC)));
   45174           1 :     SvREADONLY_on(sv);
   45175             :   } while(0) /*@SWIG@*/;
   45176             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45177           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_LC", TRUE | 0x2 | GV_ADDMULTI);
   45178           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_LC)));
   45179           1 :     SvREADONLY_on(sv);
   45180             :   } while(0) /*@SWIG@*/;
   45181             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45182           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_CC", TRUE | 0x2 | GV_ADDMULTI);
   45183           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_CC)));
   45184           1 :     SvREADONLY_on(sv);
   45185             :   } while(0) /*@SWIG@*/;
   45186             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45187           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_AUTO", TRUE | 0x2 | GV_ADDMULTI);
   45188           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_AUTO)));
   45189           1 :     SvREADONLY_on(sv);
   45190             :   } while(0) /*@SWIG@*/;
   45191             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45192           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_XY", TRUE | 0x2 | GV_ADDMULTI);
   45193           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_XY)));
   45194           1 :     SvREADONLY_on(sv);
   45195             :   } while(0) /*@SWIG@*/;
   45196             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45197           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_NONE", TRUE | 0x2 | GV_ADDMULTI);
   45198           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_NONE)));
   45199           1 :     SvREADONLY_on(sv);
   45200             :   } while(0) /*@SWIG@*/;
   45201             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45202           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_AUTO2", TRUE | 0x2 | GV_ADDMULTI);
   45203           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_AUTO2)));
   45204           1 :     SvREADONLY_on(sv);
   45205             :   } while(0) /*@SWIG@*/;
   45206             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45207           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_FOLLOW", TRUE | 0x2 | GV_ADDMULTI);
   45208           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_FOLLOW)));
   45209           1 :     SvREADONLY_on(sv);
   45210             :   } while(0) /*@SWIG@*/;
   45211             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45212           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TINY", TRUE | 0x2 | GV_ADDMULTI);
   45213           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(5)));
   45214           1 :     SvREADONLY_on(sv);
   45215             :   } while(0) /*@SWIG@*/;
   45216             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45217           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_SMALL", TRUE | 0x2 | GV_ADDMULTI);
   45218           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(7)));
   45219           1 :     SvREADONLY_on(sv);
   45220             :   } while(0) /*@SWIG@*/;
   45221             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45222           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_MEDIUM", TRUE | 0x2 | GV_ADDMULTI);
   45223           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(10)));
   45224           1 :     SvREADONLY_on(sv);
   45225             :   } while(0) /*@SWIG@*/;
   45226             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45227           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_LARGE", TRUE | 0x2 | GV_ADDMULTI);
   45228           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(13)));
   45229           1 :     SvREADONLY_on(sv);
   45230             :   } while(0) /*@SWIG@*/;
   45231             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45232           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_GIANT", TRUE | 0x2 | GV_ADDMULTI);
   45233           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(16)));
   45234           1 :     SvREADONLY_on(sv);
   45235             :   } while(0) /*@SWIG@*/;
   45236             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45237           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_NORMAL", TRUE | 0x2 | GV_ADDMULTI);
   45238           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_NORMAL)));
   45239           1 :     SvREADONLY_on(sv);
   45240             :   } while(0) /*@SWIG@*/;
   45241             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45242           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_HILITE", TRUE | 0x2 | GV_ADDMULTI);
   45243           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_HILITE)));
   45244           1 :     SvREADONLY_on(sv);
   45245             :   } while(0) /*@SWIG@*/;
   45246             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45247           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_SELECTED", TRUE | 0x2 | GV_ADDMULTI);
   45248           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_SELECTED)));
   45249           1 :     SvREADONLY_on(sv);
   45250             :   } while(0) /*@SWIG@*/;
   45251             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45252           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_INLINE", TRUE | 0x2 | GV_ADDMULTI);
   45253           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_INLINE)));
   45254           1 :     SvREADONLY_on(sv);
   45255             :   } while(0) /*@SWIG@*/;
   45256             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45257           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_SHAPEFILE", TRUE | 0x2 | GV_ADDMULTI);
   45258           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_SHAPEFILE)));
   45259           1 :     SvREADONLY_on(sv);
   45260             :   } while(0) /*@SWIG@*/;
   45261             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45262           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TILED_SHAPEFILE", TRUE | 0x2 | GV_ADDMULTI);
   45263           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TILED_SHAPEFILE)));
   45264           1 :     SvREADONLY_on(sv);
   45265             :   } while(0) /*@SWIG@*/;
   45266             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45267           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_UNUSED_2", TRUE | 0x2 | GV_ADDMULTI);
   45268           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_UNUSED_2)));
   45269           1 :     SvREADONLY_on(sv);
   45270             :   } while(0) /*@SWIG@*/;
   45271             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45272           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_OGR", TRUE | 0x2 | GV_ADDMULTI);
   45273           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_OGR)));
   45274           1 :     SvREADONLY_on(sv);
   45275             :   } while(0) /*@SWIG@*/;
   45276             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45277           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_UNUSED_1", TRUE | 0x2 | GV_ADDMULTI);
   45278           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_UNUSED_1)));
   45279           1 :     SvREADONLY_on(sv);
   45280             :   } while(0) /*@SWIG@*/;
   45281             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45282           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_POSTGIS", TRUE | 0x2 | GV_ADDMULTI);
   45283           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_POSTGIS)));
   45284           1 :     SvREADONLY_on(sv);
   45285             :   } while(0) /*@SWIG@*/;
   45286             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45287           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_WMS", TRUE | 0x2 | GV_ADDMULTI);
   45288           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_WMS)));
   45289           1 :     SvREADONLY_on(sv);
   45290             :   } while(0) /*@SWIG@*/;
   45291             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45292           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_ORACLESPATIAL", TRUE | 0x2 | GV_ADDMULTI);
   45293           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_ORACLESPATIAL)));
   45294           1 :     SvREADONLY_on(sv);
   45295             :   } while(0) /*@SWIG@*/;
   45296             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45297           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_WFS", TRUE | 0x2 | GV_ADDMULTI);
   45298           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_WFS)));
   45299           1 :     SvREADONLY_on(sv);
   45300             :   } while(0) /*@SWIG@*/;
   45301             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45302           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_GRATICULE", TRUE | 0x2 | GV_ADDMULTI);
   45303           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_GRATICULE)));
   45304           1 :     SvREADONLY_on(sv);
   45305             :   } while(0) /*@SWIG@*/;
   45306             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45307           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_MYSQL", TRUE | 0x2 | GV_ADDMULTI);
   45308           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_MYSQL)));
   45309           1 :     SvREADONLY_on(sv);
   45310             :   } while(0) /*@SWIG@*/;
   45311             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45312           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_RASTER", TRUE | 0x2 | GV_ADDMULTI);
   45313           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_RASTER)));
   45314           1 :     SvREADONLY_on(sv);
   45315             :   } while(0) /*@SWIG@*/;
   45316             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45317           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_PLUGIN", TRUE | 0x2 | GV_ADDMULTI);
   45318           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_PLUGIN)));
   45319           1 :     SvREADONLY_on(sv);
   45320             :   } while(0) /*@SWIG@*/;
   45321             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45322           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_UNION", TRUE | 0x2 | GV_ADDMULTI);
   45323           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_UNION)));
   45324           1 :     SvREADONLY_on(sv);
   45325             :   } while(0) /*@SWIG@*/;
   45326             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45327           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_UVRASTER", TRUE | 0x2 | GV_ADDMULTI);
   45328           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_UVRASTER)));
   45329           1 :     SvREADONLY_on(sv);
   45330             :   } while(0) /*@SWIG@*/;
   45331             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45332           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_CONTOUR", TRUE | 0x2 | GV_ADDMULTI);
   45333           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_CONTOUR)));
   45334           1 :     SvREADONLY_on(sv);
   45335             :   } while(0) /*@SWIG@*/;
   45336             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45337           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_KERNELDENSITY", TRUE | 0x2 | GV_ADDMULTI);
   45338           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_KERNELDENSITY)));
   45339           1 :     SvREADONLY_on(sv);
   45340             :   } while(0) /*@SWIG@*/;
   45341             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45342           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_DB_XBASE", TRUE | 0x2 | GV_ADDMULTI);
   45343           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_DB_XBASE)));
   45344           1 :     SvREADONLY_on(sv);
   45345             :   } while(0) /*@SWIG@*/;
   45346             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45347           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_DB_CSV", TRUE | 0x2 | GV_ADDMULTI);
   45348           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_DB_CSV)));
   45349           1 :     SvREADONLY_on(sv);
   45350             :   } while(0) /*@SWIG@*/;
   45351             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45352           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_DB_MYSQL", TRUE | 0x2 | GV_ADDMULTI);
   45353           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_DB_MYSQL)));
   45354           1 :     SvREADONLY_on(sv);
   45355             :   } while(0) /*@SWIG@*/;
   45356             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45357           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_DB_ORACLE", TRUE | 0x2 | GV_ADDMULTI);
   45358           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_DB_ORACLE)));
   45359           1 :     SvREADONLY_on(sv);
   45360             :   } while(0) /*@SWIG@*/;
   45361             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45362           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_DB_POSTGRES", TRUE | 0x2 | GV_ADDMULTI);
   45363           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_DB_POSTGRES)));
   45364           1 :     SvREADONLY_on(sv);
   45365             :   } while(0) /*@SWIG@*/;
   45366             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45367           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_JOIN_ONE_TO_ONE", TRUE | 0x2 | GV_ADDMULTI);
   45368           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_JOIN_ONE_TO_ONE)));
   45369           1 :     SvREADONLY_on(sv);
   45370             :   } while(0) /*@SWIG@*/;
   45371             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45372           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_JOIN_ONE_TO_MANY", TRUE | 0x2 | GV_ADDMULTI);
   45373           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_JOIN_ONE_TO_MANY)));
   45374           1 :     SvREADONLY_on(sv);
   45375             :   } while(0) /*@SWIG@*/;
   45376             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45377           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_SINGLE", TRUE | 0x2 | GV_ADDMULTI);
   45378           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(0)));
   45379           1 :     SvREADONLY_on(sv);
   45380             :   } while(0) /*@SWIG@*/;
   45381             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45382           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_MULTIPLE", TRUE | 0x2 | GV_ADDMULTI);
   45383           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(1)));
   45384           1 :     SvREADONLY_on(sv);
   45385             :   } while(0) /*@SWIG@*/;
   45386             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45387           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_QUERY_SINGLE", TRUE | 0x2 | GV_ADDMULTI);
   45388           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_QUERY_SINGLE)));
   45389           1 :     SvREADONLY_on(sv);
   45390             :   } while(0) /*@SWIG@*/;
   45391             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45392           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_QUERY_MULTIPLE", TRUE | 0x2 | GV_ADDMULTI);
   45393           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_QUERY_MULTIPLE)));
   45394           1 :     SvREADONLY_on(sv);
   45395             :   } while(0) /*@SWIG@*/;
   45396             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45397           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_QUERY_IS_NULL", TRUE | 0x2 | GV_ADDMULTI);
   45398           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_QUERY_IS_NULL)));
   45399           1 :     SvREADONLY_on(sv);
   45400             :   } while(0) /*@SWIG@*/;
   45401             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45402           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_QUERY_BY_POINT", TRUE | 0x2 | GV_ADDMULTI);
   45403           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_QUERY_BY_POINT)));
   45404           1 :     SvREADONLY_on(sv);
   45405             :   } while(0) /*@SWIG@*/;
   45406             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45407           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_QUERY_BY_RECT", TRUE | 0x2 | GV_ADDMULTI);
   45408           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_QUERY_BY_RECT)));
   45409           1 :     SvREADONLY_on(sv);
   45410             :   } while(0) /*@SWIG@*/;
   45411             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45412           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_QUERY_BY_SHAPE", TRUE | 0x2 | GV_ADDMULTI);
   45413           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_QUERY_BY_SHAPE)));
   45414           1 :     SvREADONLY_on(sv);
   45415             :   } while(0) /*@SWIG@*/;
   45416             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45417           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_QUERY_BY_ATTRIBUTE", TRUE | 0x2 | GV_ADDMULTI);
   45418           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_QUERY_BY_ATTRIBUTE)));
   45419           1 :     SvREADONLY_on(sv);
   45420             :   } while(0) /*@SWIG@*/;
   45421             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45422           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_QUERY_BY_INDEX", TRUE | 0x2 | GV_ADDMULTI);
   45423           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_QUERY_BY_INDEX)));
   45424           1 :     SvREADONLY_on(sv);
   45425             :   } while(0) /*@SWIG@*/;
   45426             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45427           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_QUERY_BY_FILTER", TRUE | 0x2 | GV_ADDMULTI);
   45428           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_QUERY_BY_FILTER)));
   45429           1 :     SvREADONLY_on(sv);
   45430             :   } while(0) /*@SWIG@*/;
   45431             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45432           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_ALIGN_DEFAULT", TRUE | 0x2 | GV_ADDMULTI);
   45433           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_ALIGN_DEFAULT)));
   45434           1 :     SvREADONLY_on(sv);
   45435             :   } while(0) /*@SWIG@*/;
   45436             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45437           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_ALIGN_LEFT", TRUE | 0x2 | GV_ADDMULTI);
   45438           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_ALIGN_LEFT)));
   45439           1 :     SvREADONLY_on(sv);
   45440             :   } while(0) /*@SWIG@*/;
   45441             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45442           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_ALIGN_CENTER", TRUE | 0x2 | GV_ADDMULTI);
   45443           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_ALIGN_CENTER)));
   45444           1 :     SvREADONLY_on(sv);
   45445             :   } while(0) /*@SWIG@*/;
   45446             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45447           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_ALIGN_RIGHT", TRUE | 0x2 | GV_ADDMULTI);
   45448           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_ALIGN_RIGHT)));
   45449           1 :     SvREADONLY_on(sv);
   45450             :   } while(0) /*@SWIG@*/;
   45451             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45452           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_CJC_NONE", TRUE | 0x2 | GV_ADDMULTI);
   45453           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_CJC_NONE)));
   45454           1 :     SvREADONLY_on(sv);
   45455             :   } while(0) /*@SWIG@*/;
   45456             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45457           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_CJC_BEVEL", TRUE | 0x2 | GV_ADDMULTI);
   45458           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_CJC_BEVEL)));
   45459           1 :     SvREADONLY_on(sv);
   45460             :   } while(0) /*@SWIG@*/;
   45461             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45462           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_CJC_BUTT", TRUE | 0x2 | GV_ADDMULTI);
   45463           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_CJC_BUTT)));
   45464           1 :     SvREADONLY_on(sv);
   45465             :   } while(0) /*@SWIG@*/;
   45466             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45467           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_CJC_MITER", TRUE | 0x2 | GV_ADDMULTI);
   45468           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_CJC_MITER)));
   45469           1 :     SvREADONLY_on(sv);
   45470             :   } while(0) /*@SWIG@*/;
   45471             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45472           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_CJC_ROUND", TRUE | 0x2 | GV_ADDMULTI);
   45473           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_CJC_ROUND)));
   45474           1 :     SvREADONLY_on(sv);
   45475             :   } while(0) /*@SWIG@*/;
   45476             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45477           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_CJC_SQUARE", TRUE | 0x2 | GV_ADDMULTI);
   45478           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_CJC_SQUARE)));
   45479           1 :     SvREADONLY_on(sv);
   45480             :   } while(0) /*@SWIG@*/;
   45481             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45482           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_CJC_TRIANGLE", TRUE | 0x2 | GV_ADDMULTI);
   45483           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_CJC_TRIANGLE)));
   45484           1 :     SvREADONLY_on(sv);
   45485             :   } while(0) /*@SWIG@*/;
   45486             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45487           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_CJC_DEFAULT_JOIN_MAXSIZE", TRUE | 0x2 | GV_ADDMULTI);
   45488           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(3)));
   45489           1 :     SvREADONLY_on(sv);
   45490             :   } while(0) /*@SWIG@*/;
   45491             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45492           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_SUCCESS", TRUE | 0x2 | GV_ADDMULTI);
   45493           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_SUCCESS)));
   45494           1 :     SvREADONLY_on(sv);
   45495             :   } while(0) /*@SWIG@*/;
   45496             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45497           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_FAILURE", TRUE | 0x2 | GV_ADDMULTI);
   45498           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_FAILURE)));
   45499           1 :     SvREADONLY_on(sv);
   45500             :   } while(0) /*@SWIG@*/;
   45501             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45502           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_DONE", TRUE | 0x2 | GV_ADDMULTI);
   45503           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_DONE)));
   45504           1 :     SvREADONLY_on(sv);
   45505             :   } while(0) /*@SWIG@*/;
   45506             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45507           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_IMAGEMODE_PC256", TRUE | 0x2 | GV_ADDMULTI);
   45508           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_IMAGEMODE_PC256)));
   45509           1 :     SvREADONLY_on(sv);
   45510             :   } while(0) /*@SWIG@*/;
   45511             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45512           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_IMAGEMODE_RGB", TRUE | 0x2 | GV_ADDMULTI);
   45513           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_IMAGEMODE_RGB)));
   45514           1 :     SvREADONLY_on(sv);
   45515             :   } while(0) /*@SWIG@*/;
   45516             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45517           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_IMAGEMODE_RGBA", TRUE | 0x2 | GV_ADDMULTI);
   45518           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_IMAGEMODE_RGBA)));
   45519           1 :     SvREADONLY_on(sv);
   45520             :   } while(0) /*@SWIG@*/;
   45521             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45522           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_IMAGEMODE_INT16", TRUE | 0x2 | GV_ADDMULTI);
   45523           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_IMAGEMODE_INT16)));
   45524           1 :     SvREADONLY_on(sv);
   45525             :   } while(0) /*@SWIG@*/;
   45526             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45527           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_IMAGEMODE_FLOAT32", TRUE | 0x2 | GV_ADDMULTI);
   45528           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_IMAGEMODE_FLOAT32)));
   45529           1 :     SvREADONLY_on(sv);
   45530             :   } while(0) /*@SWIG@*/;
   45531             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45532           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_IMAGEMODE_BYTE", TRUE | 0x2 | GV_ADDMULTI);
   45533           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_IMAGEMODE_BYTE)));
   45534           1 :     SvREADONLY_on(sv);
   45535             :   } while(0) /*@SWIG@*/;
   45536             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45537           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_IMAGEMODE_FEATURE", TRUE | 0x2 | GV_ADDMULTI);
   45538           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_IMAGEMODE_FEATURE)));
   45539           1 :     SvREADONLY_on(sv);
   45540             :   } while(0) /*@SWIG@*/;
   45541             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45542           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_IMAGEMODE_NULL", TRUE | 0x2 | GV_ADDMULTI);
   45543           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_IMAGEMODE_NULL)));
   45544           1 :     SvREADONLY_on(sv);
   45545             :   } while(0) /*@SWIG@*/;
   45546             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45547           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_GEOS_EQUALS", TRUE | 0x2 | GV_ADDMULTI);
   45548           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_GEOS_EQUALS)));
   45549           1 :     SvREADONLY_on(sv);
   45550             :   } while(0) /*@SWIG@*/;
   45551             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45552           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_GEOS_DISJOINT", TRUE | 0x2 | GV_ADDMULTI);
   45553           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_GEOS_DISJOINT)));
   45554           1 :     SvREADONLY_on(sv);
   45555             :   } while(0) /*@SWIG@*/;
   45556             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45557           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_GEOS_TOUCHES", TRUE | 0x2 | GV_ADDMULTI);
   45558           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_GEOS_TOUCHES)));
   45559           1 :     SvREADONLY_on(sv);
   45560             :   } while(0) /*@SWIG@*/;
   45561             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45562           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_GEOS_OVERLAPS", TRUE | 0x2 | GV_ADDMULTI);
   45563           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_GEOS_OVERLAPS)));
   45564           1 :     SvREADONLY_on(sv);
   45565             :   } while(0) /*@SWIG@*/;
   45566             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45567           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_GEOS_CROSSES", TRUE | 0x2 | GV_ADDMULTI);
   45568           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_GEOS_CROSSES)));
   45569           1 :     SvREADONLY_on(sv);
   45570             :   } while(0) /*@SWIG@*/;
   45571             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45572           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_GEOS_INTERSECTS", TRUE | 0x2 | GV_ADDMULTI);
   45573           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_GEOS_INTERSECTS)));
   45574           1 :     SvREADONLY_on(sv);
   45575             :   } while(0) /*@SWIG@*/;
   45576             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45577           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_GEOS_WITHIN", TRUE | 0x2 | GV_ADDMULTI);
   45578           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_GEOS_WITHIN)));
   45579           1 :     SvREADONLY_on(sv);
   45580             :   } while(0) /*@SWIG@*/;
   45581             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45582           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_GEOS_CONTAINS", TRUE | 0x2 | GV_ADDMULTI);
   45583           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_GEOS_CONTAINS)));
   45584           1 :     SvREADONLY_on(sv);
   45585             :   } while(0) /*@SWIG@*/;
   45586             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45587           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_GEOS_BEYOND", TRUE | 0x2 | GV_ADDMULTI);
   45588           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_GEOS_BEYOND)));
   45589           1 :     SvREADONLY_on(sv);
   45590             :   } while(0) /*@SWIG@*/;
   45591             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45592           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_GEOS_DWITHIN", TRUE | 0x2 | GV_ADDMULTI);
   45593           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_GEOS_DWITHIN)));
   45594           1 :     SvREADONLY_on(sv);
   45595             :   } while(0) /*@SWIG@*/;
   45596             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45597           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TRANSFORM_NONE", TRUE | 0x2 | GV_ADDMULTI);
   45598           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TRANSFORM_NONE)));
   45599           1 :     SvREADONLY_on(sv);
   45600             :   } while(0) /*@SWIG@*/;
   45601             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45602           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TRANSFORM_ROUND", TRUE | 0x2 | GV_ADDMULTI);
   45603           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TRANSFORM_ROUND)));
   45604           1 :     SvREADONLY_on(sv);
   45605             :   } while(0) /*@SWIG@*/;
   45606             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45607           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TRANSFORM_SNAPTOGRID", TRUE | 0x2 | GV_ADDMULTI);
   45608           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TRANSFORM_SNAPTOGRID)));
   45609           1 :     SvREADONLY_on(sv);
   45610             :   } while(0) /*@SWIG@*/;
   45611             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45612           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TRANSFORM_FULLRESOLUTION", TRUE | 0x2 | GV_ADDMULTI);
   45613           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TRANSFORM_FULLRESOLUTION)));
   45614           1 :     SvREADONLY_on(sv);
   45615             :   } while(0) /*@SWIG@*/;
   45616             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45617           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TRANSFORM_SIMPLIFY", TRUE | 0x2 | GV_ADDMULTI);
   45618           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TRANSFORM_SIMPLIFY)));
   45619           1 :     SvREADONLY_on(sv);
   45620             :   } while(0) /*@SWIG@*/;
   45621             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45622           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_CLEAR", TRUE | 0x2 | GV_ADDMULTI);
   45623           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_CLEAR)));
   45624           1 :     SvREADONLY_on(sv);
   45625             :   } while(0) /*@SWIG@*/;
   45626             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45627           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_SRC", TRUE | 0x2 | GV_ADDMULTI);
   45628           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_SRC)));
   45629           1 :     SvREADONLY_on(sv);
   45630             :   } while(0) /*@SWIG@*/;
   45631             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45632           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_DST", TRUE | 0x2 | GV_ADDMULTI);
   45633           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_DST)));
   45634           1 :     SvREADONLY_on(sv);
   45635             :   } while(0) /*@SWIG@*/;
   45636             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45637           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_SRC_OVER", TRUE | 0x2 | GV_ADDMULTI);
   45638           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_SRC_OVER)));
   45639           1 :     SvREADONLY_on(sv);
   45640             :   } while(0) /*@SWIG@*/;
   45641             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45642           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_DST_OVER", TRUE | 0x2 | GV_ADDMULTI);
   45643           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_DST_OVER)));
   45644           1 :     SvREADONLY_on(sv);
   45645             :   } while(0) /*@SWIG@*/;
   45646             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45647           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_SRC_IN", TRUE | 0x2 | GV_ADDMULTI);
   45648           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_SRC_IN)));
   45649           1 :     SvREADONLY_on(sv);
   45650             :   } while(0) /*@SWIG@*/;
   45651             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45652           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_DST_IN", TRUE | 0x2 | GV_ADDMULTI);
   45653           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_DST_IN)));
   45654           1 :     SvREADONLY_on(sv);
   45655             :   } while(0) /*@SWIG@*/;
   45656             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45657           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_SRC_OUT", TRUE | 0x2 | GV_ADDMULTI);
   45658           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_SRC_OUT)));
   45659           1 :     SvREADONLY_on(sv);
   45660             :   } while(0) /*@SWIG@*/;
   45661             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45662           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_DST_OUT", TRUE | 0x2 | GV_ADDMULTI);
   45663           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_DST_OUT)));
   45664           1 :     SvREADONLY_on(sv);
   45665             :   } while(0) /*@SWIG@*/;
   45666             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45667           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_SRC_ATOP", TRUE | 0x2 | GV_ADDMULTI);
   45668           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_SRC_ATOP)));
   45669           1 :     SvREADONLY_on(sv);
   45670             :   } while(0) /*@SWIG@*/;
   45671             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45672           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_DST_ATOP", TRUE | 0x2 | GV_ADDMULTI);
   45673           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_DST_ATOP)));
   45674           1 :     SvREADONLY_on(sv);
   45675             :   } while(0) /*@SWIG@*/;
   45676             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45677           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_XOR", TRUE | 0x2 | GV_ADDMULTI);
   45678           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_XOR)));
   45679           1 :     SvREADONLY_on(sv);
   45680             :   } while(0) /*@SWIG@*/;
   45681             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45682           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_PLUS", TRUE | 0x2 | GV_ADDMULTI);
   45683           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_PLUS)));
   45684           1 :     SvREADONLY_on(sv);
   45685             :   } while(0) /*@SWIG@*/;
   45686             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45687           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_MINUS", TRUE | 0x2 | GV_ADDMULTI);
   45688           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_MINUS)));
   45689           1 :     SvREADONLY_on(sv);
   45690             :   } while(0) /*@SWIG@*/;
   45691             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45692           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_MULTIPLY", TRUE | 0x2 | GV_ADDMULTI);
   45693           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_MULTIPLY)));
   45694           1 :     SvREADONLY_on(sv);
   45695             :   } while(0) /*@SWIG@*/;
   45696             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45697           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_SCREEN", TRUE | 0x2 | GV_ADDMULTI);
   45698           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_SCREEN)));
   45699           1 :     SvREADONLY_on(sv);
   45700             :   } while(0) /*@SWIG@*/;
   45701             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45702           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_OVERLAY", TRUE | 0x2 | GV_ADDMULTI);
   45703           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_OVERLAY)));
   45704           1 :     SvREADONLY_on(sv);
   45705             :   } while(0) /*@SWIG@*/;
   45706             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45707           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_DARKEN", TRUE | 0x2 | GV_ADDMULTI);
   45708           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_DARKEN)));
   45709           1 :     SvREADONLY_on(sv);
   45710             :   } while(0) /*@SWIG@*/;
   45711             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45712           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_LIGHTEN", TRUE | 0x2 | GV_ADDMULTI);
   45713           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_LIGHTEN)));
   45714           1 :     SvREADONLY_on(sv);
   45715             :   } while(0) /*@SWIG@*/;
   45716             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45717           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_COLOR_DODGE", TRUE | 0x2 | GV_ADDMULTI);
   45718           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_COLOR_DODGE)));
   45719           1 :     SvREADONLY_on(sv);
   45720             :   } while(0) /*@SWIG@*/;
   45721             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45722           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_COLOR_BURN", TRUE | 0x2 | GV_ADDMULTI);
   45723           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_COLOR_BURN)));
   45724           1 :     SvREADONLY_on(sv);
   45725             :   } while(0) /*@SWIG@*/;
   45726             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45727           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_HARD_LIGHT", TRUE | 0x2 | GV_ADDMULTI);
   45728           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_HARD_LIGHT)));
   45729           1 :     SvREADONLY_on(sv);
   45730             :   } while(0) /*@SWIG@*/;
   45731             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45732           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_SOFT_LIGHT", TRUE | 0x2 | GV_ADDMULTI);
   45733           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_SOFT_LIGHT)));
   45734           1 :     SvREADONLY_on(sv);
   45735             :   } while(0) /*@SWIG@*/;
   45736             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45737           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_DIFFERENCE", TRUE | 0x2 | GV_ADDMULTI);
   45738           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_DIFFERENCE)));
   45739           1 :     SvREADONLY_on(sv);
   45740             :   } while(0) /*@SWIG@*/;
   45741             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45742           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_EXCLUSION", TRUE | 0x2 | GV_ADDMULTI);
   45743           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_EXCLUSION)));
   45744           1 :     SvREADONLY_on(sv);
   45745             :   } while(0) /*@SWIG@*/;
   45746             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45747           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_CONTRAST", TRUE | 0x2 | GV_ADDMULTI);
   45748           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_CONTRAST)));
   45749           1 :     SvREADONLY_on(sv);
   45750             :   } while(0) /*@SWIG@*/;
   45751             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45752           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_INVERT", TRUE | 0x2 | GV_ADDMULTI);
   45753           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_INVERT)));
   45754           1 :     SvREADONLY_on(sv);
   45755             :   } while(0) /*@SWIG@*/;
   45756             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45757           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_COMPOP_INVERT_RGB", TRUE | 0x2 | GV_ADDMULTI);
   45758           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_COMPOP_INVERT_RGB)));
   45759           1 :     SvREADONLY_on(sv);
   45760             :   } while(0) /*@SWIG@*/;
   45761           1 :   SWIG_TypeClientData(SWIGTYPE_p__CompositingFilter, (void*) "mapscript::CompositingFilter");
   45762           1 :   SWIG_TypeClientData(SWIGTYPE_p__LayerCompositer, (void*) "mapscript::LayerCompositer");
   45763             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45764           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_STYLE_BINDING_LENGTH", TRUE | 0x2 | GV_ADDMULTI);
   45765           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(12)));
   45766           1 :     SvREADONLY_on(sv);
   45767             :   } while(0) /*@SWIG@*/;
   45768             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45769           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_STYLE_BINDING_SIZE", TRUE | 0x2 | GV_ADDMULTI);
   45770           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_STYLE_BINDING_SIZE)));
   45771           1 :     SvREADONLY_on(sv);
   45772             :   } while(0) /*@SWIG@*/;
   45773             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45774           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_STYLE_BINDING_WIDTH", TRUE | 0x2 | GV_ADDMULTI);
   45775           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_STYLE_BINDING_WIDTH)));
   45776           1 :     SvREADONLY_on(sv);
   45777             :   } while(0) /*@SWIG@*/;
   45778             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45779           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_STYLE_BINDING_ANGLE", TRUE | 0x2 | GV_ADDMULTI);
   45780           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_STYLE_BINDING_ANGLE)));
   45781           1 :     SvREADONLY_on(sv);
   45782             :   } while(0) /*@SWIG@*/;
   45783             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45784           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_STYLE_BINDING_COLOR", TRUE | 0x2 | GV_ADDMULTI);
   45785           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_STYLE_BINDING_COLOR)));
   45786           1 :     SvREADONLY_on(sv);
   45787             :   } while(0) /*@SWIG@*/;
   45788             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45789           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_STYLE_BINDING_OUTLINECOLOR", TRUE | 0x2 | GV_ADDMULTI);
   45790           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_STYLE_BINDING_OUTLINECOLOR)));
   45791           1 :     SvREADONLY_on(sv);
   45792             :   } while(0) /*@SWIG@*/;
   45793             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45794           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_STYLE_BINDING_SYMBOL", TRUE | 0x2 | GV_ADDMULTI);
   45795           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_STYLE_BINDING_SYMBOL)));
   45796           1 :     SvREADONLY_on(sv);
   45797             :   } while(0) /*@SWIG@*/;
   45798             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45799           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_STYLE_BINDING_OUTLINEWIDTH", TRUE | 0x2 | GV_ADDMULTI);
   45800           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_STYLE_BINDING_OUTLINEWIDTH)));
   45801           1 :     SvREADONLY_on(sv);
   45802             :   } while(0) /*@SWIG@*/;
   45803             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45804           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_STYLE_BINDING_OPACITY", TRUE | 0x2 | GV_ADDMULTI);
   45805           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_STYLE_BINDING_OPACITY)));
   45806           1 :     SvREADONLY_on(sv);
   45807             :   } while(0) /*@SWIG@*/;
   45808             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45809           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_STYLE_BINDING_OFFSET_X", TRUE | 0x2 | GV_ADDMULTI);
   45810           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_STYLE_BINDING_OFFSET_X)));
   45811           1 :     SvREADONLY_on(sv);
   45812             :   } while(0) /*@SWIG@*/;
   45813             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45814           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_STYLE_BINDING_OFFSET_Y", TRUE | 0x2 | GV_ADDMULTI);
   45815           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_STYLE_BINDING_OFFSET_Y)));
   45816           1 :     SvREADONLY_on(sv);
   45817             :   } while(0) /*@SWIG@*/;
   45818             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45819           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_STYLE_BINDING_POLAROFFSET_PIXEL", TRUE | 0x2 | GV_ADDMULTI);
   45820           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_STYLE_BINDING_POLAROFFSET_PIXEL)));
   45821           1 :     SvREADONLY_on(sv);
   45822             :   } while(0) /*@SWIG@*/;
   45823             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45824           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_STYLE_BINDING_POLAROFFSET_ANGLE", TRUE | 0x2 | GV_ADDMULTI);
   45825           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_STYLE_BINDING_POLAROFFSET_ANGLE)));
   45826           1 :     SvREADONLY_on(sv);
   45827             :   } while(0) /*@SWIG@*/;
   45828             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45829           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_LABEL_BINDING_LENGTH", TRUE | 0x2 | GV_ADDMULTI);
   45830           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(12)));
   45831           1 :     SvREADONLY_on(sv);
   45832             :   } while(0) /*@SWIG@*/;
   45833             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45834           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_LABEL_BINDING_SIZE", TRUE | 0x2 | GV_ADDMULTI);
   45835           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_LABEL_BINDING_SIZE)));
   45836           1 :     SvREADONLY_on(sv);
   45837             :   } while(0) /*@SWIG@*/;
   45838             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45839           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_LABEL_BINDING_ANGLE", TRUE | 0x2 | GV_ADDMULTI);
   45840           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_LABEL_BINDING_ANGLE)));
   45841           1 :     SvREADONLY_on(sv);
   45842             :   } while(0) /*@SWIG@*/;
   45843             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45844           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_LABEL_BINDING_COLOR", TRUE | 0x2 | GV_ADDMULTI);
   45845           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_LABEL_BINDING_COLOR)));
   45846           1 :     SvREADONLY_on(sv);
   45847             :   } while(0) /*@SWIG@*/;
   45848             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45849           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_LABEL_BINDING_OUTLINECOLOR", TRUE | 0x2 | GV_ADDMULTI);
   45850           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_LABEL_BINDING_OUTLINECOLOR)));
   45851           1 :     SvREADONLY_on(sv);
   45852             :   } while(0) /*@SWIG@*/;
   45853             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45854           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_LABEL_BINDING_FONT", TRUE | 0x2 | GV_ADDMULTI);
   45855           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_LABEL_BINDING_FONT)));
   45856           1 :     SvREADONLY_on(sv);
   45857             :   } while(0) /*@SWIG@*/;
   45858             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45859           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_LABEL_BINDING_PRIORITY", TRUE | 0x2 | GV_ADDMULTI);
   45860           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_LABEL_BINDING_PRIORITY)));
   45861           1 :     SvREADONLY_on(sv);
   45862             :   } while(0) /*@SWIG@*/;
   45863             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45864           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_LABEL_BINDING_POSITION", TRUE | 0x2 | GV_ADDMULTI);
   45865           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_LABEL_BINDING_POSITION)));
   45866           1 :     SvREADONLY_on(sv);
   45867             :   } while(0) /*@SWIG@*/;
   45868             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45869           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_LABEL_BINDING_SHADOWSIZEX", TRUE | 0x2 | GV_ADDMULTI);
   45870           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_LABEL_BINDING_SHADOWSIZEX)));
   45871           1 :     SvREADONLY_on(sv);
   45872             :   } while(0) /*@SWIG@*/;
   45873             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45874           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_LABEL_BINDING_SHADOWSIZEY", TRUE | 0x2 | GV_ADDMULTI);
   45875           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_LABEL_BINDING_SHADOWSIZEY)));
   45876           1 :     SvREADONLY_on(sv);
   45877             :   } while(0) /*@SWIG@*/;
   45878             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45879           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_LABEL_BINDING_OFFSET_X", TRUE | 0x2 | GV_ADDMULTI);
   45880           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_LABEL_BINDING_OFFSET_X)));
   45881           1 :     SvREADONLY_on(sv);
   45882             :   } while(0) /*@SWIG@*/;
   45883             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45884           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_LABEL_BINDING_OFFSET_Y", TRUE | 0x2 | GV_ADDMULTI);
   45885           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_LABEL_BINDING_OFFSET_Y)));
   45886           1 :     SvREADONLY_on(sv);
   45887             :   } while(0) /*@SWIG@*/;
   45888             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45889           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_LABEL_BINDING_ALIGN", TRUE | 0x2 | GV_ADDMULTI);
   45890           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_LABEL_BINDING_ALIGN)));
   45891           1 :     SvREADONLY_on(sv);
   45892             :   } while(0) /*@SWIG@*/;
   45893           1 :   SWIG_TypeClientData(SWIGTYPE_p_fontSetObj, (void*) "mapscript::fontSetObj");
   45894             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45895           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_LOGICAL_AND", TRUE | 0x2 | GV_ADDMULTI);
   45896           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_LOGICAL_AND)));
   45897           1 :     SvREADONLY_on(sv);
   45898             :   } while(0) /*@SWIG@*/;
   45899             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45900           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_LOGICAL_OR", TRUE | 0x2 | GV_ADDMULTI);
   45901           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_LOGICAL_OR)));
   45902           1 :     SvREADONLY_on(sv);
   45903             :   } while(0) /*@SWIG@*/;
   45904             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45905           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_LOGICAL_NOT", TRUE | 0x2 | GV_ADDMULTI);
   45906           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_LOGICAL_NOT)));
   45907           1 :     SvREADONLY_on(sv);
   45908             :   } while(0) /*@SWIG@*/;
   45909             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45910           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_LITERAL_NUMBER", TRUE | 0x2 | GV_ADDMULTI);
   45911           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_LITERAL_NUMBER)));
   45912           1 :     SvREADONLY_on(sv);
   45913             :   } while(0) /*@SWIG@*/;
   45914             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45915           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_LITERAL_STRING", TRUE | 0x2 | GV_ADDMULTI);
   45916           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_LITERAL_STRING)));
   45917           1 :     SvREADONLY_on(sv);
   45918             :   } while(0) /*@SWIG@*/;
   45919             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45920           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_LITERAL_TIME", TRUE | 0x2 | GV_ADDMULTI);
   45921           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_LITERAL_TIME)));
   45922           1 :     SvREADONLY_on(sv);
   45923             :   } while(0) /*@SWIG@*/;
   45924             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45925           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_LITERAL_SHAPE", TRUE | 0x2 | GV_ADDMULTI);
   45926           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_LITERAL_SHAPE)));
   45927           1 :     SvREADONLY_on(sv);
   45928             :   } while(0) /*@SWIG@*/;
   45929             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45930           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_LITERAL_BOOLEAN", TRUE | 0x2 | GV_ADDMULTI);
   45931           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_LITERAL_BOOLEAN)));
   45932           1 :     SvREADONLY_on(sv);
   45933             :   } while(0) /*@SWIG@*/;
   45934             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45935           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_COMPARISON_EQ", TRUE | 0x2 | GV_ADDMULTI);
   45936           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_COMPARISON_EQ)));
   45937           1 :     SvREADONLY_on(sv);
   45938             :   } while(0) /*@SWIG@*/;
   45939             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45940           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_COMPARISON_NE", TRUE | 0x2 | GV_ADDMULTI);
   45941           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_COMPARISON_NE)));
   45942           1 :     SvREADONLY_on(sv);
   45943             :   } while(0) /*@SWIG@*/;
   45944             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45945           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_COMPARISON_GT", TRUE | 0x2 | GV_ADDMULTI);
   45946           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_COMPARISON_GT)));
   45947           1 :     SvREADONLY_on(sv);
   45948             :   } while(0) /*@SWIG@*/;
   45949             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45950           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_COMPARISON_LT", TRUE | 0x2 | GV_ADDMULTI);
   45951           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_COMPARISON_LT)));
   45952           1 :     SvREADONLY_on(sv);
   45953             :   } while(0) /*@SWIG@*/;
   45954             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45955           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_COMPARISON_LE", TRUE | 0x2 | GV_ADDMULTI);
   45956           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_COMPARISON_LE)));
   45957           1 :     SvREADONLY_on(sv);
   45958             :   } while(0) /*@SWIG@*/;
   45959             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45960           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_COMPARISON_GE", TRUE | 0x2 | GV_ADDMULTI);
   45961           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_COMPARISON_GE)));
   45962           1 :     SvREADONLY_on(sv);
   45963             :   } while(0) /*@SWIG@*/;
   45964             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45965           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_COMPARISON_IEQ", TRUE | 0x2 | GV_ADDMULTI);
   45966           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_COMPARISON_IEQ)));
   45967           1 :     SvREADONLY_on(sv);
   45968             :   } while(0) /*@SWIG@*/;
   45969             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45970           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_COMPARISON_RE", TRUE | 0x2 | GV_ADDMULTI);
   45971           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_COMPARISON_RE)));
   45972           1 :     SvREADONLY_on(sv);
   45973             :   } while(0) /*@SWIG@*/;
   45974             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45975           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_COMPARISON_IRE", TRUE | 0x2 | GV_ADDMULTI);
   45976           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_COMPARISON_IRE)));
   45977           1 :     SvREADONLY_on(sv);
   45978             :   } while(0) /*@SWIG@*/;
   45979             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45980           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_COMPARISON_IN", TRUE | 0x2 | GV_ADDMULTI);
   45981           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_COMPARISON_IN)));
   45982           1 :     SvREADONLY_on(sv);
   45983             :   } while(0) /*@SWIG@*/;
   45984             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45985           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_COMPARISON_LIKE", TRUE | 0x2 | GV_ADDMULTI);
   45986           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_COMPARISON_LIKE)));
   45987           1 :     SvREADONLY_on(sv);
   45988             :   } while(0) /*@SWIG@*/;
   45989             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45990           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_COMPARISON_INTERSECTS", TRUE | 0x2 | GV_ADDMULTI);
   45991           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_COMPARISON_INTERSECTS)));
   45992           1 :     SvREADONLY_on(sv);
   45993             :   } while(0) /*@SWIG@*/;
   45994             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   45995           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_COMPARISON_DISJOINT", TRUE | 0x2 | GV_ADDMULTI);
   45996           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_COMPARISON_DISJOINT)));
   45997           1 :     SvREADONLY_on(sv);
   45998             :   } while(0) /*@SWIG@*/;
   45999             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46000           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_COMPARISON_TOUCHES", TRUE | 0x2 | GV_ADDMULTI);
   46001           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_COMPARISON_TOUCHES)));
   46002           1 :     SvREADONLY_on(sv);
   46003             :   } while(0) /*@SWIG@*/;
   46004             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46005           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_COMPARISON_OVERLAPS", TRUE | 0x2 | GV_ADDMULTI);
   46006           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_COMPARISON_OVERLAPS)));
   46007           1 :     SvREADONLY_on(sv);
   46008             :   } while(0) /*@SWIG@*/;
   46009             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46010           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_COMPARISON_CROSSES", TRUE | 0x2 | GV_ADDMULTI);
   46011           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_COMPARISON_CROSSES)));
   46012           1 :     SvREADONLY_on(sv);
   46013             :   } while(0) /*@SWIG@*/;
   46014             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46015           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_COMPARISON_WITHIN", TRUE | 0x2 | GV_ADDMULTI);
   46016           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_COMPARISON_WITHIN)));
   46017           1 :     SvREADONLY_on(sv);
   46018             :   } while(0) /*@SWIG@*/;
   46019             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46020           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_COMPARISON_CONTAINS", TRUE | 0x2 | GV_ADDMULTI);
   46021           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_COMPARISON_CONTAINS)));
   46022           1 :     SvREADONLY_on(sv);
   46023             :   } while(0) /*@SWIG@*/;
   46024             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46025           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_COMPARISON_EQUALS", TRUE | 0x2 | GV_ADDMULTI);
   46026           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_COMPARISON_EQUALS)));
   46027           1 :     SvREADONLY_on(sv);
   46028             :   } while(0) /*@SWIG@*/;
   46029             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46030           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_COMPARISON_BEYOND", TRUE | 0x2 | GV_ADDMULTI);
   46031           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_COMPARISON_BEYOND)));
   46032           1 :     SvREADONLY_on(sv);
   46033             :   } while(0) /*@SWIG@*/;
   46034             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46035           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_COMPARISON_DWITHIN", TRUE | 0x2 | GV_ADDMULTI);
   46036           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_COMPARISON_DWITHIN)));
   46037           1 :     SvREADONLY_on(sv);
   46038             :   } while(0) /*@SWIG@*/;
   46039             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46040           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_FUNCTION_LENGTH", TRUE | 0x2 | GV_ADDMULTI);
   46041           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_FUNCTION_LENGTH)));
   46042           1 :     SvREADONLY_on(sv);
   46043             :   } while(0) /*@SWIG@*/;
   46044             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46045           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_FUNCTION_TOSTRING", TRUE | 0x2 | GV_ADDMULTI);
   46046           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_FUNCTION_TOSTRING)));
   46047           1 :     SvREADONLY_on(sv);
   46048             :   } while(0) /*@SWIG@*/;
   46049             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46050           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_FUNCTION_COMMIFY", TRUE | 0x2 | GV_ADDMULTI);
   46051           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_FUNCTION_COMMIFY)));
   46052           1 :     SvREADONLY_on(sv);
   46053             :   } while(0) /*@SWIG@*/;
   46054             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46055           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_FUNCTION_AREA", TRUE | 0x2 | GV_ADDMULTI);
   46056           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_FUNCTION_AREA)));
   46057           1 :     SvREADONLY_on(sv);
   46058             :   } while(0) /*@SWIG@*/;
   46059             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46060           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_FUNCTION_ROUND", TRUE | 0x2 | GV_ADDMULTI);
   46061           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_FUNCTION_ROUND)));
   46062           1 :     SvREADONLY_on(sv);
   46063             :   } while(0) /*@SWIG@*/;
   46064             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46065           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_FUNCTION_FROMTEXT", TRUE | 0x2 | GV_ADDMULTI);
   46066           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_FUNCTION_FROMTEXT)));
   46067           1 :     SvREADONLY_on(sv);
   46068             :   } while(0) /*@SWIG@*/;
   46069             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46070           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_FUNCTION_BUFFER", TRUE | 0x2 | GV_ADDMULTI);
   46071           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_FUNCTION_BUFFER)));
   46072           1 :     SvREADONLY_on(sv);
   46073             :   } while(0) /*@SWIG@*/;
   46074             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46075           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_FUNCTION_DIFFERENCE", TRUE | 0x2 | GV_ADDMULTI);
   46076           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_FUNCTION_DIFFERENCE)));
   46077           1 :     SvREADONLY_on(sv);
   46078             :   } while(0) /*@SWIG@*/;
   46079             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46080           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_FUNCTION_SIMPLIFY", TRUE | 0x2 | GV_ADDMULTI);
   46081           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_FUNCTION_SIMPLIFY)));
   46082           1 :     SvREADONLY_on(sv);
   46083             :   } while(0) /*@SWIG@*/;
   46084             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46085           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_FUNCTION_SIMPLIFYPT", TRUE | 0x2 | GV_ADDMULTI);
   46086           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_FUNCTION_SIMPLIFYPT)));
   46087           1 :     SvREADONLY_on(sv);
   46088             :   } while(0) /*@SWIG@*/;
   46089             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46090           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_FUNCTION_GENERALIZE", TRUE | 0x2 | GV_ADDMULTI);
   46091           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_FUNCTION_GENERALIZE)));
   46092           1 :     SvREADONLY_on(sv);
   46093             :   } while(0) /*@SWIG@*/;
   46094             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46095           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_FUNCTION_SMOOTHSIA", TRUE | 0x2 | GV_ADDMULTI);
   46096           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_FUNCTION_SMOOTHSIA)));
   46097           1 :     SvREADONLY_on(sv);
   46098             :   } while(0) /*@SWIG@*/;
   46099             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46100           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_FUNCTION_JAVASCRIPT", TRUE | 0x2 | GV_ADDMULTI);
   46101           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_FUNCTION_JAVASCRIPT)));
   46102           1 :     SvREADONLY_on(sv);
   46103             :   } while(0) /*@SWIG@*/;
   46104             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46105           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_FUNCTION_UPPER", TRUE | 0x2 | GV_ADDMULTI);
   46106           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_FUNCTION_UPPER)));
   46107           1 :     SvREADONLY_on(sv);
   46108             :   } while(0) /*@SWIG@*/;
   46109             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46110           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_FUNCTION_LOWER", TRUE | 0x2 | GV_ADDMULTI);
   46111           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_FUNCTION_LOWER)));
   46112           1 :     SvREADONLY_on(sv);
   46113             :   } while(0) /*@SWIG@*/;
   46114             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46115           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_FUNCTION_INITCAP", TRUE | 0x2 | GV_ADDMULTI);
   46116           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_FUNCTION_INITCAP)));
   46117           1 :     SvREADONLY_on(sv);
   46118             :   } while(0) /*@SWIG@*/;
   46119             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46120           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_FUNCTION_FIRSTCAP", TRUE | 0x2 | GV_ADDMULTI);
   46121           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_FUNCTION_FIRSTCAP)));
   46122           1 :     SvREADONLY_on(sv);
   46123             :   } while(0) /*@SWIG@*/;
   46124             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46125           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_BINDING_DOUBLE", TRUE | 0x2 | GV_ADDMULTI);
   46126           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_BINDING_DOUBLE)));
   46127           1 :     SvREADONLY_on(sv);
   46128             :   } while(0) /*@SWIG@*/;
   46129             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46130           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_BINDING_INTEGER", TRUE | 0x2 | GV_ADDMULTI);
   46131           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_BINDING_INTEGER)));
   46132           1 :     SvREADONLY_on(sv);
   46133             :   } while(0) /*@SWIG@*/;
   46134             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46135           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_BINDING_STRING", TRUE | 0x2 | GV_ADDMULTI);
   46136           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_BINDING_STRING)));
   46137           1 :     SvREADONLY_on(sv);
   46138             :   } while(0) /*@SWIG@*/;
   46139             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46140           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_BINDING_TIME", TRUE | 0x2 | GV_ADDMULTI);
   46141           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_BINDING_TIME)));
   46142           1 :     SvREADONLY_on(sv);
   46143             :   } while(0) /*@SWIG@*/;
   46144             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46145           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_BINDING_SHAPE", TRUE | 0x2 | GV_ADDMULTI);
   46146           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_BINDING_SHAPE)));
   46147           1 :     SvREADONLY_on(sv);
   46148             :   } while(0) /*@SWIG@*/;
   46149             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46150           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_BINDING_MAP_CELLSIZE", TRUE | 0x2 | GV_ADDMULTI);
   46151           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_BINDING_MAP_CELLSIZE)));
   46152           1 :     SvREADONLY_on(sv);
   46153             :   } while(0) /*@SWIG@*/;
   46154             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46155           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TOKEN_BINDING_DATA_CELLSIZE", TRUE | 0x2 | GV_ADDMULTI);
   46156           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_TOKEN_BINDING_DATA_CELLSIZE)));
   46157           1 :     SvREADONLY_on(sv);
   46158             :   } while(0) /*@SWIG@*/;
   46159             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46160           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_PARSE_TYPE_BOOLEAN", TRUE | 0x2 | GV_ADDMULTI);
   46161           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_PARSE_TYPE_BOOLEAN)));
   46162           1 :     SvREADONLY_on(sv);
   46163             :   } while(0) /*@SWIG@*/;
   46164             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46165           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_PARSE_TYPE_STRING", TRUE | 0x2 | GV_ADDMULTI);
   46166           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_PARSE_TYPE_STRING)));
   46167           1 :     SvREADONLY_on(sv);
   46168             :   } while(0) /*@SWIG@*/;
   46169             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46170           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_PARSE_TYPE_SHAPE", TRUE | 0x2 | GV_ADDMULTI);
   46171           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_PARSE_TYPE_SHAPE)));
   46172           1 :     SvREADONLY_on(sv);
   46173             :   } while(0) /*@SWIG@*/;
   46174             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46175           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_PARSE_TYPE_SLD", TRUE | 0x2 | GV_ADDMULTI);
   46176           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_PARSE_TYPE_SLD)));
   46177           1 :     SvREADONLY_on(sv);
   46178             :   } while(0) /*@SWIG@*/;
   46179           1 :   SWIG_TypeClientData(SWIGTYPE_p_clusterObj, (void*) "mapscript::clusterObj");
   46180           1 :   SWIG_TypeClientData(SWIGTYPE_p_outputFormatObj, (void*) "mapscript::outputFormatObj");
   46181             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46182           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_NOOVERRIDE", TRUE | 0x2 | GV_ADDMULTI);
   46183           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(-1111)));
   46184           1 :     SvREADONLY_on(sv);
   46185             :   } while(0) /*@SWIG@*/;
   46186           1 :   SWIG_TypeClientData(SWIGTYPE_p_queryMapObj, (void*) "mapscript::queryMapObj");
   46187           1 :   SWIG_TypeClientData(SWIGTYPE_p_webObj, (void*) "mapscript::webObj");
   46188           1 :   SWIG_TypeClientData(SWIGTYPE_p_styleObj, (void*) "mapscript::styleObj");
   46189             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46190           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_STYLE_SINGLE_SIDED_OFFSET", TRUE | 0x2 | GV_ADDMULTI);
   46191           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(-99)));
   46192           1 :     SvREADONLY_on(sv);
   46193             :   } while(0) /*@SWIG@*/;
   46194             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46195           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_STYLE_DOUBLE_SIDED_OFFSET", TRUE | 0x2 | GV_ADDMULTI);
   46196           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(-999)));
   46197           1 :     SvREADONLY_on(sv);
   46198             :   } while(0) /*@SWIG@*/;
   46199           1 :   SWIG_TypeClientData(SWIGTYPE_p_labelLeaderObj, (void*) "mapscript::labelLeaderObj");
   46200           1 :   SWIG_TypeClientData(SWIGTYPE_p_labelObj, (void*) "mapscript::labelObj");
   46201             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46202           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_LABEL_PERPENDICULAR_OFFSET", TRUE | 0x2 | GV_ADDMULTI);
   46203           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(-99)));
   46204           1 :     SvREADONLY_on(sv);
   46205             :   } while(0) /*@SWIG@*/;
   46206             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46207           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_LABEL_PERPENDICULAR_TOP_OFFSET", TRUE | 0x2 | GV_ADDMULTI);
   46208           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(99)));
   46209           1 :     SvREADONLY_on(sv);
   46210             :   } while(0) /*@SWIG@*/;
   46211           1 :   SWIG_TypeClientData(SWIGTYPE_p_classObj, (void*) "mapscript::classObj");
   46212           1 :   SWIG_TypeClientData(SWIGTYPE_p_labelCacheMemberObj, (void*) "mapscript::labelCacheMemberObj");
   46213           1 :   SWIG_TypeClientData(SWIGTYPE_p_markerCacheMemberObj, (void*) "mapscript::markerCacheMemberObj");
   46214           1 :   SWIG_TypeClientData(SWIGTYPE_p_labelCacheSlotObj, (void*) "mapscript::labelCacheSlotObj");
   46215           1 :   SWIG_TypeClientData(SWIGTYPE_p_labelCacheObj, (void*) "mapscript::labelCacheObj");
   46216           1 :   SWIG_TypeClientData(SWIGTYPE_p_resultObj, (void*) "mapscript::resultObj");
   46217           1 :   SWIG_TypeClientData(SWIGTYPE_p_resultCacheObj, (void*) "mapscript::resultCacheObj");
   46218           1 :   SWIG_TypeClientData(SWIGTYPE_p_symbolSetObj, (void*) "mapscript::symbolSetObj");
   46219           1 :   SWIG_TypeClientData(SWIGTYPE_p_referenceMapObj, (void*) "mapscript::referenceMapObj");
   46220           1 :   SWIG_TypeClientData(SWIGTYPE_p_scalebarObj, (void*) "mapscript::scalebarObj");
   46221           1 :   SWIG_TypeClientData(SWIGTYPE_p_legendObj, (void*) "mapscript::legendObj");
   46222           1 :   SWIG_TypeClientData(SWIGTYPE_p_imageObj, (void*) "mapscript::imageObj");
   46223           1 :   SWIG_TypeClientData(SWIGTYPE_p_scaleTokenEntryObj, (void*) "mapscript::scaleTokenEntryObj");
   46224           1 :   SWIG_TypeClientData(SWIGTYPE_p_scaleTokenObj, (void*) "mapscript::scaleTokenObj");
   46225           1 :   SWIG_TypeClientData(SWIGTYPE_p_layerObj, (void*) "mapscript::layerObj");
   46226           1 :   SWIG_TypeClientData(SWIGTYPE_p_mapObj, (void*) "mapscript::mapObj");
   46227             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46228           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_VERSION_MAJOR", TRUE | 0x2 | GV_ADDMULTI);
   46229           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(7)));
   46230           1 :     SvREADONLY_on(sv);
   46231             :   } while(0) /*@SWIG@*/;
   46232             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46233           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_VERSION_MINOR", TRUE | 0x2 | GV_ADDMULTI);
   46234           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(7)));
   46235           1 :     SvREADONLY_on(sv);
   46236             :   } while(0) /*@SWIG@*/;
   46237             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46238           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_VERSION_REV", TRUE | 0x2 | GV_ADDMULTI);
   46239           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(0)));
   46240           1 :     SvREADONLY_on(sv);
   46241             :   } while(0) /*@SWIG@*/;
   46242             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46243           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_VERSION", TRUE | 0x2 | GV_ADDMULTI);
   46244           1 :     sv_setsv(sv, SWIG_FromCharPtr("7.7-dev"));
   46245           1 :     SvREADONLY_on(sv);
   46246             :   } while(0) /*@SWIG@*/;
   46247             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46248           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_VERSION_NUM", TRUE | 0x2 | GV_ADDMULTI);
   46249           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(70700)));
   46250           1 :     SvREADONLY_on(sv);
   46251             :   } while(0) /*@SWIG@*/;
   46252           1 :   SWIG_TypeClientData(SWIGTYPE_p_rectObj, (void*) "mapscript::rectObj");
   46253           1 :   SWIG_TypeClientData(SWIGTYPE_p_pointObj, (void*) "mapscript::pointObj");
   46254           1 :   SWIG_TypeClientData(SWIGTYPE_p_lineObj, (void*) "mapscript::lineObj");
   46255           1 :   SWIG_TypeClientData(SWIGTYPE_p_shapeObj, (void*) "mapscript::shapeObj");
   46256             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46257           1 :     SV *sv = get_sv((char*) SWIG_prefix "SHX_BUFFER_PAGE", TRUE | 0x2 | GV_ADDMULTI);
   46258           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(1024)));
   46259           1 :     SvREADONLY_on(sv);
   46260             :   } while(0) /*@SWIG@*/;
   46261             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46262           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_SHAPEFILE_POINT", TRUE | 0x2 | GV_ADDMULTI);
   46263           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(1)));
   46264           1 :     SvREADONLY_on(sv);
   46265             :   } while(0) /*@SWIG@*/;
   46266             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46267           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_SHAPEFILE_ARC", TRUE | 0x2 | GV_ADDMULTI);
   46268           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(3)));
   46269           1 :     SvREADONLY_on(sv);
   46270             :   } while(0) /*@SWIG@*/;
   46271             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46272           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_SHAPEFILE_POLYGON", TRUE | 0x2 | GV_ADDMULTI);
   46273           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(5)));
   46274           1 :     SvREADONLY_on(sv);
   46275             :   } while(0) /*@SWIG@*/;
   46276             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46277           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_SHAPEFILE_MULTIPOINT", TRUE | 0x2 | GV_ADDMULTI);
   46278           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(8)));
   46279           1 :     SvREADONLY_on(sv);
   46280             :   } while(0) /*@SWIG@*/;
   46281             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46282           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_SHP_POINTZ", TRUE | 0x2 | GV_ADDMULTI);
   46283           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(11)));
   46284           1 :     SvREADONLY_on(sv);
   46285             :   } while(0) /*@SWIG@*/;
   46286             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46287           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_SHP_ARCZ", TRUE | 0x2 | GV_ADDMULTI);
   46288           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(13)));
   46289           1 :     SvREADONLY_on(sv);
   46290             :   } while(0) /*@SWIG@*/;
   46291             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46292           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_SHP_POLYGONZ", TRUE | 0x2 | GV_ADDMULTI);
   46293           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(15)));
   46294           1 :     SvREADONLY_on(sv);
   46295             :   } while(0) /*@SWIG@*/;
   46296             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46297           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_SHP_MULTIPOINTZ", TRUE | 0x2 | GV_ADDMULTI);
   46298           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(18)));
   46299           1 :     SvREADONLY_on(sv);
   46300             :   } while(0) /*@SWIG@*/;
   46301             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46302           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_SHP_POINTM", TRUE | 0x2 | GV_ADDMULTI);
   46303           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(21)));
   46304           1 :     SvREADONLY_on(sv);
   46305             :   } while(0) /*@SWIG@*/;
   46306             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46307           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_SHP_ARCM", TRUE | 0x2 | GV_ADDMULTI);
   46308           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(23)));
   46309           1 :     SvREADONLY_on(sv);
   46310             :   } while(0) /*@SWIG@*/;
   46311             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46312           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_SHP_POLYGONM", TRUE | 0x2 | GV_ADDMULTI);
   46313           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(25)));
   46314           1 :     SvREADONLY_on(sv);
   46315             :   } while(0) /*@SWIG@*/;
   46316             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46317           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_SHP_MULTIPOINTM", TRUE | 0x2 | GV_ADDMULTI);
   46318           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(28)));
   46319           1 :     SvREADONLY_on(sv);
   46320             :   } while(0) /*@SWIG@*/;
   46321           1 :   SWIG_TypeClientData(SWIGTYPE_p_DBFInfo, (void*) "mapscript::DBFInfo");
   46322             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46323           1 :     SV *sv = get_sv((char*) SWIG_prefix "FTString", TRUE | 0x2 | GV_ADDMULTI);
   46324           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(FTString)));
   46325           1 :     SvREADONLY_on(sv);
   46326             :   } while(0) /*@SWIG@*/;
   46327             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46328           1 :     SV *sv = get_sv((char*) SWIG_prefix "FTInteger", TRUE | 0x2 | GV_ADDMULTI);
   46329           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(FTInteger)));
   46330           1 :     SvREADONLY_on(sv);
   46331             :   } while(0) /*@SWIG@*/;
   46332             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46333           1 :     SV *sv = get_sv((char*) SWIG_prefix "FTDouble", TRUE | 0x2 | GV_ADDMULTI);
   46334           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(FTDouble)));
   46335           1 :     SvREADONLY_on(sv);
   46336             :   } while(0) /*@SWIG@*/;
   46337             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46338           1 :     SV *sv = get_sv((char*) SWIG_prefix "FTInvalid", TRUE | 0x2 | GV_ADDMULTI);
   46339           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(FTInvalid)));
   46340           1 :     SvREADONLY_on(sv);
   46341             :   } while(0) /*@SWIG@*/;
   46342           1 :   SWIG_TypeClientData(SWIGTYPE_p_shapefileObj, (void*) "mapscript::shapefileObj");
   46343             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46344           1 :     SV *sv = get_sv((char*) SWIG_prefix "wkp_none", TRUE | 0x2 | GV_ADDMULTI);
   46345           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(0)));
   46346           1 :     SvREADONLY_on(sv);
   46347             :   } while(0) /*@SWIG@*/;
   46348             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46349           1 :     SV *sv = get_sv((char*) SWIG_prefix "wkp_lonlat", TRUE | 0x2 | GV_ADDMULTI);
   46350           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(1)));
   46351           1 :     SvREADONLY_on(sv);
   46352             :   } while(0) /*@SWIG@*/;
   46353             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46354           1 :     SV *sv = get_sv((char*) SWIG_prefix "wkp_gmerc", TRUE | 0x2 | GV_ADDMULTI);
   46355           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(2)));
   46356           1 :     SvREADONLY_on(sv);
   46357             :   } while(0) /*@SWIG@*/;
   46358           1 :   SWIG_TypeClientData(SWIGTYPE_p_projectionObj, (void*) "mapscript::projectionObj");
   46359             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46360           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_SYMBOL_SIMPLE", TRUE | 0x2 | GV_ADDMULTI);
   46361           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_SYMBOL_SIMPLE)));
   46362           1 :     SvREADONLY_on(sv);
   46363             :   } while(0) /*@SWIG@*/;
   46364             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46365           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_SYMBOL_VECTOR", TRUE | 0x2 | GV_ADDMULTI);
   46366           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_SYMBOL_VECTOR)));
   46367           1 :     SvREADONLY_on(sv);
   46368             :   } while(0) /*@SWIG@*/;
   46369             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46370           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_SYMBOL_ELLIPSE", TRUE | 0x2 | GV_ADDMULTI);
   46371           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_SYMBOL_ELLIPSE)));
   46372           1 :     SvREADONLY_on(sv);
   46373             :   } while(0) /*@SWIG@*/;
   46374             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46375           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_SYMBOL_PIXMAP", TRUE | 0x2 | GV_ADDMULTI);
   46376           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_SYMBOL_PIXMAP)));
   46377           1 :     SvREADONLY_on(sv);
   46378             :   } while(0) /*@SWIG@*/;
   46379             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46380           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_SYMBOL_TRUETYPE", TRUE | 0x2 | GV_ADDMULTI);
   46381           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_SYMBOL_TRUETYPE)));
   46382           1 :     SvREADONLY_on(sv);
   46383             :   } while(0) /*@SWIG@*/;
   46384             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46385           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_SYMBOL_HATCH", TRUE | 0x2 | GV_ADDMULTI);
   46386           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_SYMBOL_HATCH)));
   46387           1 :     SvREADONLY_on(sv);
   46388             :   } while(0) /*@SWIG@*/;
   46389             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46390           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_SYMBOL_SVG", TRUE | 0x2 | GV_ADDMULTI);
   46391           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_SYMBOL_SVG)));
   46392           1 :     SvREADONLY_on(sv);
   46393             :   } while(0) /*@SWIG@*/;
   46394             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46395           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_SYMBOL_ALLOCSIZE", TRUE | 0x2 | GV_ADDMULTI);
   46396           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(64)));
   46397           1 :     SvREADONLY_on(sv);
   46398             :   } while(0) /*@SWIG@*/;
   46399             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46400           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_MAXVECTORPOINTS", TRUE | 0x2 | GV_ADDMULTI);
   46401           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(100)));
   46402           1 :     SvREADONLY_on(sv);
   46403             :   } while(0) /*@SWIG@*/;
   46404             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46405           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_MAXPATTERNLENGTH", TRUE | 0x2 | GV_ADDMULTI);
   46406           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(10)));
   46407           1 :     SvREADONLY_on(sv);
   46408             :   } while(0) /*@SWIG@*/;
   46409             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46410           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_IMAGECACHESIZE", TRUE | 0x2 | GV_ADDMULTI);
   46411           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(6)));
   46412           1 :     SvREADONLY_on(sv);
   46413             :   } while(0) /*@SWIG@*/;
   46414           1 :   SWIG_TypeClientData(SWIGTYPE_p_colorObj, (void*) "mapscript::colorObj");
   46415           1 :   SWIG_TypeClientData(SWIGTYPE_p_symbolObj, (void*) "mapscript::symbolObj");
   46416             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46417           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_HASHSIZE", TRUE | 0x2 | GV_ADDMULTI);
   46418           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(41)));
   46419           1 :     SvREADONLY_on(sv);
   46420             :   } while(0) /*@SWIG@*/;
   46421           1 :   SWIG_TypeClientData(SWIGTYPE_p_hashTableObj, (void*) "mapscript::hashTableObj");
   46422             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46423           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_NOERR", TRUE | 0x2 | GV_ADDMULTI);
   46424           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(0)));
   46425           1 :     SvREADONLY_on(sv);
   46426             :   } while(0) /*@SWIG@*/;
   46427             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46428           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_IOERR", TRUE | 0x2 | GV_ADDMULTI);
   46429           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(1)));
   46430           1 :     SvREADONLY_on(sv);
   46431             :   } while(0) /*@SWIG@*/;
   46432             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46433           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_MEMERR", TRUE | 0x2 | GV_ADDMULTI);
   46434           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(2)));
   46435           1 :     SvREADONLY_on(sv);
   46436             :   } while(0) /*@SWIG@*/;
   46437             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46438           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TYPEERR", TRUE | 0x2 | GV_ADDMULTI);
   46439           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(3)));
   46440           1 :     SvREADONLY_on(sv);
   46441             :   } while(0) /*@SWIG@*/;
   46442             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46443           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_SYMERR", TRUE | 0x2 | GV_ADDMULTI);
   46444           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(4)));
   46445           1 :     SvREADONLY_on(sv);
   46446             :   } while(0) /*@SWIG@*/;
   46447             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46448           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_REGEXERR", TRUE | 0x2 | GV_ADDMULTI);
   46449           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(5)));
   46450           1 :     SvREADONLY_on(sv);
   46451             :   } while(0) /*@SWIG@*/;
   46452             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46453           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TTFERR", TRUE | 0x2 | GV_ADDMULTI);
   46454           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(6)));
   46455           1 :     SvREADONLY_on(sv);
   46456             :   } while(0) /*@SWIG@*/;
   46457             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46458           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_DBFERR", TRUE | 0x2 | GV_ADDMULTI);
   46459           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(7)));
   46460           1 :     SvREADONLY_on(sv);
   46461             :   } while(0) /*@SWIG@*/;
   46462             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46463           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_IDENTERR", TRUE | 0x2 | GV_ADDMULTI);
   46464           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(9)));
   46465           1 :     SvREADONLY_on(sv);
   46466             :   } while(0) /*@SWIG@*/;
   46467             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46468           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_EOFERR", TRUE | 0x2 | GV_ADDMULTI);
   46469           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(10)));
   46470           1 :     SvREADONLY_on(sv);
   46471             :   } while(0) /*@SWIG@*/;
   46472             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46473           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_PROJERR", TRUE | 0x2 | GV_ADDMULTI);
   46474           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(11)));
   46475           1 :     SvREADONLY_on(sv);
   46476             :   } while(0) /*@SWIG@*/;
   46477             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46478           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_MISCERR", TRUE | 0x2 | GV_ADDMULTI);
   46479           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(12)));
   46480           1 :     SvREADONLY_on(sv);
   46481             :   } while(0) /*@SWIG@*/;
   46482             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46483           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_CGIERR", TRUE | 0x2 | GV_ADDMULTI);
   46484           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(13)));
   46485           1 :     SvREADONLY_on(sv);
   46486             :   } while(0) /*@SWIG@*/;
   46487             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46488           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_WEBERR", TRUE | 0x2 | GV_ADDMULTI);
   46489           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(14)));
   46490           1 :     SvREADONLY_on(sv);
   46491             :   } while(0) /*@SWIG@*/;
   46492             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46493           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_IMGERR", TRUE | 0x2 | GV_ADDMULTI);
   46494           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(15)));
   46495           1 :     SvREADONLY_on(sv);
   46496             :   } while(0) /*@SWIG@*/;
   46497             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46498           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_HASHERR", TRUE | 0x2 | GV_ADDMULTI);
   46499           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(16)));
   46500           1 :     SvREADONLY_on(sv);
   46501             :   } while(0) /*@SWIG@*/;
   46502             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46503           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_JOINERR", TRUE | 0x2 | GV_ADDMULTI);
   46504           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(17)));
   46505           1 :     SvREADONLY_on(sv);
   46506             :   } while(0) /*@SWIG@*/;
   46507             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46508           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_NOTFOUND", TRUE | 0x2 | GV_ADDMULTI);
   46509           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(18)));
   46510           1 :     SvREADONLY_on(sv);
   46511             :   } while(0) /*@SWIG@*/;
   46512             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46513           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_SHPERR", TRUE | 0x2 | GV_ADDMULTI);
   46514           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(19)));
   46515           1 :     SvREADONLY_on(sv);
   46516             :   } while(0) /*@SWIG@*/;
   46517             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46518           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_PARSEERR", TRUE | 0x2 | GV_ADDMULTI);
   46519           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(20)));
   46520           1 :     SvREADONLY_on(sv);
   46521             :   } while(0) /*@SWIG@*/;
   46522             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46523           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_UNUSEDERR", TRUE | 0x2 | GV_ADDMULTI);
   46524           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(21)));
   46525           1 :     SvREADONLY_on(sv);
   46526             :   } while(0) /*@SWIG@*/;
   46527             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46528           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_OGRERR", TRUE | 0x2 | GV_ADDMULTI);
   46529           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(22)));
   46530           1 :     SvREADONLY_on(sv);
   46531             :   } while(0) /*@SWIG@*/;
   46532             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46533           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_QUERYERR", TRUE | 0x2 | GV_ADDMULTI);
   46534           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(23)));
   46535           1 :     SvREADONLY_on(sv);
   46536             :   } while(0) /*@SWIG@*/;
   46537             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46538           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_WMSERR", TRUE | 0x2 | GV_ADDMULTI);
   46539           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(24)));
   46540           1 :     SvREADONLY_on(sv);
   46541             :   } while(0) /*@SWIG@*/;
   46542             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46543           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_WMSCONNERR", TRUE | 0x2 | GV_ADDMULTI);
   46544           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(25)));
   46545           1 :     SvREADONLY_on(sv);
   46546             :   } while(0) /*@SWIG@*/;
   46547             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46548           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_ORACLESPATIALERR", TRUE | 0x2 | GV_ADDMULTI);
   46549           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(26)));
   46550           1 :     SvREADONLY_on(sv);
   46551             :   } while(0) /*@SWIG@*/;
   46552             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46553           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_WFSERR", TRUE | 0x2 | GV_ADDMULTI);
   46554           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(27)));
   46555           1 :     SvREADONLY_on(sv);
   46556             :   } while(0) /*@SWIG@*/;
   46557             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46558           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_WFSCONNERR", TRUE | 0x2 | GV_ADDMULTI);
   46559           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(28)));
   46560           1 :     SvREADONLY_on(sv);
   46561             :   } while(0) /*@SWIG@*/;
   46562             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46563           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_MAPCONTEXTERR", TRUE | 0x2 | GV_ADDMULTI);
   46564           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(29)));
   46565           1 :     SvREADONLY_on(sv);
   46566             :   } while(0) /*@SWIG@*/;
   46567             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46568           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_HTTPERR", TRUE | 0x2 | GV_ADDMULTI);
   46569           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(30)));
   46570           1 :     SvREADONLY_on(sv);
   46571             :   } while(0) /*@SWIG@*/;
   46572             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46573           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_CHILDERR", TRUE | 0x2 | GV_ADDMULTI);
   46574           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(31)));
   46575           1 :     SvREADONLY_on(sv);
   46576             :   } while(0) /*@SWIG@*/;
   46577             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46578           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_WCSERR", TRUE | 0x2 | GV_ADDMULTI);
   46579           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(32)));
   46580           1 :     SvREADONLY_on(sv);
   46581             :   } while(0) /*@SWIG@*/;
   46582             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46583           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_GEOSERR", TRUE | 0x2 | GV_ADDMULTI);
   46584           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(33)));
   46585           1 :     SvREADONLY_on(sv);
   46586             :   } while(0) /*@SWIG@*/;
   46587             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46588           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_RECTERR", TRUE | 0x2 | GV_ADDMULTI);
   46589           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(34)));
   46590           1 :     SvREADONLY_on(sv);
   46591             :   } while(0) /*@SWIG@*/;
   46592             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46593           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_TIMEERR", TRUE | 0x2 | GV_ADDMULTI);
   46594           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(35)));
   46595           1 :     SvREADONLY_on(sv);
   46596             :   } while(0) /*@SWIG@*/;
   46597             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46598           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_GMLERR", TRUE | 0x2 | GV_ADDMULTI);
   46599           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(36)));
   46600           1 :     SvREADONLY_on(sv);
   46601             :   } while(0) /*@SWIG@*/;
   46602             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46603           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_SOSERR", TRUE | 0x2 | GV_ADDMULTI);
   46604           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(37)));
   46605           1 :     SvREADONLY_on(sv);
   46606             :   } while(0) /*@SWIG@*/;
   46607             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46608           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_NULLPARENTERR", TRUE | 0x2 | GV_ADDMULTI);
   46609           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(38)));
   46610           1 :     SvREADONLY_on(sv);
   46611             :   } while(0) /*@SWIG@*/;
   46612             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46613           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_AGGERR", TRUE | 0x2 | GV_ADDMULTI);
   46614           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(39)));
   46615           1 :     SvREADONLY_on(sv);
   46616             :   } while(0) /*@SWIG@*/;
   46617             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46618           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_OWSERR", TRUE | 0x2 | GV_ADDMULTI);
   46619           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(40)));
   46620           1 :     SvREADONLY_on(sv);
   46621             :   } while(0) /*@SWIG@*/;
   46622             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46623           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_OGLERR", TRUE | 0x2 | GV_ADDMULTI);
   46624           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(41)));
   46625           1 :     SvREADONLY_on(sv);
   46626             :   } while(0) /*@SWIG@*/;
   46627             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46628           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_RENDERERERR", TRUE | 0x2 | GV_ADDMULTI);
   46629           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(42)));
   46630           1 :     SvREADONLY_on(sv);
   46631             :   } while(0) /*@SWIG@*/;
   46632             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46633           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_V8ERR", TRUE | 0x2 | GV_ADDMULTI);
   46634           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(43)));
   46635           1 :     SvREADONLY_on(sv);
   46636             :   } while(0) /*@SWIG@*/;
   46637             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46638           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_NUMERRORCODES", TRUE | 0x2 | GV_ADDMULTI);
   46639           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(44)));
   46640           1 :     SvREADONLY_on(sv);
   46641             :   } while(0) /*@SWIG@*/;
   46642             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46643           1 :     SV *sv = get_sv((char*) SWIG_prefix "MESSAGELENGTH", TRUE | 0x2 | GV_ADDMULTI);
   46644           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(2048)));
   46645           1 :     SvREADONLY_on(sv);
   46646             :   } while(0) /*@SWIG@*/;
   46647             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46648           1 :     SV *sv = get_sv((char*) SWIG_prefix "ROUTINELENGTH", TRUE | 0x2 | GV_ADDMULTI);
   46649           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(64)));
   46650           1 :     SvREADONLY_on(sv);
   46651             :   } while(0) /*@SWIG@*/;
   46652             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46653           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_ERROR_LANGUAGE", TRUE | 0x2 | GV_ADDMULTI);
   46654           1 :     sv_setsv(sv, SWIG_FromCharPtr("en-US"));
   46655           1 :     SvREADONLY_on(sv);
   46656             :   } while(0) /*@SWIG@*/;
   46657           1 :   SWIG_TypeClientData(SWIGTYPE_p_errorObj, (void*) "mapscript::errorObj");
   46658             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46659           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_DEBUGLEVEL_ERRORSONLY", TRUE | 0x2 | GV_ADDMULTI);
   46660           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_DEBUGLEVEL_ERRORSONLY)));
   46661           1 :     SvREADONLY_on(sv);
   46662             :   } while(0) /*@SWIG@*/;
   46663             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46664           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_DEBUGLEVEL_DEBUG", TRUE | 0x2 | GV_ADDMULTI);
   46665           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_DEBUGLEVEL_DEBUG)));
   46666           1 :     SvREADONLY_on(sv);
   46667             :   } while(0) /*@SWIG@*/;
   46668             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46669           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_DEBUGLEVEL_TUNING", TRUE | 0x2 | GV_ADDMULTI);
   46670           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_DEBUGLEVEL_TUNING)));
   46671           1 :     SvREADONLY_on(sv);
   46672             :   } while(0) /*@SWIG@*/;
   46673             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46674           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_DEBUGLEVEL_V", TRUE | 0x2 | GV_ADDMULTI);
   46675           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_DEBUGLEVEL_V)));
   46676           1 :     SvREADONLY_on(sv);
   46677             :   } while(0) /*@SWIG@*/;
   46678             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46679           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_DEBUGLEVEL_VV", TRUE | 0x2 | GV_ADDMULTI);
   46680           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_DEBUGLEVEL_VV)));
   46681           1 :     SvREADONLY_on(sv);
   46682             :   } while(0) /*@SWIG@*/;
   46683             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46684           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_DEBUGLEVEL_VVV", TRUE | 0x2 | GV_ADDMULTI);
   46685           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_DEBUGLEVEL_VVV)));
   46686           1 :     SvREADONLY_on(sv);
   46687             :   } while(0) /*@SWIG@*/;
   46688             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46689           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_DEBUGLEVEL_DEVDEBUG", TRUE | 0x2 | GV_ADDMULTI);
   46690           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_DEBUGLEVEL_DEVDEBUG)));
   46691           1 :     SvREADONLY_on(sv);
   46692             :   } while(0) /*@SWIG@*/;
   46693             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46694           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_DEFAULT_CGI_PARAMS", TRUE | 0x2 | GV_ADDMULTI);
   46695           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(100)));
   46696           1 :     SvREADONLY_on(sv);
   46697             :   } while(0) /*@SWIG@*/;
   46698             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46699           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_GET_REQUEST", TRUE | 0x2 | GV_ADDMULTI);
   46700           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_GET_REQUEST)));
   46701           1 :     SvREADONLY_on(sv);
   46702             :   } while(0) /*@SWIG@*/;
   46703             :   /*@SWIG:/usr/share/swig3.0/perl5/perltypemaps.swg,65,%set_constant@*/ do {
   46704           1 :     SV *sv = get_sv((char*) SWIG_prefix "MS_POST_REQUEST", TRUE | 0x2 | GV_ADDMULTI);
   46705           1 :     sv_setsv(sv, SWIG_From_int  SWIG_PERL_CALL_ARGS_1((int)(MS_POST_REQUEST)));
   46706           1 :     SvREADONLY_on(sv);
   46707             :   } while(0) /*@SWIG@*/;
   46708           1 :   SWIG_TypeClientData(SWIGTYPE_p_cgiRequestObj, (void*) "mapscript::OWSRequest");
   46709           1 :   ST(0) = &PL_sv_yes;
   46710           1 :   XSRETURN(1);
   46711             : }
   46712             : 

Generated by: LCOV version 1.13